Skip to content

Commit

Permalink
Android: Fix build error issue in examples
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Jukka Passi committed Apr 27, 2021
1 parent cdad78a commit 34dc76c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/widgets/tools/plugandpaint/app/app.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34dc76c

Please sign in to comment.