Commit Graph

80 Commits

Author SHA1 Message Date
ck
08b719c992 Maemo: Remove debug output that annoyed someone. 2010-04-23 10:32:15 +02:00
kh1
4ca6422bd7 Do not add "on Maemo device" anymore, since we now have the targets.
Task-number: QTCREATOR-207
Reviewed-by: ck
2010-04-19 15:04:29 +02:00
Thorbjørn Lindeijer
2ab7d2eafc Some documentation comment formatting and a rename
Renamed RunConfiguration::configurationWidget to
createConfigurationWidget.

Reviewed-by: dt
2010-04-16 13:31:22 +02:00
ck
44a953e84c Maemo: Deploy and install packages instead of raw executables.
Reviewed-by: kh1
2010-04-15 14:47:01 +02:00
kh1
bb17a05f31 Remove maemo gdb settings page, since we now have a unified one.
Reviewed-by: ck
2010-04-09 16:52:54 +02:00
kh1
53158b4617 Remove double connect.
Reviewed-by: ck
2010-04-09 11:29:51 +02:00
ck
9cbafa9696 Maemo: Use first device configuration as default.
Reviewed-by: kh1
2010-04-01 15:46:36 +02:00
kh1
cef244bc3e Implement setting the maemo gdb debugger location using the prefs. 2010-03-31 18:34:08 +02:00
Tobias Hunger
1ca8cb2397 Introduce method to access the project directory
... use it.

Reviewed-by: dt
2010-03-25 14:21:43 +01:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +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
88d99c59a8 Avoid starting qemu if we are not the startup project.
Reviewed-by: ck
2010-03-01 17:07:49 +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
fab70e72eb No need to have a function if we can call connect inside the class ctor. 2010-02-23 18:16:15 +01:00
kh1
69ebf668ba Return a reference to the object, changed from pointer.
Since we use addAutoReleasedObject we would rather unclean call the
class destructor.
2010-02-23 18:16:14 +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
kh1
6d798a2b44 Fix wrong connect/ disconnect logic.
This makes the qemu run button appear/ disappear once we add a maemo
target to an existing project.

Reviewed-by: Tobias Hunger
2010-02-23 18:16:10 +01:00
kh1
48abff252f Style cleanup, no functional change. 2010-02-23 18:16:09 +01:00
Tobias Hunger
ecc25ff20a Do not trigger qWarning in MaemoRunConfiguration
... when simulatorPath is unset.
2010-02-19 10:36:15 +01:00
ck
1e5140b313 Maemo: Call right update function, remove redundant checks. 2010-02-12 11:46:44 +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
kh1
596eda7f54 Rephrase the error message.
Depending on the Qt version we might be able to gather the qemu path,
if not the former error message was a bit misleading.
2010-02-09 13:19:32 +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
ck
038b75825d Maemo: Minor style/performance issues. 2010-02-03 11:01:33 +01:00
Tobias Hunger
cc278a593b Fix issues with maemorunconfiguration settings saving 2010-02-02 18:31:29 +01:00
Friedemann Kleint
81f14bb270 Fix some code scanning issues.
QString: Use QChar/char where appropriate, do not use QString::null
2010-02-02 17:09:41 +01:00
Friedemann Kleint
2fd8b2d7ff Fix some code scanning issues.
QString: Use QChar where appropriate.
2010-02-01 12:43:56 +01:00
Tobias Hunger
d2235489e8 Add accessor for (versioned) .user-file
* Add version number to .user-file.
 * Upgrade it from old versions.

Reviewed-by: dt
2010-02-01 12:23:15 +01:00
Tobias Hunger
f923a561c3 Make use of ProjectConfiguration in RunConfigurations
Reviewed-by: dt
2010-02-01 12:23:13 +01:00
ck
0dd4956aa4 Maemo: Fix compile. 2010-01-21 10:22:45 +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
dt
661314742e Simplfy code for finding the right target/executable
Reviewed-By: con
2010-01-11 15:35:14 +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
138b12b5dc Maemo: Move MaemoRunControl classes to their own files.
The maemorunconfiguration.cpp file contained (and still contains)
too many different classes.
2010-01-06 18:20:43 +01:00
ck
0525eee370 Maemo: Implement remote debugging via SSH library.
The old approach is still enabled by default.
2010-01-05 17:51:35 +01:00
ck
39c466658a Maemo: Implement remote execution based on SSH library.
Currently deactivated via #ifdef, but has been tested successfully.
2010-01-05 16:45:04 +01:00
ck
b3fd927e00 Maemo: Implement deploying via SSH library (instead of scp).
The code is #ifdef'ed out for now, but has been successfully tested.
2010-01-05 12:05:36 +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
con
1c1394c1eb Unify the common part for extracting the Qt project target info.
This code was (more or less) duplicated in 4 places.
2009-12-22 15:58:55 +01:00
ck
cbe7d1ed9e Maemo: Add link from projects page to options page.
This makes finding the device configuration dialog much easier
for newbies (and saves clicks for everybody).

Reviewed-by: kh1
2009-12-17 13:51:11 +01:00
kh1
5cdf2e5bc5 No need to pass the path for the known_hosts file.
This would have worked fine on Vista and later, but fails on XP because
of spaces in path name. And we don't need it anyway.
2009-12-17 13:48:22 +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