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