summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-12-21 10:55:03 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-01-04 09:37:58 +0100
commit318e889fd4c61336d658f419fb686bde3c3d06e3 (patch)
treed379d9cd797a6eae9f2e092459682c9421c07972 /tests
parent96408d0db92c9ac1d67180e26f803119d1b3902c (diff)
make use of qtHaveModule()
Change-Id: I810dc7b5863c1674390a7e471845f1779cbba98c Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/auto.pro4
-rw-r--r--tests/tests.pro4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index e3539b57..a88d77a2 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -3,7 +3,7 @@ TEMPLATE = subdirs
SUBDIRS += \
cmake
-!isEmpty(QT.bluetooth.name) {
+qtHaveModule(bluetooth) {
SUBDIRS += \
qbluetoothaddress \
qbluetoothdevicediscoveryagent \
@@ -20,7 +20,7 @@ SUBDIRS += \
qrfcommserver
}
-!isEmpty(QT.nfc.name) {
+qtHaveModule(nfc) {
SUBDIRS += \
qndefmessage \
qndefrecord \
diff --git a/tests/tests.pro b/tests/tests.pro
index 6fa5383b..9bf70104 100644
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -1,8 +1,8 @@
TEMPLATE = subdirs
SUBDIRS += auto
-linux*:!linux-armcc:contains(bluez_enabled, yes):contains(QT_CONFIG, dbus) {
+linux*:!linux-armcc:contains(bluez_enabled, yes):qtHaveModule(dbus) {
SUBDIRS += btclient
}
-!isEmpty(QT.nfc.name):SUBDIRS += nfctestserver
+qtHaveModule(nfc): SUBDIRS += nfctestserver