AnsweredAssumed Answered

macOS Catalina: problem with sample code

Question asked by cswingle on Jul 10, 2020
Latest reply on Aug 6, 2020 by cswingle

I recently upgraded the operating system on my laptop to Catalina (10.15.5), XCode (11.5) and the latest QT (5.15.0), QT Creator (4.12.4), and the 100.8 version SDK. When I build, and then run the Features/FeatureLayer_GeoPackage code example from the git repository I get this error at run time:

 

qrc:/Samples/Features/FeatureLayer_GeoPackage/FeatureLayer_GeoPackage.qml:48: TypeError: Property 'createWgs84' of object [object Object] is not a function

 

The same code works fine on my Linux desktop at work, and presumably elsewhere. The kit I'm using has qmake at ~/Qt/5.15.0/clang_64/bin/qmake and CMake from /usr/local/bin/cmake (version 3.17.3), which was installed using homebrew.

 

I tried uninstalling all versions of the SDK, removing all the configuration files from ~/.config/EsriRuntimeQt and ~/.config/QtProject, then reinstalling the SDK, but I get the same issue. Can anyone suggest a path forward? Happy to provide more information if it would help.

 

Chris

Outcomes