3 TARGET = QtQuickParticles
7 MODULE_PRI = ../../modules/qt_quickparticles.pri
9 QT = core-private gui-private qml-private quick-private
11 DEFINES += QT_BUILD_QUICKPARTICLES_LIB QT_NO_URL_CAST_FROM_STRING QT_NO_INTEGER_EVENT_COORDINATES
12 win32-msvc*:DEFINES *= _CRT_SECURE_NO_WARNINGS
13 solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
15 exists("qqml_enable_gcov") {
16 QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors
20 MODULE = quickparticles
21 load(qt_module_config)
23 # private dependencies
26 include(particles.pri)
29 # FIXME: this is a workaround for broken qmake logic in qtAddModule()
30 # This function refuses to use frameworks unless the framework exists on
31 # the filesystem at the time qmake is run, resulting in a build failure
32 # if QtQuick is qmaked before QtQml is built and frameworks are
33 # in use. qtAddLibrary() contains correct logic to deal with this, so
34 # we'll explicitly call that for now.
36 LIBS -= -lQtQml # in non-framework builds, these should be re-added
37 LIBS -= -lQtQml_debug # within the qtAddLibrary if appropriate, so no
38 qtAddLibrary(QtQml) # harm done :)
40 LIBS -= -lQtQuick_debug