i download the gdal from osgeo4w,and i write a demo to open mbtiles file,my code is below
<br><br>QString uri = "c:/test.mbtiles";
<br>CPLErrorRest();
<br>GDALDatasetH hDS = GDALOpen(uri.toUtf8().constData(),GA_ReadOnly);
<br>if(!hDS)
<br>{
<br> .......
<br>}
<br><br>the CPLGetLastErrorMsg() shows the error "C:/test.mbtiles not recognized as a supported file format"
<br>so what's wrong with it? the mbtiles file is good ,i can open it in QGIS 3.0
<br>why it saies not supported?
<br><br><div id="" "="">--------------------------------<br></div><div id=""><a href="http://t.sina.com.cn/2170550500?s=6Im+5Yip6Iqs54m5NTIw" target="_blank"><img style="border: medium none;" src="http://service.t.sina.com.cn/widget/qmd/2170550500/1f582291/1.png" title="°¬Àû·ÒÌØ520"></a></div>