Commit Graph

221 Commits

Author SHA1 Message Date
dt
69bd2df4e4 Fix QMAKE_CXX parsing
Task-Nr: QTCREATORBUG-1411
2010-05-27 16:36:26 +02:00
Daniel Molkentin
5784e2ad86 prefer adding Qt versions shipping with QML examples
Reviewed-by: dt
2010-05-25 19:23:28 +02:00
kh1
e9d1841552 Make sure we can compile the debugging help for maemo.
This boils down to the same problem as other calls to qmake, if we don't
pass the target mode, qmake will prepend the current platform as target.
Reviewed-by: dt
2010-05-21 14:43:18 +02:00
dt
5193cef369 Remove dead code 2010-05-18 17:40:34 +02:00
dt
3cc8f2f9e0 Fix check for g++ 2010-05-18 17:40:34 +02:00
dt
cf57bda96f Maemo does support shadow building 2010-05-12 16:50:37 +02:00
Tobias Hunger
78989998d5 Mark simulator as a mobile target 2010-04-30 14:27:51 +02:00
Tobias Hunger
69100c353c Add a special target for Qt simulator 2010-04-30 14:27:50 +02:00
Friedemann Kleint
010b73615c i18n: tr()-fixes. 2010-04-27 12:39:00 +02:00
dt
0b5ffee800 Remove debugging output 2010-04-26 12:30:00 +02:00
con
451418138b Hide building debug helper UI in cases where it's not supported.
Reviewed-by: Alessandro Portale
2010-04-23 13:25:37 +02:00
Friedemann Kleint
9d2ca0e8cf MSVC: Try to determine version if none is set.
Try to find matching version for mkspec.
Rubber-stamped-by: Joerg Bornemann <qtc-committer@nokia.com>
2010-04-21 17:24:37 +02:00
Tobias Hunger
6473ab730c Add method to QtVersion to query it for issues
Reviewed-by: dt
2010-04-20 15:21:17 +02:00
Tobias Hunger
5a97f79e0b Handle qmake with or without trailing .exe
Handle qmake with or without trailing .exe on windows. Looks like the
extension got lost recently in the generated Makefiles.

Reviewed-by: dt
2010-04-14 17:46:49 +02:00
Tobias Hunger
772c838aa3 Add a method to find pro-files used to create a Makefile
Reviewed-by: dt
2010-04-13 13:43:08 +02:00
dt
3de0668894 Linux icc parser
Reviewed-By: hunger
2010-04-12 15:05:11 +02:00
Tobias Hunger
c5b5127be2 Disable shadow building when appropriate
Reviewed-by: dt
2010-04-08 18:15:16 +02:00
Tobias Hunger
e89c4775fa Allow loading of projects even with no valid Qt
This patch marks up invalid Qt versions as Desktop.

Make sure we add a the always existing invalid Qt version in the path
available in the targetselectionpage if no valid Qt versions could be found.

This way a project can be set up and loaded without a valid Qt version set up.
Trying to build this will fail of course. This is basically how we handled
this situation before we had targets, too.

Task-number: QTCREATORBUG-1066
Reviewed-by: dt
2010-04-08 16:18:14 +02:00
dt
9ddd7a59d7 Revert "Progress so far"
This reverts commit b1a121c54f.

Accidentally pushed the linux icc parser before it was ready.

Conflicts:

	src/plugins/qt4projectmanager/qtversionmanager.cpp
