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