Update to 5.0.0-beta1
[profile/ivi/qtdeclarative.git] / src / particles / particles.pro
1 load(qt_build_config)
2
3 TARGET = QtQuickParticles
4
5 CONFIG += dll warn_on internal_module
6
7 QT = core-private gui-private qml-private quick-private
8 QT_PRIVATE = v8-private
9
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
13
14 exists("qqml_enable_gcov") {
15     QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors
16     LIBS += -lgcov
17 }
18
19 MODULE = quickparticles
20 load(qt_module)
21
22 include(particles.pri)
23
24 mac {
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.
31     load(qt)
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 :)
35     LIBS -= -lQtQuick
36     LIBS -= -lQtQuick_debug
37     qtAddLibrary(QtQuick)
38 }
39