diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2012-07-30 09:59:24 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-30 09:53:19 +0200 |
commit | 3dc36ccf4ebaec07845263a2fbc90519604d333d (patch) | |
tree | 3807955ded5dd579d1bfdbae9fef9cd535339f45 /src | |
parent | 4547d8fa309c403f61ba32ef87475052fde4f523 (diff) | |
download | qtscript-3dc36ccf4ebaec07845263a2fbc90519604d333d.tar.gz |
Fixed compile without QtWidgets, unify "is module available?" syntax
If QtWidgets is not available, disable a few examples which need it.
Standardize on isEmpty(QT.widgets.name) in preference to
contains(QT_CONFIG,no-widgets).
Change-Id: I00335149a75911dd4ab42a4ce659889d548a8be3
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/src.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src.pro b/src/src.pro index 926c09e..f9d8b19 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,4 +1,4 @@ TEMPLATE = subdirs CONFIG += ordered SUBDIRS += script -!contains(QT_CONFIG, no-widgets): SUBDIRS += scripttools +!isEmpty(QT.widgets.name): SUBDIRS += scripttools |