Commit Graph

235 Commits

Author SHA1 Message Date
dt
dbe5a6f34b Rework the project settings.
This has still a few missing things, but this enough to start getting
some feedback. Missing are non qt projects, a solution for the
runconfiguration, a missing black line between the treeview on top and
the project settings at the bottom. Some flickering with removing/adding
widgets to the QScrollArea and not showing the expanded widget if the
Details button is right at the bottom.
2009-08-06 15:31:32 +02:00
con
fe92b40f45 Start on rvct support.
It works, except that the code model doesn't get the rvct include
directories and defines yet. And you need to have everything for
rvct set up in your environment.
2009-08-05 17:08:15 +02:00
dt
7be8be2564 Fix wrong importing of old settings overwritting a release configuration 2009-08-05 11:41:37 +02:00
dt
26c903ce9b Fix for #Command not having a -spec argument. 2009-07-29 12:47:11 +02:00
dt
f35a0f5429 Some steps towards making qmakestep and makestep not mandotary.
Also fix a small bug with the import label.
2009-07-27 15:22:15 +02:00
dt
f1009fc63c Less debugging output 2009-07-24 18:52:44 +02:00
dt
15471e6410 More import fixes and tweaks
Don't add -spec foo to the additional Arguments if foo is the same as
the default mkspec. This makes the common case better, while breaking if
you have QMAKESPEC set in teh environment and used -spec foo to override
it.
2009-07-24 18:12:19 +02:00
dt
0d949c69bf Case insesitive for specs comparision for windows 2009-07-24 16:27:29 +02:00
dt
a79a26c7ae Move the function comparing settings and Makefile to Qt4Project
I need that in the Qt4ProjectConfigWidget to decide whether I should
show a import label.
2009-07-23 18:15:25 +02:00
dt
cd27fdecd9 Parse the Makefile in the importing case a lot better
We add each command line argument to the Additional Arguments
2009-07-22 16:52:44 +02:00
dt
ecfb6eaf5a Remove the qmakeStep() function from qt4Project 2009-07-21 15:01:16 +02:00
dt
406d853e2b Move the qmake config settign into qt4project.
One less need for qmakestep.
2009-07-21 14:50:54 +02:00
dt
26ab24a669 Fix crash if we are adding a qtversion while still loading the project.
Only connect in restoreSettingsImpl() not in the constructor.
2009-07-17 17:25:48 +02:00
Thorbjørn Lindeijer
2fcf2ac5d3 Added a FakeVim color theme
Specially for FakeVim users out there who want an easy way to switch to
vim's default color theme on a dark brackground.

Also did a little cleanup.
2009-07-14 15:30:27 +02:00
con
67438b574a Delete toolchain in more intelligent way.
Create a new one and check if it's the same as the old one,
has the advantage that cached data doesn't need to be retrieved again.
It was that way before tool chain was moved to Qt4Project.
2009-07-14 15:30:03 +02:00
Alessandro Portale
d3f9757916 Removing some unused semicolons after Q_UNUSED
There were both variants, with and without extra semicolon.
2009-07-13 17:35:17 +02:00
Oswald Buddenhagen
edeb93d6fa micro-optimization 2009-07-10 14:04:48 +02:00
dt
e524f52477 Allow restoreSettings() to fail,
E.g. cmake pops up a wizard then, the running of cmake can fail though.
Now you don't end i[ with a empty project then. The error reporting in
that case is not yet optimal.
2009-07-03 16:46:01 +02:00
Roberto Raggi
319720f43a Don't add $QT_INSTALL_HEADERS/Qt to the include paths.
Indexing both /include/Qt and /include/{QtCore,QtGui,...} makes the code completion with fedora.
2009-06-26 16:36:04 +02:00
dt
61e7ffc9c7 toolChain() might return a null pointer
Don't crash then
2009-06-26 14:53:13 +02:00
Friedemann Kleint
44d8b28a9f Fix crash after importing a Qt 4 project.
Reviewed-by: dt <qtc-committer@nokia.com>
2009-06-25 12:10:30 +02:00
con
8fd395feb4 Update the enabled state of run configurations on toolchain change.
And if Qt version changed.
2009-06-24 13:41:50 +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
f3eb79b198 Remove the project parameter to ToolChain::defaultMakeTarget again. 2009-06-24 13:41:49 +02:00
con
a9d05dab62 Move tool chain object from Qt version to project. 2009-06-24 13:41:48 +02:00
con
66c2c7c18b Add the environment from the right tool chain.
Since the actual tool chain is defined in the project, it
moved there from the qt version.
2009-06-24 13:41:42 +02:00
con
7b04fc45e8 Make it possible to actually select a tool chain. 2009-06-24 13:41:41 +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
con
7bec2253c9 gcce toolchain needs default make target dependent on debug/release.
Passing the Project to the tool chain now. Not quite sure if I like it.
2009-06-24 13:41:38 +02:00
con
655a1c9198 Create a wingcce toolchain. 2009-06-24 13:41:38 +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
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
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
37a9e2bd58 Add a QtVersion::toolChain() method, replacing Qt4Project::toolChain()
Makes the code nicer, we use the ProFileReader to parse the mkspec.
2009-05-25 16:43:50 +02:00
con
0b19fb6383 Missing defines and includepaths when using mingw toolchain.
Reviewed-by: dt <qtc-committer@nokia.com>
2009-05-19 19:09:04 +02:00
Daniel Molkentin
159056058d Add support for AMD64 compilers for MSVC.
At this point, compiling projects and debugger helpers works.
The speciality with this is that Qt does not provide distinct
mkspecs, because MSVC draws the line between 32 and 64 bit
solely by the environment.
2009-05-18 15:02:41 +02:00
dt
286325ceb6 Add includes to the codemodel specified via PKGCONFIG in .pro files
We run pkg-config --cflags-only-I $$PKGCONFIG in the background to find
those includes.

Task-Nr: 250195
2009-05-13 18:09:47 +02:00
dt
af199594a6 Adds dynamic ui completion. Wohoo :)
This means, creating a new project, we immediately have completion for
the ui file. Also adding stuff to the ui file now changes the codemodel
immediately.

Yet todo, are tests under windows and suppressing a warning if the form
contains a toplevel spacer.
2009-05-12 14:46:11 +02:00
Roberto Raggi
9e5ccb4484 Compile 2009-05-05 10:17:32 +02:00
dt
4e0c418fa6 Add per file information on the inlucde paths and defines to qt4projects
This is a step towards fixing Task: 243747
2009-05-04 18:22:40 +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
b6c05a334c Refactoring: Move QtVersionManager instance() into the ProjectExplorer
And add a instance() method to it.
2009-04-22 16:51:38 +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
dt
25135e9e2f Long dead code. It even used the QWorkbench namespace.
And there seems to be no value in the code anyway.
2009-04-20 18:06:02 +02: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
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
dt
84ce2e5b70 Fixes: Add a makeCommand() virtual function to ToolChain
Details:  Move that code from qt4project to a common class.
2009-03-16 18:13:45 +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