Commit Graph

234 Commits

Author SHA1 Message Date
Friedemann Kleint
ad294f8467 Project explorer: Make public headers compile with NO_CAST_FROM_ASCII
.. and purge unneeded includes.
2009-09-29 11:39:55 +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
Daniel Molkentin
41118d91fb Don't chop the first char off a variable value during MSVC variable detection. 2009-09-21 16:57:04 +02:00
Daniel Molkentin
37d73f321d Be smarter about macros available from cl.exe.
Some macros are defined not by cl.exe purely, but are pretty standard.
We add those manually anyway. Also, remove compiler-specific macro
definitions from the model manager. They should be provided by the tool
chains only.
2009-09-16 17:17:09 +02:00
Sergey Belyashov
149b7fd50f Fixed problem with system headers detection for translated version of GCC.
Merge-request: 1484
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-09-14 12:24:44 +02:00
Thorbjørn Lindeijer
a5b22b18bd Fixed problem with changing tool chain type for generic projects
Some fixes were needed after the tool chain type was changed from
QString to an enum.

Task-number: 259939
2009-08-25 09:51:16 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
dt
e92ad815d8 Add a default: label to the ToolChainType switches so that gcc doesn't
complain.

Added a Q_ASSERT to the case that shouldn't happen.
2009-08-13 18:05:12 +02:00
Daniel Molkentin
365560c9c3 Identify tool chains via ToolChain::ToolChainType enum instead of by string
Reviewed-by: dt
2009-08-13 16:42:44 +02:00
Daniel Molkentin
77f191e867 Improve wording of tool chains. 2009-08-13 14:07:27 +02:00
dt
ac3e37fc6e Add explicit support to use jom instead of nmake (which does not support -j)
jom can be found at http://qt.gitorious.org/qt-labs/jom

Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2009-08-12 15:30:23 +02:00
Daniel Molkentin
0c6b754a06 Nicer tool chain names, also make them translatable just in case. 2009-08-12 14:27:13 +02:00
con
d0627b1b95 Share some code between gcc and gcce tool chains. 2009-07-14 15:30:03 +02:00
con
8f358494c1 Fix building with msvc.
Fixing 40ff6ab2c4
2009-07-13 18:04:31 +02:00
dt
4d11487a86 Harcode that on windows the gcc toolchain defaults to make instead of
mingw32-make.exe
2009-07-03 19:06:00 +02:00
dt
2cefad8342 Fix indentation. 2009-07-03 12:46:38 +02:00
dt
40ff6ab2c4 Make msvc and cmake play together.
Note: This requires a cvs cmake and is not fully tested yet. This adds a
few missing pieces, so now opening new never built projects without a
.user file on systems with just one VS installation should work.
2009-07-02 16:44:51 +02:00
con
655a1c9198 Create a wingcce toolchain. 2009-06-24 13:41:38 +02:00
dt
e2972a74a6 Fix bug in Toolchain::equals(), removing unecessary toolchain creations
This will result in a speedup.
2009-06-22 12:45:13 +02:00
Friedemann Kleint
12ac317d0a Obtain the toolchain type and choose debugger engine accordingly. 2009-06-18 15:16:18 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Daniel Molkentin
bcb566261f Detect MSVC environments correctly on 64 bit Windows 2009-05-20 12:59:31 +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
Roberto Raggi
d4f1765c53 System header paths for msvc. 2009-03-30 15:34:10 +02:00
Roberto Raggi
2a82d9272a Compile 2009-03-30 14:55:16 +02:00
Thorbjørn Lindeijer
b789ffa91b Added and corrected copyright headers 2009-03-20 14:59:12 +01:00
dt
f7240bd665 Fixes: bin dir of msvc qt versions was not added to the path
The setting of msvc environments variables overwrote that. Fix that by running the script with the correct environment.
2009-03-19 18:30:11 +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
Roberto Raggi
7b6eb2c47e Added a way to change the tool chain. 2009-03-12 13:51:10 +01:00
dt
ef1693e9a3 Fixes: Add a smarter cmake open project wizard.
Details:  That fixes a few bugs, while still having a few missing
things. Don't allow the user to set a shadow build directory, if there
is already a in source build. Detect if a cbp file is already existing
and recent enough, don't rerun cmake then. Ensure that the user runs
cmake with the cbp generator on opening the project. Show the output of
the cmake generator while running. Remove the unecessary cmake step.
2009-03-09 18:13:19 +01:00
dt
f60dcda6b6 Fixes: Adjust the toolchain classes to make them work on windows. 2009-02-12 16:09:23 +01:00
hjk
b8e51e2857 Fixes: compilation fix 2009-02-11 15:27:39 +01:00
dt
8a0c6db72a Fixes: Missing return statements. 2009-02-11 13:01:38 +01:00
dt
15e2ac460f Fixes: Add ToolChain classes.
Details:  These classes replace a number of classes with differing
interfaces by just one class. The design isn't quite perfect, but a lot
better than what it used to be. Also moved the ToolChain classes to the
projectexplorerm so that eventually the cmake plugin can also use them.
2009-02-11 12:16:26 +01:00