Compiling standalone QGIS application with qtopia core

hi everyone,

i finnaly got it compiled against the QGis header files. but now there is the following error:

main.cpp:54: error: ‘class QgsVectorLayer’ has no member named ‘setVisible’
main.cpp:63: error: no matching function for call to ‘QgsMapCanvas::setLayerSet(std::deque >&)’
/home/saravanan/QGIS/qgis_one/install_path/include/qgis/qgsmapcanvas.h:106: note: candidates are: void QgsMapCanvas::setLayerSet(QList&)
.

i searched in the QgsVectorLayer API documentation, there is no member called "setVisible(true)" in QgsVectorLayer.

can anyone provide me any suggestion or solutions for this ?

saravanan

Reply