Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into v8
[profile/ivi/qtdeclarative.git] / src / declarative / declarative.pro
1 load(qt_module)
2
3 TARGET     = QtDeclarative
4 QPRO_PWD   = $$PWD
5
6 CONFIG += module
7 MODULE_PRI += ../../modules/qt_declarative.pri
8
9 QT         = core-private gui-private script-private network script opengl-private
10 contains(QT_CONFIG, svg): QT += svg
11 DEFINES   += QT_BUILD_DECLARATIVE_LIB QT_NO_URL_CAST_FROM_STRING
12 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x66000000
13 solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
14
15 unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
16
17 exists("qdeclarative_enable_gcov") {
18     QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors
19     LIBS += -lgcov
20 }
21
22 load(qt_module_config)
23
24 HEADERS += qtdeclarativeversion.h
25
26 #INCLUDEPATH -= $$QMAKE_INCDIR_QT/$$TARGET
27 #DESTDIR=.
28
29 #modules
30 include(util/util.pri)
31 include(graphicsitems/graphicsitems.pri)
32 include(qml/qml.pri)
33 include(debugger/debugger.pri)
34 include(scenegraph/scenegraph.pri)
35 include(items/items.pri)
36 include(particles/particles.pri)
37
38 symbian: {
39     TARGET.UID3=0x2001E623
40     LIBS += -lefsrv
41
42     contains(QT_CONFIG, freetype) {
43         DEFINES += QT_NO_FONTCONFIG
44         INCLUDEPATH += \
45             ../3rdparty/freetype/src \
46             ../3rdparty/freetype/include
47     }
48 }
49
50 linux-g++-maemo:DEFINES += QDECLARATIVEVIEW_NOBACKGROUND
51
52 DEFINES += QT_NO_OPENTYPE
53 INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src
54
55
56 macx:CONFIG(debug, debug|release) {
57     LIBS += -L../v8/ -lv8_debug 
58 } else {
59     LIBS += -L../v8/ -lv8 
60 }
61
62 # Prevent qmake adding v8 as a dependency
63 CONFIG -= explicitlib