summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorJukka Passi <jukka.passi@qt.io>2021-04-23 10:12:27 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-10 17:26:26 +0000
commit521ebfa2e38c747e4f538352d6cdaf37888d3697 (patch)
treef14425a25720cb9a5612bc9d4f9fac796be0b80f /examples/widgets
parentea538487e04705268c1fcf189d081a520f5e9016 (diff)
Android: Fix build error issue in examples
Added branching to plugandpaint example to get correct library architecture to the build Fixes: QTBUG-56322 Change-Id: I4d0eb4e24681642991d08c3dd2bad73d10caf962 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit 34dc76c851c84324fde21f6339658c8ea77229d8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/widgets')
-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