summaryrefslogtreecommitdiff
path: root/qtquickcontrols.pro
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-04-05 10:36:55 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-05 12:51:04 +0200
commit7c29d1b459cbfcf95d294ac6762d09a3b5d75c66 (patch)
treeb041ccf54546fb1b91ae74e9c99dbf510a079abd /qtquickcontrols.pro
parenta077d075eafa947b48cf0824146d8dc6873b10ed (diff)
downloadqtquickcontrols-7c29d1b459cbfcf95d294ac6762d09a3b5d75c66.tar.gz
qtquickcontrols-7c29d1b459cbfcf95d294ac6762d09a3b5d75c66.tar.bz2
qtquickcontrols-7c29d1b459cbfcf95d294ac6762d09a3b5d75c66.zip
disable module when widgets is not available
Change-Id: I844710fc41dbe805755abd6ca935749a617da337 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'qtquickcontrols.pro')
-rw-r--r--qtquickcontrols.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtquickcontrols.pro b/qtquickcontrols.pro
index bc5ed5e8..a4ca1464 100644
--- a/qtquickcontrols.pro
+++ b/qtquickcontrols.pro
@@ -1,3 +1,5 @@
+requires(qtHaveModule(widgets))
+
load(qt_parts)
# We need accessibility