I have a problem while building a c++ plugin with msvc 9 (VS 2008) on windows xp.<br><br>during linking I receive various errors referring to QMetaObject references like <br><br>*public: static struct QMetaObject const QgisInterface::staticMetaObject&quot; (?staticMetaObject@QgisInterface@@2UQMetaObject@@B)*<br>
<br>I set the following lib folders<br>C:\Osgeo4w\apps\qgis_dev\lib<br>C:\Osgeo4w\lib<br><br>and the dipendencies (first trial was without the complete path for qt):<br>kernel32.lib<br>user32.lib<br>gdi32.lib<br>winspool.lib<br>
shell32.lib<br>ole32.lib<br>oleaut32.lib<br>uuid.lib<br>comdlg32.lib<br>advapi32.lib<br>qgis_core.lib<br>qgis_gui.lib<br>geos_c_i.lib<br>C:\OSGeo4W\lib\qtmain.lib<br>C:\OSGeo4W\lib\QtXml4.lib<br>C:\OSGeo4W\lib\QtCore4.lib<br>
C:\OSGeo4W\lib\QtGui4.lib<br>C:\OSGeo4W\lib\QtNetwork4.lib<br>C:\OSGeo4W\lib\QtSvg4.lib<br>C:\OSGeo4W\lib\proj.lib<br>C:\OSGeo4W\lib\geos_c_i.lib<br>C:\OSGeo4W\lib\gdal_i.lib<br>C:\OSGeo4W\lib\iconv.lib<br><br><br>I don&#39;t understand what the linker needs to resolve that... I see that this specific symbol is exported by qgis_gui.dll... and it&#39;s there.<br>
The general configurations are the same as the one generated by cmake for the other qgis dlls.<br><br>Has anybody faced this problem?<br>thanks,<br>giovanni<br>