3 TARGET = QtQuickParticles
5 CONFIG += dll warn_on internal_module
7 QT = core-private gui-private qml-private quick-private
8 QT_PRIVATE = v8-private
10 DEFINES += QT_NO_URL_CAST_FROM_STRING QT_NO_INTEGER_EVENT_COORDINATES
11 win32-msvc*:DEFINES *= _CRT_SECURE_NO_WARNINGS
12 solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
14 exists("qqml_enable_gcov") {
15 QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors
19 MODULE = quickparticles
22 include(particles.pri)
25 # FIXME: this is a workaround for broken qmake logic in qtAddModule()
26 # This function refuses to use frameworks unless the framework exists on
27 # the filesystem at the time qmake is run, resulting in a build failure
28 # if QtQuick is qmaked before QtQml is built and frameworks are
29 # in use. qtAddLibrary() contains correct logic to deal with this, so
30 # we'll explicitly call that for now.
32 LIBS -= -lQtQml # in non-framework builds, these should be re-added
33 LIBS -= -lQtQml_debug # within the qtAddLibrary if appropriate, so no
34 qtAddLibrary(QtQml) # harm done :)
36 LIBS -= -lQtQuick_debug