Hi, I want to use createObject for change Basemap, but I got error.
That error is:
[ TypeError: Property 'createObject' of object [object Object] is not a function ]
I try to copy for sample code, but got a same error.
Why get this error?
I use ArcGIS ver100.8 , Qt 1.15.0 ,and MSVC2019.
How do I deal with this?
Solved! Go to Solution.
This is due to a change in Qt starting at 5.15. The solution is to either stick with Qt 5.15 and upgrade to Runtime 100.9, or if you need to stick with Runtime 100.8, downgrade Qt versions to 5.12/13/14.
Details on this change are highlighted in this blog - https://community.esri.com/t5/arcgis-runtime-sdks-blog/qml-api-breaking-changes-with-5-15/ba-p/88865...
This is due to a change in Qt starting at 5.15. The solution is to either stick with Qt 5.15 and upgrade to Runtime 100.9, or if you need to stick with Runtime 100.8, downgrade Qt versions to 5.12/13/14.
Details on this change are highlighted in this blog - https://community.esri.com/t5/arcgis-runtime-sdks-blog/qml-api-breaking-changes-with-5-15/ba-p/88865...
Oh, I see...
I downgraded Qt version to 5.14.
Thanks.