summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJukka Passi <jukka.passi@qt.io>2021-04-23 10:12:27 +0300
committerJukka Passi <jukka.passi@qt.io>2021-04-27 07:36:40 +0000
commit34dc76c851c84324fde21f6339658c8ea77229d8 (patch)
tree3675f31e25bfc44ecbd6a6f56cbb4b59eb6e8650 /examples
parentcdad78a4a46412051b7251898c4edc9f4a23167c (diff)
Android: Fix build error issue in examples
Added branching to plugandpaint example to get correct library architecture to the build Fixes: QTBUG-56322 Pick-to: 5.15 Change-Id: I4d0eb4e24681642991d08c3dd2bad73d10caf962 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/widgets/tools/plugandpaint/app/app.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/widgets/tools/plugandpaint/app/app.pro b/examples/widgets/tools/plugandpaint/app/app.pro
index 558d359e7d..e5ff02ecf2 100644
--- a/examples/widgets/tools/plugandpaint/app/app.pro
+++ b/examples/widgets/tools/plugandpaint/app/app.pro
@@ -18,7 +18,11 @@ LIBS = -L../plugins
macx-xcode {
LIBS += -lpnp_basictools$($${QMAKE_XCODE_LIBRARY_SUFFIX_SETTING})
} else {
- LIBS += -lpnp_basictools
+ android {
+ LIBS += -lpnp_basictools_$${QT_ARCH}
+ } else {
+ LIBS += -lpnp_basictools
+ }
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
mac:LIBS = $$member(LIBS, 0) $$member(LIBS, 1)_debug
win32:LIBS = $$member(LIBS, 0) $$member(LIBS, 1)d