diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-04-11 19:49:39 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-15 15:09:57 +0200 |
commit | 5857ea03a77e44879191dd922b7c38c49616517b (patch) | |
tree | bff6d278b83e1ee1699ae36a89dfea463d08caa9 /examples | |
parent | 2b309cf52dfff7307a055b2662e7ce1a53d44bdb (diff) | |
download | qtquickcontrols-5857ea03a77e44879191dd922b7c38c49616517b.tar.gz |
Remove hard dependency on widgets
Change-Id: I1fabb4efcc931f12f0a65ac5c66e6e085108269b
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ApplicationTemplate/ApplicationTemplate.pro | 3 | ||||
-rw-r--r-- | examples/examples.pro | 7 | ||||
-rw-r--r-- | examples/text/text.pro | 5 |
3 files changed, 10 insertions, 5 deletions
diff --git a/examples/ApplicationTemplate/ApplicationTemplate.pro b/examples/ApplicationTemplate/ApplicationTemplate.pro index d623dff9..f877756d 100644 --- a/examples/ApplicationTemplate/ApplicationTemplate.pro +++ b/examples/ApplicationTemplate/ApplicationTemplate.pro @@ -1,7 +1,6 @@ -QT += widgets qml quick +QT += qml quick widgets CONFIG += console TARGET = application - SOURCES += \ main.cpp diff --git a/examples/examples.pro b/examples/examples.pro index e3c3a203..0be155cd 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -1,10 +1,13 @@ TEMPLATE = subdirs SUBDIRS += \ - ApplicationTemplate \ gallery \ splitview \ stackview \ tableview \ - text \ touch + +qtHaveModule(widgets) { + SUBDIRS += text \ + ApplicationTemplate +} diff --git a/examples/text/text.pro b/examples/text/text.pro index 8b36231a..3b5b1046 100644 --- a/examples/text/text.pro +++ b/examples/text/text.pro @@ -1,6 +1,9 @@ -QT += widgets qml quick +QT += qml quick CONFIG += console TARGET = text +qtHaveModule(widgets) { + QT += widgets +} include(src/src.pri) |