i am trying to load a simple tif file as a raster layer with my qtcreator,
it was working fine with me before updating my ubuntu from 11.04 to 12.10
i keep getting "QgsRasterLayer::loadProviderLibrary: Failed to load"

QgsRasterLayer * mypLayer = new QgsRasterLayer(src,base);

    if (mypLayer->isValid())/// always return invalid layer with ubuntu
12.10 but it is workin fine with ubuntu 11.04
    {
        emit error("Layer is valid");
    }
    else
    {
        emit error("Layer is NOT valid");
        return;
    }

how can i fix this problem ?
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to