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