2010-04-08 10:49:20 +02:00
dt
340ca7f8d8 Treat embedded g++ toolchains as desktop g++ toolchains.
That means wrong target (though argueable we don't have a correct one
yet, but working defines and includes.
2010-04-07 14:58:22 +02:00
dt
b1a121c54f Progress so far 2010-04-07 13:51:07 +02:00
dt
5f2ae2af47 Less includes 2010-04-07 13:51:07 +02:00
Tobias Hunger
f11a25801a Add option to query QtVersion for mobile support 2010-03-30 16:55:29 +02:00
Tobias Hunger
4c5ce80141 Add method to retreive valid Qt versions only 2010-03-26 13:15:31 +01:00
Thorbjørn Lindeijer
5e68c2afb8 Don't create Welcome mode pages when there is no Welcome mode
Fixes creating these pages unnecessarily when the Welcome plugin is not
loaded, as well as "leaking" them in that case.

Reviewed-by: con
2010-03-22 13:13:33 +01:00
dt
0f7b746486 Fix debugging helper logic 2010-03-19 17:53:14 +01:00
dt
5058233bdd Fix crash on loading projects 2010-03-18 15:36:04 +01:00
dt
8b7eacc19f Treat a set QMAKEFEATURES correctly
We used to ignore if someone had set a additional for his qmake, with
qmake -set QMAKEFEATURES. The fix is a simple oneliner from Filip
Piechocki. See qt-creator merge request 130.

Task-Nr: QTCREATORBUG-805
2010-03-18 12:49:23 +01:00
Friedemann Kleint
0535eb09b9 Compile fix (Qt4Projectmanager). 2010-03-17 08:20:27 +01:00
con
d849652700 Start on a build step for creating symbian package. 2010-03-16 19:05:20 +01:00
Robert Loehning
1ded9ce798 Compile fix. 2010-03-15 17:03:11 +01:00
dt
7215c03369 Check for existince of the QMAKESPEC_ORIGINAL directory
Some mkspecs do have a QMAKESPEC_ORIGINAL and yet that directory doesn't
exist. In that case ignore it.

Task-Nr: QTCREATORBUG-586
2010-03-15 16:23:50 +01:00
dt
16ff6ac772 Fix QtVersion to not run qmake on constructing
Only if we need the information.
2010-03-15 11:55:00 +01:00
dt
ab8fc52d0b Use exact and aysnc .pro file evaluate
This is a big change touching almost all of our .pro file parsing.
With this patch we only evaluate once exact for all needs and once
greedy for the filelist. That is the qt runconfigurations don't have own
evaluaters but reuse the project wide exact evaluation.

We reevaluate if the user changes the build directory, the qmake
buildconfiguration or the qmake arguments. That is if you open src.pro
(or projects.pro) of qt with a shadow build you still don't get all the
files, but after correcting the build directory, we reevaluate the .pro
files and find all files. So for a suitable definition of fixed, that
bug is now fixed.

We now get the exact defines of all .pro files instead of all defines for all
buildconfigurations. We still don't distinguish in which
.pro file a DEFINE is set. So the code model now knows about all the
defines set for the given configuration but not for which files it is
actually set. Also that includes all DEFINES set in .qmake.cache or the
mkspecs. This means all defines from .pro files should now work.

The intial loading is still synchronous. I haven't looked into it to
deeply, but it seems possible to make it also async.There are probably a
few issues which need to be solved fist.

Also due to the asynchronous nature of the code, the executable is
updated a few seconds after actually changing the build configuration
2010-03-10 17:02:24 +01:00
ck
3e29ede56d Maemo: Detect more arm architectures.
Reviewed-by: kh1
2010-03-05 13:04:48 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Friedemann Kleint
c0a68f53c3 Tr()-fixes. 2010-02-26 14:20:17 +01:00
Tobias Hunger
07d025603c Remove Maemo emulator
* kh1 says there is no such thing as there is no technical
   destinction between Maemo devices and the Maemo emulator.

Reviewed-by: kh1
2010-02-26 14:16:42 +01:00
Friedemann Kleint
28820807a1 Tr()-Fixes 2010-02-25 10:34:25 +01:00
kh1
69ebf668ba Return a reference to the object, changed from pointer.
Since we use addAutoReleasedObject we would rather unclean call the
class destructor.
2010-02-23 18:16:14 +01:00
Tobias Hunger
ea007592bc Qt versions are different if the dislayname does not match
* Fixes update of Qt version name whne renaming a Qt version.
2010-02-22 18:23:14 +01:00
Tobias Hunger
ee0c5d3129 Do not report qmake pathes if the file is no longer there
* We get a bogus Qt imported otherwise
2010-02-19 11:41:34 +01:00
Friedemann Kleint
7c9c99dcf0 Symbian/Linux: Enable building with makefile-based system.
- Autodetect SDK by environment variable EPOCROOT and qt directory
below.
- Environment::appendOrSet/prependOrSet: Avoid duplicate entries
- Rename toolchain enumeration value
- Adapt S60ToolChainMixin to new GnuPoc setup, provide routines for
  all required variables.
- RVCTToolChain: Make RVCT detection smarter (Check for RVCT<v1><v2>BIN
  variable). Set all required variables in case of RVCTToolChain/GnuPoc
- QtVersionManager: Detect toolchain and Qt version properly, make S60
  device run config accept toolchain.
- Modify S60DeviceRunControl to execute 'make sis'
- Modify S60Devices::detectQt...() to check for Qt installed into SDK
  first and symlink as fallback.
2010-02-17 17:38:48 +01:00
dt
3c99f02bcb Rename QMake to qmake since that's the official spelling. 2010-02-17 16:54:50 +01:00
Tobias Hunger
53cfd44537 Unify slashes we get when parsing mkspec files on windows 2010-02-12 13:55:22 +01:00
con
e5d3e04c60 Also handle EPOCROOT and default device settings for Symbian devs. 2010-02-12 11:57:30 +01:00
Tobias Hunger
c93e96305f Make target detection not depend on toolkit 2010-02-11 18:04:22 +01:00
Tobias Hunger
8548da1c30 Assume the GCCE toolchain to be always available in Symbian
* This is necessary as the decission on whether Symbian support
   is available at all depends on the ToolChain used to build.
   We should improve this!
2010-02-10 12:21:25 +01:00
Tobias Hunger
d1bdfcc363 Integrate target support
* Ease cross device development by introducing 'targets' which
   group build- and runsettings that are valid for this one target

 Most of the kudos for the code review go to dt. Con, thorbjorn,
 ckandler and others did also review parts of this patch.

Reviewed-by: dt
2010-02-09 16:57:37 +01:00
ck
a40a3d84d5 Maemo: Enable compilation unconditionally. 2010-02-08 17:52:56 +01:00