AnsweredAssumed Answered

QML error: Unable to assign MapQuickView to QMLMapView

Question asked by wguidry on Jul 17, 2018
Latest reply on Jul 18, 2018 by wguidry

I used the ESRI template to create a basic QML/C++ Test app to learn QML. I wanted to then experiment adding my own custom scale bar to the map (I'm using Runtime 100.1 with QT 5.8) and was attempting to follow the guidance in:


I created the scale bar; however, when I attempt to assign it from my main qml file when its running I receive the error: "Unable to assign ESRI::ArcGISRuntime::MapQuickView to QMLMapView" at the map:mapview line below.


The main QML looks like:


import QtQuick 2.6

import QtQuick.Controls 1.4

import Esri.Test 1.0







        anchors.fill: parent

        objectName: "mapView"








I've googled the error and looked over ESRI forums, but don't see any mention of this error.


No code was changed from the sample on the C++ side or the scale bar itself. What am I missing?