Remove Symbian specific code.
[profile/ivi/qtdeclarative.git] / src / qtquick1 / qtquick1.pro
1 load(qt_module)
2
3 TARGET     = QtQuick1
4 QPRO_PWD   = $$PWD
5
6 CONFIG += module
7 CONFIG += dll warn_on
8 MODULE_PRI += ../../modules/qt_qtquick1.pri
9
10 QT += testlib-private declarative testlib declarative-private core-private gui-private network widgets-private v8-private
11 DEFINES += QT_BUILD_QTQUICK1_LIB QT_NO_URL_CAST_FROM_STRING
12
13 load(qt_module_config)
14
15 # Install qtquick1.prf into the Qt mkspecs so that "CONFIG += qtquick1"
16 # can be used in customer applications to build against QtQuick 1.
17 feature.path = $$[QT_INSTALL_DATA]/mkspecs/features
18 feature.files = $$PWD/features/qtquick1.prf
19 INSTALLS += feature
20
21 win32-msvc*:DEFINES *= _CRT_SECURE_NO_WARNINGS
22
23 #INCLUDEPATH += $$PWD/QtQuick1
24 #INCLUDEPATH += $$PWD
25
26 include(util/util.pri)
27 include(graphicsitems/graphicsitems.pri)
28
29 HEADERS += qtquick1_p.h
30 SOURCES += qtquick1.cpp
31
32 mac {
33     # FIXME: this is a workaround for broken qmake logic in qtAddModule()
34     # This function refuses to use frameworks unless the framework exists on
35     # the filesystem at the time qmake is run, resulting in a build failure
36     # if QtQuick1 is qmaked before QtDeclarative is built and frameworks are
37     # in use. qtAddLibrary() contains correct logic to deal with this, so
38     # we'll explicitly call that for now.
39     load(qt)
40     LIBS -= -lQtDeclarative        # in non-framework builds, these should be re-added
41     LIBS -= -lQtDeclarative_debug  # within the qtAddLibrary if appropriate, so no
42     qtAddLibrary(QtDeclarative)    # harm done :)
43 }
44