diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2012-12-21 10:55:03 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-01-04 09:37:58 +0100 |
commit | 318e889fd4c61336d658f419fb686bde3c3d06e3 (patch) | |
tree | d379d9cd797a6eae9f2e092459682c9421c07972 /examples | |
parent | 96408d0db92c9ac1d67180e26f803119d1b3902c (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 'examples')
-rw-r--r-- | examples/bluetooth/bluetooth.pro | 2 | ||||
-rw-r--r-- | examples/examples.pro | 4 | ||||
-rw-r--r-- | examples/nfc/nfc.pro | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/bluetooth/bluetooth.pro b/examples/bluetooth/bluetooth.pro index 20bf6c6d..e3ef7691 100644 --- a/examples/bluetooth/bluetooth.pro +++ b/examples/bluetooth/bluetooth.pro @@ -1,5 +1,5 @@ TEMPLATE = subdirs -!contains(QT_CONFIG, no-widgets) { +qtHaveModule(widgets) { SUBDIRS += btchat \ btscanner \ btfiletransfer \ diff --git a/examples/examples.pro b/examples/examples.pro index a6efc9a0..f5e92257 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -1,4 +1,4 @@ TEMPLATE = subdirs -!isEmpty(QT.bluetooth.name):SUBDIRS += bluetooth -!isEmpty(QT.nfc.name):SUBDIRS += nfc +qtHaveModule(bluetooth): SUBDIRS += bluetooth +qtHaveModule(nfc): SUBDIRS += nfc diff --git a/examples/nfc/nfc.pro b/examples/nfc/nfc.pro index d219924c..ddf7456b 100644 --- a/examples/nfc/nfc.pro +++ b/examples/nfc/nfc.pro @@ -1,5 +1,5 @@ TEMPLATE = subdirs -!contains(QT_CONFIG, no-widgets) { +qtHaveModule(widgets) { SUBDIRS += \ annotatedurl \ ndefeditor \ |