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