Commit d1aa9867 authored by Kai Koehne's avatar Kai Koehne
Browse files

Fix checks for qt modules

The fix in 823d48d2

 had a typo
(Qt vs QT). Also fix other places where QT_CONFIG was used to
identify Qt modules.

Change-Id: Ie32b678b959f7b5573574ef87ae7ad92860e8323
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 823d48d2
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment