Update docs after modularization of docs
[profile/ivi/qtdeclarative.git] / src / quick / quick.pro
1 TARGET = QtQuick
2
3 CONFIG += dll warn_on
4
5 QT = core-private gui-private qml-private
6 QT_PRIVATE = v8-private network
7
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
11
12 exists("qqml_enable_gcov") {
13     QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors
14     LIBS += -lgcov
15 }
16
17 QMAKE_DOCS = $$PWD/doc/qtquick.qdocconf
18
19 load(qt_module)
20
21 include(util/util.pri)
22 include(scenegraph/scenegraph.pri)
23 include(items/items.pri)
24 include(designer/designer.pri)
25
26 HEADERS += \
27     qtquickglobal.h \
28     qtquickglobal_p.h \
29     qtquick2_p.h
30
31 SOURCES += qtquick2.cpp
32
33 mac {
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.
40     load(qt)
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 :)
44 }
45