aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/qtprofilesetup/qtprofilesetup.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* qtprofilesetup: Fix missing string replacement in output string.Christian Kandeler2014-04-031-1/+1
| | | | | Change-Id: I57dfe4358f52055f30e8fde649f233af550b749d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Make "Qt.declarative" available as "Qt.quick" again for Qt 4.Christian Kandeler2014-03-311-1/+7
| | | | | | | | This was accidentally removed when switching to the new Qt modules approach. Change-Id: Ie8db5a183c2cc3a82d31c2793710983cf4206ef0 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix QML debugging for Qt 5.Christian Kandeler2014-03-311-1/+3
| | | | | | | | | | | The line enabling the respective C++ macro got lost when we switched to the new Qt module approach. (And the name of the macro was wrong for Qt 5 anyway, so it hadn't worked before either.) Also add an autotest to catch things like macro renaming in the future. Task-number: QTCREATORBUG-11914 Change-Id: Ica188c20e99c204d1a9d4e5f285a938707d997dd Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* libqtprofilesetup: Ignore pri file entries with en empty rhs.Christian Kandeler2014-02-211-1/+1
| | | | | | | Otherwise, things like empty include paths can end up in our modules. Change-Id: I8cff8653c4be5beae8f7c6c8c4c87b7ca38ef025 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix exception leak in qtprofilesetup.Christian Kandeler2014-02-201-6/+12
| | | | | | | This is public API and must not throw. Change-Id: I211956ed6667bf3bae1e0049f2eb29516f55ef6a Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Move "static Qt" discovery into libqtprofilesetup.Christian Kandeler2014-02-171-4/+28
| | | | | | | | Otherwise the non-trivial detection code would have to be duplicated in Qt Creator. Change-Id: I7f0c9e1c578ac23c757efad3da8c301a25649677 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* libqtprofilesetup: Fix some module names for Qt 4.Christian Kandeler2014-01-271-2/+2
| | | | | | | The internal name does not have the "qt" prefix. Change-Id: Idccab0f7debefdc6657750528d9ec31dfbe16075 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Make ModUtils a proper import.Christian Kandeler2014-01-211-1/+0
| | | | | | | | So we don't have to duplicate the file for the qtprofilesetup library. We still consider it internal, though. Change-Id: Iea92b141830bc7af821b13c0270372b784f1feb7 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* libqtprofilesetup: Remove profile first.Christian Kandeler2014-01-201-0/+1
| | | | | | | Otherwise we could have outdated properties left. Change-Id: I180ec52d743bd40e8afa03ec4b9baf51a281006a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix more regressions due to new Qt modules approach.Christian Kandeler2014-01-201-13/+79
| | | | | Change-Id: I7e3ebad2730f08371a4036439fcc3b3c3d82be5c Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Allow dependencies on "Qt.test".Christian Kandeler2014-01-171-1/+13
| | | | | | | | That's what we called the "testlib" module until recently, so let's keep supporting that name. Change-Id: I324c9b3add0a8709dba8b84458189727df9cf6d2 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Add virtual "Qt.widgets" module for Qt 4 installations.Christian Kandeler2014-01-171-0/+8
| | | | | | | | We used to have this when we still hardcoded all the modules, and it got lost during the switch. Change-Id: I3170a2ca77f0a105b1b6c7de485be6d112bf88e7 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Move knowledge about Qt modules into libsetupqt.Christian Kandeler2014-01-161-0/+194
| | | | | | | | | | | | | | In addition, we make less hard-coded assumptions than before, instead generating almost all modules dynamically from the respective Qt installation when setup-qt is being run. This way, qbs does not have to know about all the modules beforehand, and only the Qt modules that are actually present will have qbs counterparts, making it possible for project file authors to make use of soft dependencies for Qt modules. Task-number: QBS-479 Change-Id: Ie20d2acf249cd159ce4caff2ede4721ab879fad2 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Move Qt profile setup into a dedicated library.Christian Kandeler2014-01-101-0/+162
Otherwise all changes to the implementation will have to be duplicated in IDEs. Change-Id: I61e6d4fa1ee9b724eb5d9de9f233dc915a6c8bc3 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>