Select to view content in your preferred language

Cannot Move createObject

890
2
Jump to solution
01-12-2021 11:16 PM
Tkm_Knj
New Contributor

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?

 

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

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...

View solution in original post

0 Kudos
2 Replies
LucasDanzinger
Esri Frequent Contributor

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...

0 Kudos
Tkm_Knj
New Contributor

Oh, I see...

I  downgraded Qt version to 5.14.

Thanks.

0 Kudos