TEMPLATE = subdirs
CONFIG += ordered
-SUBDIRS += declarative qtquick1 plugins
+SUBDIRS += \
+ qml
-contains(QT_CONFIG, qmltest): SUBDIRS += qmltest
-
-SUBDIRS += imports
-SUBDIRS += qmldevtools
+!isEmpty(QT.gui.name) {
+ SUBDIRS += \
+ quick \
+ qmltest \
+ particles
+}
+SUBDIRS += \
+ plugins \
+ imports \
+ qmldevtools