I think I know the reason.
The plugin dir must be set
  QString myPluginsDir        = "/usr/local/lib/qgis/plugins";
  QString myLayerPath         = "dev/cpp/shape/bou1_4l.shp";
  QString myLayerBaseName     = "bou1";
  QString myProviderName      = "ogr";

Thinks for your attention.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/run-QGIS-C-application-Failed-to-load-tp5097056p5097061.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to