Task-number: QTBUG-28849
Change-Id: I331ebca76892ce7ffbc6f8e03ff4afe0c8e28d5e
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
TEMPLATE = subdirs
-SUBDIRS += \
- qmltest \
- qml \
- quick
+qtHaveModule(qmltest): SUBDIRS += qmltest
+SUBDIRS += qml
+qtHaveModule(quick): SUBDIRS += quick
TEMPLATE = subdirs
+qtHaveModule(quick): SUBDIRS += networkaccessmanagerfactory xmlhttprequest
+
SUBDIRS += \
- networkaccessmanagerfactory \
plugins \
referenceexamples \
- shell \
- xmlhttprequest
+ shell
EXAMPLE_FILES = \
dynamicscene \
SUBDIRS += \
qml
-qtHaveModule(gui) {
+qtHaveModule(gui):contains(QT_CONFIG, opengl(es1|es2)?) {
SUBDIRS += \
quick \
qmltest \
TEMPLATE = subdirs
+qtHaveModule(quick): SUBDIRS += qmlscene qmlplugindump
+qtHaveModule(qmltest): SUBDIRS += qmltestrunner
SUBDIRS += \
- qmlscene \
- qmlplugindump \
qmlmin \
qmlprofiler \
- qmlbundle \
- qmltestrunner
-qtHaveModule(widgets): SUBDIRS += qmleasing
-
-
+ qmlbundle
+qtHaveModule(quick):qtHaveModule(widgets): SUBDIRS += qmleasing