I'm creating an standalone application with QGIS 3.0,I want to add mbtiles 
data,I use 
QgsRasterLayer *layer = new QgsRasterLayer(filePath,fileName,"gdal");
but layer->isValid()    is  false,the error has two messages
1.Cannot open GDAL dataset, "c:\XXXXXX\*.mbtiles" not recognized as a supported 
file format.
2.Provider is not valid(provider:gdal)

so what's wrong with it

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to