##// END OF EJS Templates
Fix build for iOS and for building the QtQuick 2 plugin statically...
Fix build for iOS and for building the QtQuick 2 plugin statically When building statically then static will be set not staticlib, therefore we need to ensure we check for static in those cases. And also protect against Mac specific flags when building for iOS. Task-number: QTRD-3036 Change-Id: Ib2c534974ad9292e3634b8b692344c71e26e56cd Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>

File last commit:

r2680:743754a36d25
r2680:743754a36d25
Show More
declarative.pri
60 lines | 2.2 KiB | text/plain | TextLexer
Miikka Heikkinen
Generate charts plugin for QtQuick2 as well as QtQuick1...
r2488 !include( ../plugins.pri ) {
error( "Couldn't find the plugins.pri file!" )
}
contains(DEFINES, CHARTS_FOR_QUICK2) {
DESTDIR = $$CHART_BUILD_QML2_PLUGIN_DIR
} else {
DESTDIR = $$CHART_BUILD_QML_PLUGIN_DIR
}
INCLUDEPATH += $$CHART_BUILD_PRIVATE_HEADER_DIR
Andy Shaw
Fix build for iOS and for building the QtQuick 2 plugin statically...
r2680 ios:CONFIG(iphonesimulator, iphonesimulator|iphoneos):TARGET = $$join(TARGET,,,_iphonesimulator)
Miikka Heikkinen
Generate charts plugin for QtQuick2 as well as QtQuick1...
r2488 CONFIG(debug, debug|release) {
mac: TARGET = $$join(TARGET,,,_debug)
win32: TARGET = $$join(TARGET,,,d)
}
SOURCES += \
../declarative/plugin.cpp \
../declarative/declarativechart.cpp \
../declarative/declarativexypoint.cpp \
../declarative/declarativexyseries.cpp \
../declarative/declarativelineseries.cpp \
../declarative/declarativesplineseries.cpp \
../declarative/declarativeareaseries.cpp \
../declarative/declarativescatterseries.cpp \
../declarative/declarativepieseries.cpp \
../declarative/declarativebarseries.cpp \
../declarative/declarativecategoryaxis.cpp \
../declarative/declarativemargins.cpp \
../declarative/declarativeaxes.cpp \
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 ../declarative/declarativepolarchart.cpp \
../declarative/declarativeboxplotseries.cpp
Miikka Heikkinen
Generate charts plugin for QtQuick2 as well as QtQuick1...
r2488
HEADERS += \
../declarative/declarativechart.h \
../declarative/declarativexypoint.h \
../declarative/declarativexyseries.h \
../declarative/declarativelineseries.h \
../declarative/declarativesplineseries.h \
../declarative/declarativeareaseries.h \
../declarative/declarativescatterseries.h \
../declarative/declarativepieseries.h \
../declarative/declarativebarseries.h \
../declarative/declarativecategoryaxis.h \
../declarative/declarativemargins.h \
../declarative/declarativeaxes.h \
../declarative/declarativepolarchart.h \
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 ../declarative/shared_defines.h \
../declarative/declarativeboxplotseries.h
Miikka Heikkinen
Generate charts plugin for QtQuick2 as well as QtQuick1...
r2488
TARGETPATH = QtCommercial/Chart
target.path = $$IMPORT_INSTALL_PATH/$$TARGETPATH
qmldir.files += $$_PRO_FILE_PWD_/qmldir
qmldir.path += $$IMPORT_INSTALL_PATH/$$TARGETPATH
INSTALLS += target qmldir
QMLDIR_FILE = $$_PRO_FILE_PWD_/qmldir
Titta Heikkala
Fix Android build...
r2648 contains(QMAKE_HOST.os, Windows): QMLDIR_FILE = $$replace(QMLDIR_FILE, "/","\\")
Miikka Heikkinen
Generate charts plugin for QtQuick2 as well as QtQuick1...
r2488 QMAKE_POST_LINK += $$QMAKE_COPY $$QMLDIR_FILE $$DESTDIR