-TEMPLATE = app
-TARGET = qmlscene
-DESTDIR= $$QT.declarative.bins
-
-QT += declarative declarative-private qtquick1 widgets
-
-target.path = $$[QT_INSTALL_BINS]
-INSTALLS += target
-
-macx: CONFIG -= app_bundle
+QT += qml quick core-private
+!contains(QT_CONFIG, no-widgets):QT += widgets
SOURCES += main.cpp
-CONFIG += console declarative_debug
+DEFINES += QML_RUNTIME_TESTING QT_QML_DEBUG_NO_WARNING
-DEFINES += QML_RUNTIME_TESTING
+load(qt_tool)