1TARGET = QtQuick 2 3QT = core-private gui-private qml-private qmlmodels-private 4qtConfig(qml-network): \ 5 QT_PRIVATE += network 6 7TRACEPOINT_PROVIDER = $$PWD/qtquick.tracepoints 8CONFIG += qt_tracepoints 9 10DEFINES += QT_NO_URL_CAST_FROM_STRING QT_NO_INTEGER_EVENT_COORDINATES 11msvc:DEFINES *= _CRT_SECURE_NO_WARNINGS 12solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2 13win32:!winrt: LIBS += -luser32 14 15DEFINES += QT_NO_FOREACH 16 17exists("qqml_enable_gcov") { 18 QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors 19 LIBS_PRIVATE += -lgcov 20} 21 22QMAKE_DOCS = $$PWD/doc/qtquick.qdocconf 23 24MODULE_PLUGIN_TYPES += \ 25 scenegraph 26ANDROID_BUNDLED_FILES += \ 27 qml 28 29include(util/util.pri) 30include(scenegraph/scenegraph.pri) 31include(items/items.pri) 32include(handlers/handlers.pri) 33qtConfig(quick-designer): \ 34 include(designer/designer.pri) 35qtConfig(accessibility) { 36 include(accessible/accessible.pri) 37} 38 39HEADERS += \ 40 qtquickglobal.h \ 41 qtquickglobal_p.h \ 42 qtquick2_p.h 43 44SOURCES += qtquick2.cpp 45 46# To make #include "qquickcontext2d_jsclass.cpp" work 47INCLUDEPATH += $$PWD 48 49load(qt_module) 50 51QMLTYPES_FILENAME = plugins.qmltypes 52QMLTYPES_INSTALL_DIR = $$[QT_INSTALL_QML]/QtQuick.2 53QML_IMPORT_NAME = QtQuick 54IMPORT_VERSION = 2.$$QT_MINOR_VERSION 55CONFIG += qmltypes install_qmltypes install_metatypes 56