diff options
author | Tasuku Suzuki <tasuku.suzuki@nokia.com> | 2012-08-31 00:45:44 +0900 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-03 11:12:01 +0200 |
commit | 8e81271c43472c2fe7d95848b99003e13f9b400f (patch) | |
tree | c6bc15ca538a36681b75edea6fcfeb77520dde1c | |
parent | eeb6001b6c5517b27c3cf412ff6053780e59d25d (diff) |
Make compile with -no-widgets
Change-Id: I8b725e8f600268ad3d2105eb2015bcf778adf48d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r-- | examples/examples.pro | 3 | ||||
-rw-r--r-- | src/linguist/linguist.pro | 2 | ||||
-rw-r--r-- | src/qdbus/qdbus.pro | 2 | ||||
-rw-r--r-- | src/src.pro | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/examples/examples.pro b/examples/examples.pro index 3c12ee67c..c81388c25 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -1,2 +1,3 @@ TEMPLATE = subdirs -SUBDIRS += help designer uitools +!isEmpty(QT.widgets.name): SUBDIRS += help designer uitools + diff --git a/src/linguist/linguist.pro b/src/linguist/linguist.pro index 52690f0cb..e0deeceb4 100644 --- a/src/linguist/linguist.pro +++ b/src/linguist/linguist.pro @@ -3,7 +3,7 @@ SUBDIRS = \ lrelease \ lupdate \ lconvert -!no-png:!contains(QT_CONFIG, no-gui):SUBDIRS += linguist +!no-png:!isEmpty(QT.widgets.name): SUBDIRS += linguist win32:CMAKE_BIN_SUFFIX = ".exe" diff --git a/src/qdbus/qdbus.pro b/src/qdbus/qdbus.pro index abb1b2d8b..aeb1c96be 100644 --- a/src/qdbus/qdbus.pro +++ b/src/qdbus/qdbus.pro @@ -1,3 +1,3 @@ TEMPLATE = subdirs SUBDIRS = qdbus -!contains(QT_CONFIG, no-gui): SUBDIRS += qdbusviewer +!isEmpty(QT.widgets.name): SUBDIRS += qdbusviewer diff --git a/src/src.pro b/src/src.pro index 96249d9dc..c21cf2ef5 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,7 +1,7 @@ TEMPLATE = subdirs CONFIG += ordered -!contains(QT_CONFIG, no-gui) { +!isEmpty(QT.widgets.name) { no-png { message("Some graphics-related tools are unavailable without PNG support") } else { |