Callout example in ArcGIS Qt

Discussion created by abhijeet.satam on Dec 30, 2019
Latest reply on Jan 2, 2020 by LDanzinger-esristaff

1. How to use this example : arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_CppSamples/DisplayInformation/ShowCallout at master · Esri/arcgis-runtime-s…  without any qml code?

2. I am trying to implement this code in pure CPP but the calloutDataChanged() signal is not generated. My guess is that this is occuring because my Component (callout) is not binded to the QProperty.

What is the CPP equivalent for the following qml code in the ShowCallout.qml file???

Callout {
            id: callout
            calloutData: showCalloutSample.calloutData // bind to the property that is exposed
            accessoryButtonHidden: true
            leaderPosition: leaderPositionEnum.Automatic

3. Is there any reason which is causing the code to fail??