remove pointless qmltest conditionals
[profile/ivi/qtdeclarative.git] / src / particles / particles.pro
1 load(qt_module)
2
3 TARGET = QtQuickParticles
4
5 CONFIG += module
6 CONFIG += dll warn_on
7 MODULE_PRI = ../../modules/qt_quickparticles.pri
8
9 QT = core-private gui-private qml-private quick-private
10
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
14
15 exists("qqml_enable_gcov") {
16     QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors
17     LIBS += -lgcov
18 }
19
20 MODULE = quickparticles
21 load(qt_module_config)
22
23 # private dependencies
24 QT += v8-private
25
26 include(particles.pri)
27
28 mac {
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.
35     load(qt)
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 :)
39     LIBS -= -lQtQuick
40     LIBS -= -lQtQuick_debug
41     qtAddLibrary(QtQuick)
42 }
43