Skip to content

Commit e7266c0

Browse files
committed
On android, release and debug outputs overwrite - avoid
1 parent c862872 commit e7266c0

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

Jamulus.pro

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,16 @@ win32 {
262262
# enabled only for debugging on android devices
263263
DEFINES += ANDROIDDEBUG
264264

265-
target.path = /tmp/your_executable # path on device
266-
INSTALLS += target
265+
CONFIG(debug, debug|release) {
266+
DESTDIR = $$OUT_PWD/debug
267+
} else {
268+
DESTDIR = $$OUT_PWD/release
269+
}
270+
271+
CONFIG -= android_install
272+
android_lib.files = $$DESTDIR/libJamulus_$${QT_ARCH}.so
273+
android_lib.path = /libs/$$ANDROID_TARGET_ARCH
274+
INSTALLS += android_lib
267275

268276
HEADERS += src/sound/oboe/sound.h
269277

0 commit comments

Comments
 (0)