- Release plans recap for the road to QGIS 1.0
- New version of eVis
- Contour Lines in Qgis
- QGIS and Google Summer of Code
- Quantum GIS Graduates OSGeo Incubation
- Paolo Cavallini Named to QGIS Project Steering Committee
- Nominations for QGIS PSC Open
- Capturing map coordinates in a stand alone app...
- Tutorial 7 - Creating spatial datasets with the QGIS API
- Html Image Plugin 0.2
Cannot compile using tutorial code
Hi Tim,
Im using your tutorial code to learn QGIS with 0.9.1, now when i try to compile a very simplified version of the code i receive the following errors:
In file included from main.cpp:28:
/usr/include/qgis/qgsapplication.h:21: error: function definition does not declare parameters
main.cpp: In function ‘int main(int, char**)’:
main.cpp:33: error: ‘QgsApplication’ was not declared in this scope
main.cpp:33: error: expected `;' before ‘app’
main.cpp:37: error: ‘app’ was not declared in this scope
main.cpp: At global scope:
main.cpp:30: warning: unused parameter ‘argc’
main.cpp:30: warning: unused parameter ‘argv’
make: *** [main.o] Error 1
is this error due to the version im using or the .pro file paths as it seems to be finding the qgsapplication header file?
thanks in advance
nathan.

Recent comments
3 days 13 hours ago
1 week 23 hours ago
1 week 1 day ago
5 weeks 21 hours ago
5 weeks 2 days ago
5 weeks 5 days ago
6 weeks 16 hours ago
8 weeks 3 days ago
10 weeks 1 day ago
11 weeks 1 day ago