I'm trying to use the runtime sdk to load a shapefile and dynamically change the geometry shown by querying the attribute table. I created an EsriRuntimeQt::LocalFeatureService for an "empty" mpk file and added the Shapefile using the approach from QtSampleApplication_10.2.6_win64 to a ArcGISDynamicMapServiceLayer. Then I created a local Feature service (pointing to the same mpk-file) and created a FeatureLayer in the slot called on layerCreateComplete().
But creating a FeatureLayer in this method like
m_featureLayer = new EsriRuntimeQt::ArcGISFeatureLayer(m_dynamicLocalServiceLayer->url()+"/0",this);
m_map->addLayer(m_featureLayer); connect(m_featureLayer, SIGNAL(layerCreateComplete()), this, SLOT(onFeatureLayerCreateComplete()));
connect(m_featureLayer, SIGNAL(layerCreateError(QString)), this, SLOT(onFeatureLayerCreateError(QString)));
fails. None of the slots above is called.
What am I missing?