Commit Graph

26 Commits

Author SHA1 Message Date
Friedemann Kleint
f66df7b9a6 Header cleanup in ProjectExplorer and Qt4ProjectManager 2010-03-17 17:45:33 +01:00
dt
ab8fc52d0b Use exact and aysnc .pro file evaluate
This is a big change touching almost all of our .pro file parsing.
With this patch we only evaluate once exact for all needs and once
greedy for the filelist. That is the qt runconfigurations don't have own
evaluaters but reuse the project wide exact evaluation.

We reevaluate if the user changes the build directory, the qmake
buildconfiguration or the qmake arguments. That is if you open src.pro
(or projects.pro) of qt with a shadow build you still don't get all the
files, but after correcting the build directory, we reevaluate the .pro
files and find all files. So for a suitable definition of fixed, that
bug is now fixed.

We now get the exact defines of all .pro files instead of all defines for all
buildconfigurations. We still don't distinguish in which
.pro file a DEFINE is set. So the code model now knows about all the
defines set for the given configuration but not for which files it is
actually set. Also that includes all DEFINES set in .qmake.cache or the
mkspecs. This means all defines from .pro files should now work.

The intial loading is still synchronous. I haven't looked into it to
deeply, but it seems possible to make it also async.There are probably a
few issues which need to be solved fist.

Also due to the asynchronous nature of the code, the executable is
updated a few seconds after actually changing the build configuration
2010-03-10 17:02:24 +01:00
ck
22b5c74709 Maemo: First attempt at packaging. Disabled for now. 2010-03-09 14:01:59 +01:00
ck
2e25571edb Maemo: Make deployment timestamps per host.
Reviewed-by: kh1
2010-03-05 16:07:14 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
kh1
adefff60ad Fix broken enabled/ disabled emulator startbutton state.
Functionality depends entirely on the active start-up project, all other
projects should have the the button disabled if they have no Maemo run
config or the the run config is not the active on.

Reviewed-by: ck
2010-03-01 17:07:48 +01:00
kh1
399ad59faa Move the factories inside there own source files. 2010-02-23 18:16:12 +01:00
kh1
55dc4a9a92 Remove dumper class, wasn't heavily used anyways. 2010-02-23 18:16:11 +01:00
Tobias Hunger
d1bdfcc363 Integrate target support
* Ease cross device development by introducing 'targets' which
   group build- and runsettings that are valid for this one target

 Most of the kudos for the code review go to dt. Con, thorbjorn,
 ckandler and others did also review parts of this patch.

Reviewed-by: dt
2010-02-09 16:57:37 +01:00
ck
1f5bc3c0bd Maemo: Get rid of const_casts.
Reviewed-by: kh1
2010-02-08 11:04:22 +01:00
kh1
2cad027d91 Remove superfluous code to handle user settable simulator path.
Reviewed-by: ck
2010-02-04 12:49:29 +01:00
ck
a4f8d388bc Maemo: Remove dead code. 2010-02-03 15:27:35 +01:00
ck
8a4f1ab555 Maemo: Fix Qemu for recent MADDE.
Reviewed-by: kh1
2010-02-03 15:24:19 +01:00
Tobias Hunger
f923a561c3 Make use of ProjectConfiguration in RunConfigurations
Reviewed-by: dt
2010-02-01 12:23:13 +01:00
dt
28aa2d54f5 change RunConfiguration::addedRunConfiguration() removedRunConfiguration()
To simply transmit the RunConfiguration

Reviewed-By: Tobias Hunger
2010-01-20 18:21:10 +01:00
Tobias Hunger
a6ad773722 Make method naming more consistent.
* Use id() for methods returning a string used to represent
    some type of object.
  * Use displayName() for strings that are meant to be user
    visible.
  * Quieten some warnings while touching the files anyway.
  * Move Factories to their products in the plugins where that
    was not done before.

Reviewed-by: dt
2010-01-07 18:17:24 +01:00
ck
695349b6f4 Maemo: Move MaemoRunConfigurationWidget into separate set of files.
File maemorunconfiguration.cpp now contains what the name indicates.
2010-01-07 11:21:11 +01:00
ck
a266e638d6 Maemo: Add interface for ssh library (completely #ifdef'ed out for now).
This will replace the current ssh-via-QProcess approach, which
has severe drawbacks.
2009-12-23 10:53:57 +01:00
Alessandro Portale
a014c02cbd Reenabling the run/build configuration sync dialog for Maemo
MaemoRunConfiguration reimplements the correct
RunConfiguration::isEnabled()

Reviewed-by: con
Reviewed-by: dt
2009-12-15 17:48:33 +01:00
dt
1e46cb424e Rework connections on the project pane for Qt4Projects.
Should fix a lot of corner cases, might introduce a few bugs.
Also rename functions/slots to be better named.

Generic Project Manager and CMake Project Manager are missing from this
patch.
2009-12-07 15:00:17 +01:00
ck
0b49edbb5d Maemo: New project widget.
Most attributes have moved into the settings page.
2009-12-01 14:04:25 +01:00
dt
fa0be746a9 Make Maemo compile again.
Conflicts:

	src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.h
2009-11-19 16:35:19 +01:00
dt
10a0647ddf Remove QSharedPointer<> for RunConfiguration 2009-11-19 16:35:18 +01:00
kh1
c1413ffa8a Fill in default qemu simulator path but keep the user option to choose. 2009-10-29 17:26:14 +01:00
kh1
78d89b549a Store the settings for both the device and simulator. 2009-10-27 14:15:24 +01:00
ck
6a49395e33 Add experimental Maemo support.
Includes Maemo tool chain, run configuration, run control,
manager, etc.

Adds the DebuggerManager to the object pool. This is ugly, but
nobody came up with anything better on short notice. To be
refactored.

Co-Authored-By: kh1
2009-10-16 18:01:07 +02:00