7 MODULE_PRI = ../../modules/qt_quick.pri
9 QT = core-private gui gui-private network v8-private qml qml-private
11 DEFINES += QT_BUILD_QUICK_LIB QT_NO_URL_CAST_FROM_STRING QT_NO_INTEGER_EVENT_COORDINATES
12 win32-msvc*:DEFINES *= _CRT_SECURE_NO_WARNINGS
13 solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
15 exists("qqml_enable_gcov") {
16 QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors
20 load(qt_module_config)
22 include(util/util.pri)
23 include(scenegraph/scenegraph.pri)
24 include(items/items.pri)
25 include(particles/particles.pri)
26 include(designer/designer.pri)
33 SOURCES += qtquick2.cpp
36 # FIXME: this is a workaround for broken qmake logic in qtAddModule()
37 # This function refuses to use frameworks unless the framework exists on
38 # the filesystem at the time qmake is run, resulting in a build failure
39 # if QtQuick is qmaked before QtQml is built and frameworks are
40 # in use. qtAddLibrary() contains correct logic to deal with this, so
41 # we'll explicitly call that for now.
43 LIBS -= -lQtQml # in non-framework builds, these should be re-added
44 LIBS -= -lQtQml_debug # within the qtAddLibrary if appropriate, so no
45 qtAddLibrary(QtQml) # harm done :)