Commit Graph

56 Commits

Author SHA1 Message Date
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
269fe7f182 New build and run settings ui.
Not finished 100%
2009-07-17 17:25:43 +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
Michael Karcher
a39d7e8d12 Fix test for debug_and_release_target
This is a fix for a446491ae8.
The option debug_and_release determines whether the debug/ and release/
subdirectories are used to put *object* files there. The option
debug_and_release_target is used to put the final taget into debug/
and release/ directories.

Merge-request: 745
Reviewed-by: dt <qtc-committer@nokia.com>
2009-06-30 14:56:26 +02:00
con
936ba4c070 Make target information update also for non-Qt4RunConfigurations
Transform the method in Qt4Project into a signal that is handled
by the run configurations themselves.
2009-06-24 13:41:49 +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
con
a9bb3a03df Separate active run config setting in project mode.
And add a sort of isEnabled functionality for run configs.
This doesn't do much yet though, and is not updated correctly either.
2009-06-24 13:41:44 +02:00
con
a3a7c27d5d Make QtVersion's toolchain variable.
QtVersion provides possible toolchains that can be used by the
Qt version, e.g. winscw, gcce and armv5 for symbian-abld.
2009-06-24 13:41:39 +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
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
dt
a446491ae8 Fixes identifing the right WD for .pro chaning debug_and_release
CONFIG+=debug_and_release not working on linux and
CONFIG-=debug_and_release not working on windows.
The logic should be now correct. That is the profile reader reads the
values that are set for the qt build, gets qmake arguments which we
might pass on the command line and reads the .pro files, and in the end
we are interested what CONFIG contains. Patch from Michael Karcher

Task-number: 254925
2009-06-16 14:14:21 +02:00
con
36fc7f160b Remove superfluous creation of iterator. 2009-06-15 16:16:34 +02:00
con
3ddb7b02f1 API review of IRunConfigurationFactory.
Done with dt.
2009-06-12 17:58:13 +02:00
dt
48167ee5f1 Add a few options to the runconfigurations base environment
Note: This code should be shared between Qt4RunConfiguration,
CMakeRunConfiguration and CustomRunExecutable. Also we are approaching
other IDEs like configuraion options for setting the environment.
Without having a good GUI for that. I'll probably be redesigning this
for 1.3 or 1.4.
2009-06-02 12:27:13 +02:00
dt
b3bccbc2e8 Adjust environment to changes in the baseenvironment 2009-05-27 14:58:46 +02:00
dt
4267de479a Fix layout 2009-05-27 14:58:29 +02:00
dt
345ee7dfae Basic stuff for setting the environment of qt4runconfigurations
Missing is options to base the environment on either:
- the last build buildconfiguration (current implementation)
- the project environment
- a clean environment

signals which indicate that the baseEnvironment changed
some layout stuff is wrong
2009-05-27 14:58:25 +02:00
dt
5df4f9301a Make it possible to edit the working directory the executable is run in. 2009-05-13 17:08:48 +02:00
dt
daa4fd831a Crash if a runconfiguration with a removed pro file gets loaded. 2009-05-04 18:55:31 +02:00
dt
6c5e23f10e Fix $$OUT_PWD not beeing set for finding the target/destdir
Qt Creator wouldn't find the correct target if shadow building a project
that uses $$OUT_PWD, like for example itemviews-ng.
We didn't set the necessary variable on the ProFileReader *, simplified
the code to always use a ProFileReader created for the exact
profilenode.
2009-04-28 14:30:17 +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
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
8f22417244 Refactoring: Move QtVersionManager to ProjectExplorer.
The Debugger, cmake and Qt4 plugin all need it. More refactoring to it
coming.
2009-04-22 14:52:35 +02:00
Oswald Buddenhagen
6d5eeb7afb add missing tr()s, etc., add some //: comments 2009-04-20 16:51:10 +02:00
Alessandro Portale
03fb468d53 Don't annoy Windows users with alien dir separators 2009-04-15 18:44:41 +02:00
Thorbjørn Lindeijer
da5f8d7cd8 Fixed compiling with gcc 3.3 2009-04-08 16:31:21 +02:00
dt
6a55ca9776 Make .user files a little more robust to be used in different paths
Save a relative path to the .pro file. This means RunConfigurations can
now be shared between platforms.
Note: BuildConfigurations have two problems: The qt version id and the
shadow build option. If the user doesn't use those two, then he is fine.
2009-04-06 15:23:27 +02:00
mae
62dd2a5acb Compile without warnings 2009-03-26 15:33:32 +01:00
con
b278f956f8 Add a switch for DYLD_IMAGE_SUFFIX=_debug in Creator on Mac.
Look in the run configuration for it.
2009-03-26 12:15:25 +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
dt
46a7fdd626 Merge commit 'origin/master' 2009-03-20 17:35:16 +01:00
Thorbjørn Lindeijer
71aeac5915 Use completeBaseName instead of baseName where appropriate
Fixes issues with handling additional dots in the filename in many
places.

Task: 246390
2009-03-20 17:04:23 +01:00
dt
4829418bb5 Merge commit 'origin/master' 2009-03-20 12:16:41 +01:00
con
393eb142f9 Make running work on Mac again. 2009-03-19 16:37:04 +01:00
dt
b9b262f1d2 Fixes: Break up those lines to make them also more readeable. 2009-03-19 16:11:20 +01:00
dt
6cb5ea76f0 Fixes: Compile 2009-03-19 15:31:54 +01:00
dt
b3ec859c80 Fixes: Handle debug and release scopes for TARGET and DESTDIR
Task:     247606
Details:  Remove all the magic which build on top of the cumalative
parser. Instead trust the exact parsing to get those variables correct.
This required a bug fix in the profile evaluator, done with ossi.
Hopefully this doesn't break windows/mac. Will check.
2009-03-19 15:04:43 +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
con
70b399a359 Fixes: Remove -CONFIG Mac hack
RevBy:    Ossi
2009-03-11 16:06:36 +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
dt
da901f4a4f Fixes: Set cumulative mode to false for figuring out the executable
Task:     242513
Details:  That should fix several parsing problems for .pro files with
scopes. Enable it, see how many bug reports we get, for stuff we
accidentaly parsed correctly. Shouldn't be many. So we parse the
follwing now correctly:
unix {
    TEMP=unix
}
win32 {
    TEMP=win32
}
DESTDIR=$$TEMP
2009-01-29 18:42:06 +01:00
dt
daea8e66bf Fixes: Changing the build config should update the run config.
Task:     242465
Details:  connect quite a few signals. It doesn't work 100%, since it
really depends on to many things.
2009-01-27 18:23:02 +01:00
hjk
113b81e9db replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance() 2009-01-20 11:52:04 +01:00
hjk
cc5ff1ec74 Remove #include <extensionsystem/pluginmanager.h> from icore.h, a
forward declaration is sufficient.
2009-01-19 12:39:20 +01:00
dt
2dda23dabe Fixes: Bug in the detection wheter the executable on windows is.
Task:     Found on irc by ferret_svk
Details:  Even if CONFIG is debug_and_release we are interested wheter
          debug or release is the default.
2009-01-14 13:09:09 +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
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00