Commit Graph

59 Commits

Author SHA1 Message Date
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
Oswald Buddenhagen
ef660880ad make ProFileOption persist during the scan of an entire project
there is no point in throwing away and re-recreating invariant data over
and over ...

shaves off ~15% of the load time of Qt 4.6.
2009-12-08 17:36:41 +01:00
Oswald Buddenhagen
3657acac5f move various functions from Qt4PriFileNode to Qt4ProFileNode
findProFileFor(), buildDir() and createProFileReader() make sense only
in relation with an actual pro file anyway, so move them there.
2009-12-08 17:36:41 +01:00
Oswald Buddenhagen
9ba6f06af7 don't call setQtVersion() - createProFileReader() already does it 2009-12-08 17:36:40 +01:00
ck
680222a37e Maemo: Fix ssh command line for Windows.
Reviewed-by: kh1
2009-12-07 15:11:27 +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
533d64c4b9 Maemo: Take user-supplied private key file into account.
Reviewed-by: kh1
2009-12-03 13:01:45 +01:00
kh1
72ed9b5b51 Compile fix. 2009-12-03 12:03:35 +01:00
kh1
04a6d4678b Fix rare crash.
In case one stoped the running application on the device, removed the
project from the IDE and then closing the app output window would crash.
2009-12-03 11:43:34 +01:00
con
f3bdeb8c9a Share the code for determining used qmake arguments.
Move the code that compares the Qt version's debug|release property
with the build configuration's debug|release property
to the new build configuration class.

Reviewed-by: dt
2009-12-02 18:16:34 +01:00
ck
376210f92d Maemo: Add progress bar (concept shamelessly copied from S60).
Reviewed-by: kh1
2009-12-02 11:46:53 +01:00
ck
e9a20d33c7 Maemo: Fix new deployment algorithm.
Reviewed-by: kh1
2009-12-01 17:44:42 +01:00
kh1
2a9ca651f0 Workaround for windows deployment.
SCP chokes on full path names, thus set the wd to the delploy dir.
2009-12-01 17:01:28 +01:00
ck
ce3b4506af Maemo: Add authentication options (password or key based) 2009-12-01 16:26:05 +01:00
kh1
8a050af51c Compile fix. 2009-12-01 15:37:25 +01:00
ck
52d6e34bb3 Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline
Conflicts:
	src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.cpp
2009-12-01 14:50:28 +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
c1a1cda950 Remove duplicated signals 2009-11-30 19:02:16 +01:00
dt
9984944171 Fix compile 2009-11-30 15:24:32 +01:00
dt
801e9948f5 Hide static cast in accessor methods 2009-11-30 15:24:32 +01:00
dt
a312206306 Move most of the BuildConfiguration specific functions
Note: I didn't fix all the connects and there are a few missing things.
This compiles, more work is coming.
2009-11-30 15:24:31 +01:00
kh1
f87f2c9766 Missing return. 2009-11-30 14:53:16 +01:00