forked from qt-creator/qt-creator
Fix checks for qt modules
The fix in 823d48d218
had a typo
(Qt vs QT). Also fix other places where QT_CONFIG was used to
identify Qt modules.
Change-Id: Ie32b678b959f7b5573574ef87ae7ad92860e8323
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
QT += core gui widgets qml quick network v8
|
||||
contains (QT_CONFIG, webkit) {
|
||||
!isEmpty(QT.webkit.name) {
|
||||
QT += webkit
|
||||
}
|
||||
|
||||
|
@@ -63,7 +63,7 @@ linux-* {
|
||||
|
||||
include(../../qtcreator.pri)
|
||||
|
||||
contains(QT_CONFIG, declarative)|!isEmpty(Qt.declarative.name) {
|
||||
contains(QT_CONFIG, declarative)|!isEmpty(QT.declarative.name) {
|
||||
SUBDIRS += \
|
||||
plugin_qmlprojectmanager \
|
||||
plugin_qmlprofiler
|
||||
|
@@ -10,7 +10,7 @@ QT += network
|
||||
QT += script
|
||||
QT += xml
|
||||
|
||||
contains(QT_CONFIG, webkit) {
|
||||
contains(QT_CONFIG, webkit)|!isEmpty(QT.webkit.name) {
|
||||
QT += webkit
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
QT += webkitwidgets
|
||||
|
Reference in New Issue
Block a user