From 34dc76c851c84324fde21f6339658c8ea77229d8 Mon Sep 17 00:00:00 2001 From: Jukka Passi Date: Fri, 23 Apr 2021 10:12:27 +0300 Subject: 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 --- examples/widgets/tools/plugandpaint/app/app.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'examples/widgets/tools/plugandpaint') 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 -- cgit v1.2.3