I'am have no experiences with writin C++ apps but on the python side you have to set the prefix paths and init qgis at app start. Otherwise you'll get strange errors, like yours.
 
QgsApplication.prefixPath() --> get your path from a working QGIS python console
 
QgsApplication.setPrefixPath(<path>, True)
QgsApplication.initQgis()
 
Hope this helps.
 
 
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to