diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2012-12-21 11:02:52 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-08 11:09:04 +0100 |
commit | 4cd6f0ddc772daf1bedd45a2dce8afd4ed2bb5bf (patch) | |
tree | 18e7ffa7d29aba9c9fb7252a57bff61dbb7f1958 /src/src.pro | |
parent | 0c22eb9d9d1a0b72622fdf16ebf60712336b449e (diff) |
make use of qtHaveModule()
Change-Id: I494ad22447fe54be405698f2dfd79e4941019bdc
Reviewed-by: Tasuku Suzuki <stasuku@gmail.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/src.pro')
-rw-r--r-- | src/src.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src.pro b/src/src.pro index c21cf2ef5..37995679f 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,7 +1,7 @@ TEMPLATE = subdirs CONFIG += ordered -!isEmpty(QT.widgets.name) { +qtHaveModule(widgets) { no-png { message("Some graphics-related tools are unavailable without PNG support") } else { @@ -21,7 +21,7 @@ mac { embedded:SUBDIRS += kmap2qmap -contains(QT_CONFIG, dbus):SUBDIRS += qdbus +qtHaveModule(dbus): SUBDIRS += qdbus # We don't need these command line utilities on embedded platforms. embedded: SUBDIRS += makeqpf |