Commit Graph

51 Commits

Author SHA1 Message Date
con
255348643e Remove the summary part from the most commonly used project configuration pages.
Reviewed-by: dt
2010-02-01 18:34:46 +01:00
Tobias Hunger
f923a561c3 Make use of ProjectConfiguration in RunConfigurations
Reviewed-by: dt
2010-02-01 12:23:13 +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
dt
a755717649 In the EnvironmentWidget show which environment is the base.
Task-Nr: QTCREATORBUG-277
2009-12-14 13:40:17 +01:00
dt
24a4590767 Cmake: Let the generator determine the toolchain
Otherwise we need to parse the cbp file, which happens only if the
buildconfiguration gets active. Also try to decouple a few internals a
little bit by using signals. The CMakeProject still handles a few things
directly instead of via signals, more to come eventually.
2009-12-07 15:00:17 +01:00
dt
70adf628f1 Fix endless recursion, broken somewhere in the buildconfiguration port 2009-11-30 15:24:33 +01:00
dt
a8c4505475 Disable currently not working connect 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
dt
7904544b84 Remove BuildConfiguration::name()
The pointers can be used to distinguish BuildConfigurations
2009-11-30 15:24:31 +01:00
dt
10a0647ddf Remove QSharedPointer<> for RunConfiguration 2009-11-19 16:35:18 +01:00
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
dt
d50cc220f5 Also switch the cmake run configuration to using the detailswidget 2009-10-01 19:04:53 +02:00
con
acbd4513e3 Changing string based api to BuildConfiguration based api.
Builds, but I'm pretty sure it doesn't *work* :)
2009-10-01 10:05:05 +02:00
Friedemann Kleint
978cf4bda8 Rename IRunConfigurationRunner -> IRunControlFactory...
and ApplicationRunConfiguration to LocalApplicationRunConfiguration,
preparing remote debugging. Change the interface canRun() to be const,
run() to create() (since it does not run anything), use references
to the QSharedPointer<Foo>. Introduce d-Pointer and remove
unneeded headers from ProjectExplorerPlugin and add missing includes
everywhere.
2009-09-25 11:35:44 +02:00
dt
f04cd91c6b Simplyfy the DebuggingHelper functions.
By only providing a qtInstallDir variant
2009-09-17 15:55:08 +02:00
dt
65648ee17a The project pane rewrite version 2.
This splits up the edit and active settings. Let people try it and
report usability problems. I'm not 100% convinced of the layout either.
2009-09-17 13:59:10 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
con
45d2fd0797 Make the show/hide environment details buttons stay at same place. 2009-07-23 17:23:26 +02:00
con
2afea9ddf5 CMake project settings margins and field growths. 2009-07-23 17:23:26 +02:00
dt
e76e439215 Some tweaks to make the build settings page look better on windows 2009-07-20 16:50:05 +02:00
dt
abeb450467 Show a summary widget instead of the full blown environment model.
Hides the gory details, and in most cases the user doesn't care anyway.
2009-07-20 15:46:11 +02:00
dt
54bbcc4a7c Mention possible locations of the debugging helper in the error dialog
Requires a lot of trivial forwarding.
2009-07-15 17:41:45 +02:00
Thorbjørn Lindeijer
abee2e0b0d Made it possible to make Qt Creator smaller, based on scroll areas
Scroll areas were added to the welcome mode and the project mode, to
make sure they don't limit how small Qt Creator can be made.

Done with mae
2009-07-10 14:55:54 +02:00
con
07187e0a80 Custom signature support.
Not able to give it an additional passphrase yet, though.
2009-06-24 13:41:48 +02:00
dt
2d65dec3e9 Add a toolChainType() method to the ApplicationRunConfiguration.
Best effort only though. This can make detection in the debugger which
engine should be used easier.

