Link Error Migrating App from 100.1.0 to 100.5.0

Discussion created by farschr_L3 on May 23, 2019
Latest reply on May 30, 2019 by farschr_L3

I have an existing application that was developed and run on the following:

(1) RHEL 7.2 WS

(2) Qt 5.9.1

(3) devtoolset-4

(4) ArcGIS Runtime SDK for Qt 100.1.0


I've upgraded to use the following:

(1) RHEL 7.5 WS

(2) Qt 5.12.3

(3) devtoolset-4

(4) ArcGIS Runtime SDK for Qt 100.5.0


I changed the .pro file to use: ARCGIS_RUNTIME_VERSION = 100.5


When building I'm getting some warnings that setSelectionColor() is deprecated -- I see there is blog to address this issue. But at the link stage of the build I'm getting the following error:


~/arcgis/runtime_sdk/qt100.5/sdk/linux/x64/lib/libEsriCommonQt.so: undefined reference to `qt_version_tag@Qt_5.12'

collect2: error: ld returned 1 exit status


According to the requirements (System requirements for 100.5.0—ArcGIS Runtime SDK for Qt | ArcGIS for Developers), 100.5.0 requires Qt 5.12.0 or higher. I've set up my kits accordingly and I see includes to -I/usr/local/Qt-5.12.3/...during compiles, and -L/usr/local/Qt-5.12.3/lib during the link stage.


So what could be the issue?


I appreciate any help with this!