##// END OF EJS Templates
Fix oscilloscope demos on android...
Fix oscilloscope demos on android qobject_cast doesn't seem to work properly on android, but there is no need to use it in oscilloscope demos, static cast works just as well there. Change-Id: Ia32c914dcec05dca48103fe8d4edec7c054c8bd8 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>

File last commit:

r2523:abf0d5005e35
r2526:383eb97e1450
Show More
examples.pri
30 lines | 1.0 KiB | text/plain | TextLexer
Michal Klocek
Improves build configuration...
r996 !include( ../config.pri ) {
error( "Couldn't find the config.pri file!" )
Michal Klocek
Adds preseterchart example
r246 }
Michal Klocek
Examples build setup cleanup
r252 DESTDIR = $$CHART_BUILD_BIN_DIR
Michal Klocek
Fix build paths to correct ones in build direcotry
r1198 OBJECTS_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
MOC_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
UI_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
RCC_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
Michal Klocek
Examples build setup cleanup
r252
Michal Klocek
Adds preseterchart example
r246 TEMPLATE = app
Jani Honkonen
Adding support for static builds.
r1440 QT += core gui
Marek Rosa
Qt5: include widgets module
r2048 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
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
}
}