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
23 #INCLUDEPATH += $$PWD/QtQuick1
26 include(util/util.pri)
27 include(graphicsitems/graphicsitems.pri)
29 HEADERS += qtquick1_p.h
30 SOURCES += qtquick1.cpp
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.
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 :)