[Qgis-developer] run QGIS C++ application "Failed to load"

xmayyang xmayyang at gmail.com
Wed Jan 8 19:55:07 PST 2014

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.

More information about the Qgis-developer mailing list