Commit Graph

42 Commits

Author SHA1 Message Date
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
kh1
615105cccd Fix potential crash in updateSimulatorInformation. 2009-11-30 10:55:48 +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
ck
24a98feada Maemo: Refine pkill command line.
Reviewed-by: kh1
2009-11-18 17:01:39 +01:00
kh1
e682eef741 Fix wrong arguments restore.
Reviewed-by: ck
2009-11-10 17:06:37 +01:00
ck
787cbb7b0d Maemo run configuration: Fix layout bug.
The simulator's "reset" button must not be visible when the
remote host is a device.
2009-10-30 13:58:46 +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