8 MODULE_PRI += ../../modules/qt_qtquick1.pri
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
13 load(qt_module_config)
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
21 win32-msvc*:DEFINES *= _CRT_SECURE_NO_WARNINGS
25 CONFIG += epocallowdlldata
26 contains(QT_EDITION, OpenSource) {
27 TARGET.CAPABILITY = LocalServices NetworkServices ReadUserData UserEnvironment WriteUserData
29 TARGET.CAPABILITY = All -Tcb
33 #INCLUDEPATH += $$PWD/QtQuick1
36 include(util/util.pri)
37 include(graphicsitems/graphicsitems.pri)
39 HEADERS += qtquick1_p.h
40 SOURCES += qtquick1.cpp
43 # FIXME: this is a workaround for broken qmake logic in qtAddModule()
44 # This function refuses to use frameworks unless the framework exists on
45 # the filesystem at the time qmake is run, resulting in a build failure
46 # if QtQuick1 is qmaked before QtDeclarative is built and frameworks are
47 # in use. qtAddLibrary() contains correct logic to deal with this, so
48 # we'll explicitly call that for now.
50 LIBS -= -lQtDeclarative # in non-framework builds, these should be re-added
51 LIBS -= -lQtDeclarative_debug # within the qtAddLibrary if appropriate, so no
52 qtAddLibrary(QtDeclarative) # harm done :)