Closed csmoore closed 11 years ago
This has been changed, so .pro config settings are no longer needed. Rather than settings in the .pro, the AGS Qt Runtime is now configured by adding this file <path to qt sdk>\mkspecs\features\esri_runtime_qt_10_2.prf
Currently in the .pro's, the environment variable BUILD_ARCH needs set to x86 in order to build 32-bit.
This line may not be necessary:
QMAKE_TARGET.arch = $$(BUILD_ARCH)
It forces the user to set the environment variable BUILD_ARCH in order to build x86 (the pro's default to x86_64 if this is not set)
QMAKE_TARGET.arch is already set by qmake on Windows, but never set to anything on Linux.
Adding in this block will handle the Linux cases where QMAKE_TARGET.arch isn’t set. unix:{ eval(QMAKE_TARGET.arch = ""):{
QMAKE_TARGET.arch isn't set properly on Linux.
} # eval } # unix