Task-Nr: 256161
2009-06-17 19:06:17 +02:00
dt
ddef96ecda Add a working directory line edit to the cmake run configuration
Task-Nr: 254424
2009-06-16 18:37:16 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
con
3ddb7b02f1 API review of IRunConfigurationFactory.
Done with dt.
2009-06-12 17:58:13 +02:00
dt
6d18c530a8 Add options also to CMake and CustomExecutable RunConfiguration
Well this enough environment settings for 1.2.
2009-06-02 12:27:26 +02:00
dt
10151809c4 Add Environment settings to CMakeRunConfiguration 2009-05-27 18:33:50 +02:00
dt
0bda19a099 Add the ability to set a build environment also for CMake projects.
Note: as for qt projects, this is also used for running. And we don't
use it for running cmake yet.
2009-05-27 14:58:02 +02:00
dt
2b302332b8 Move QtVersionManager, QtVersion and QtOptionsPage back
After all I don't need all that stuff in the cmakeplugin, all i needed
is now bundled in debugginghelper.h/cpp
2009-04-28 12:45:04 +02:00
dt
48fe0f450f Refactoring: Move all the debugging helper static methods into a class
Enables me to move some stuff back again.
2009-04-24 16:21:51 +02:00
dt
b419403b0f Refactoring: Use one common code to find the debugging helper library
Remove duplicated code from cmakeprojectmanager.
2009-04-24 14:59:47 +02:00
dt
84ee1653f4 Allow changing the build directory, and reparse.
Task:  250418

This also moves us closer to supporting multiple build configurations
properly.
2009-04-20 17:59:36 +02:00
dt
3b6d8b8f4d Add the ability to add Runconfigurations for cmake-targets we know about
Task: 250415
2009-04-06 17:01:26 +02:00
dt
5a97436c0c Add a argument line edit for the cmake runconfiguration.
Even works.
2009-03-25 18:29:42 +01:00
dt
74974a5a58 Also use the dumper library code from the cmake plugin.
Adds a little bit of code duplication, don't currently know how to best
avoid it, so I'll leave that for now as is. To be tested once Andre
pushes his stuff.
2009-03-25 17:30:48 +01:00
dt
e21a74cb35 Change the way the debugging library is build and found, yet again.
We used to build a helper library as part of the project. First with the
qmake -after SOURCES= stuff and after until now with the
gdbmacrosbuildstep. Now, the all new and fancy integretation directtly
into the qt version dialog. You build the debugger library once for
each qt version and then it's there ready to be loaded into each
project build against that qt version. Saves a lot of time.
And makes it possible to also load that library into while debuggign a
cmake project. (Need to hook that up now.)
Unfourtanetly this breaks the custom dumpers if you use a custom run
executable.
2009-03-25 15:18:37 +01:00
Thorbjørn Lindeijer
e72e07963d Initialize run mode correctly
It was missing for CustomExecutableRunConfiguration and
Qt4RunConfiguration.

Reviewed-by: dt
2009-03-18 17:53:20 +01:00
dt
00951b6b96 More progress on the CMake plugin
Made the cmake plugin even more usable by implementing:
Pop up a wizard if there is a .user file but no .cbp file. (Fixes empty
project reported on irc.)
Pop up a wizard if the .cbp file is older then the CMakeLists.txt file,
thus reparsing the file. (Note: There is a bug that we need to actually
also check the last modified of all included files.)
Reparse the cbp file to add new RunConfigurations / delete no longer
existing RunConfigurations and update those that have changed.-
Show a nicer title in the Projects/RunConfiguration pane
2009-03-16 17:33:05 +01:00
Oswald Buddenhagen
df8ffb09fd add "run in terminal" options 2009-02-27 18:04:36 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
dt
d402ed2955 Fixes: Replace QTC_ASSERT with QT_ASSERT. 2008-12-17 15:51:48 +01:00
dt
3ba192af7e Merge branch '0.9.1-beta' 2008-12-17 14:21:03 +01:00
dt
edd1e84b1d Fixes: Restore and save settings for RunSettings.
Details:  Not the most pressing problem, but easy to fix.
2008-12-17 13:56:44 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00