##// END OF EJS Templates
Fix qml application deployment for android...
Fix qml application deployment for android Change-Id: I5a693f3ca7d6110505f8e6d276f53825e1a5961b Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>

File last commit:

r2523:abf0d5005e35
r2523:abf0d5005e35
Show More
tests.pri
34 lines | 1.3 KiB | text/plain | TextLexer
Michal Klocek
Improves build configuration...
r996 !include( ../config.pri ) {
error( "Couldn't find the config.pri file!" )
Michal Klocek
Adds chartdata unit test
r224 }
TEMPLATE = app
Michal Klocek
Examples build setup cleanup
r252
Jani Honkonen
Remove extra "test" folder. Put all binaries in the bin.
r1137 DESTDIR = $$CHART_BUILD_BIN_DIR
Michal Klocek
Fix build paths to correct ones in build direcotry
r1198 OBJECTS_DIR = $$CHART_BUILD_DIR/tests/$$TARGET
MOC_DIR = $$CHART_BUILD_DIR/tests/$$TARGET
UI_DIR = $$CHART_BUILD_DIR/tests/$$TARGET
RCC_DIR = $$CHART_BUILD_DIR/tests/$$TARGET
Jani Honkonen
Adding support for static builds.
r1440
# staticlib config causes problems when building executables
staticlib: CONFIG-=staticlib
Heikkinen Miikka
Fix qml application deployment for android...
r2523
android {
# Workaround to fix android deployment, which seems to always look for target in
# OUT_PWD instead of DESTDIR.
QMAKE_POST_LINK += $$QMAKE_COPY $$CHART_BUILD_BIN_DIR/lib$${TARGET}.so $$OUT_PWD/lib$${TARGET}.so
contains(TARGET, qml.*) {
charts_qmldir.files = $$CHART_BUILD_QML_PLUGIN_DIR/qmldir
charts_qmldir.path = /assets/imports/QtCommercial/Chart
charts_qmlplugin.files = $$CHART_BUILD_QML_PLUGIN_DIR/libqtcommercialchartqml.so
charts_qmlplugin.path = /libs/$$ANDROID_TARGET_ARCH
INSTALLS += charts_qmldir charts_qmlplugin
} else:contains(TARGET, quick2.*) {
charts_qmldir.files = $$CHART_BUILD_QML2_PLUGIN_DIR/qmldir
charts_qmldir.path = /assets/qml/QtCommercial/Chart
charts_qmlplugin.files = $$CHART_BUILD_QML2_PLUGIN_DIR/libqtcommercialchartqml2.so
charts_qmlplugin.path = /libs/$$ANDROID_TARGET_ARCH
INSTALLS += charts_qmldir charts_qmlplugin
}
}