I am working on ArcGIS 100.1 Quartz Qt. I created a gpk on ArcMap 10.5. When gpk is not having any inputs, I am getting result from gpk running on Qt Quartz application. I created a gpk which takes raster(tif) and feature layer as input. On computation of gpk I am getting task failed case.
I gave input raster as
inputs["InputRaster"] = new GeoprocessingRaster(QUrl("/home/sau/Work/Bhargav/40m4.tif"),"tif", this);
I gave input feature layer as stated in sample code.
How to give this raster and feature layer as input to gpk in Quartz Qt 100.1 application?