File tree Expand file tree Collapse file tree 2 files changed +11
-18
lines changed Expand file tree Collapse file tree 2 files changed +11
-18
lines changed Original file line number Diff line number Diff line change @@ -23,33 +23,28 @@ macx: PLATFORM = "macOS"
2323unix :!macx:!android:!ios: PLATFORM = " linux"
2424win32 : PLATFORM = " windows"
2525ios: PLATFORM = " iOS"
26- android: {
27- PLATFORM = " android"
28- contains (QT_ARCH, i386 ) {
29- ANDROID_ARCH = " x86"
30- } else:contains (QT_ARCH, arm64 ) {
31- ANDROID_ARCH = " arm64"
32- } else {
33- ANDROID_ARCH = " armv7"
34- }
35- }
26+ android: PLATFORM = " android"
3627
3728INCLUDEPATH += $$PWD /include \
3829 $$PWD /include/CoordinateConversion
3930
40- !android:!win32 : PLATFORM_OUTPUT = $$PLATFORM
41- android: PLATFORM_OUTPUT = $$PLATFORM / $$ANDROID_ARCH
4231win32 : {
4332 contains (QT_ARCH, x86_64 ): {
4433 PLATFORM_OUTPUT = $$PLATFORM /x64
4534 } else {
4635 PLATFORM_OUTPUT = $$PLATFORM /x86
4736 }
4837}
38+ else: {
39+ PLATFORM_OUTPUT = $$PLATFORM
40+ }
4941
5042# make sure the local toolkit libs come first on the link line
5143ARCGIS_RT_SDK_LIBS = $$LIBS
52- LIBS = -L $$PWD /output/ $$PLATFORM_OUTPUT -lArcGISRuntimeToolkitCppApi $${ToolkitPrefix }$${DebugSuffix } $$ARCGIS_RT_SDK_LIBS
44+
45+ TOOLKIT_SUFFIX = $${ToolkitPrefix }$${DebugSuffix }
46+ android:TOOLKIT_SUFFIX = $${TOOLKIT_SUFFIX }_ $${QT_ARCH }
47+ LIBS = -L $$PWD /output/ $$PLATFORM_OUTPUT -lArcGISRuntimeToolkitCppApi $${TOOLKIT_SUFFIX } $$ARCGIS_RT_SDK_LIBS
5348
5449# unset the previous toolkit defines and import paths
5550DEFINES -= ARCGIS_TOOLKIT_IMPORT_PATH =\ "$$ARCGIS_TOOLKIT_IMPORT_PATH\"
Original file line number Diff line number Diff line change @@ -62,17 +62,15 @@ CONFIG(release, debug|release) {
6262 BUILDTYPE = debug
6363}
6464
65- !android:!win32 : PLATFORM_OUTPUT = $$PLATFORM
66- android: PLATFORM_OUTPUT = $$PLATFORM / $$ANDROID_ARCH
6765win32 : {
6866 contains (QMAKE_TARGET.arch, x86_64 ): {
6967 PLATFORM_OUTPUT = $$PLATFORM /x64
7068 } else {
7169 PLATFORM_OUTPUT = $$PLATFORM /x86
7270 }
7371}
72+ else: {
73+ PLATFORM_OUTPUT = $$PLATFORM
74+ }
7475
7576DESTDIR = $$PWD /output/ $$PLATFORM_OUTPUT
76- OBJECTS_DIR = $$DESTDIR / $$BUILDTYPE /obj
77- MOC_DIR = $$DESTDIR / $$BUILDTYPE /moc
78- RCC_DIR = $$DESTDIR / $$BUILDTYPE /qrc
You can’t perform that action at this time.
0 commit comments