I am building an app using qgis in Windows 7 with VS 2008. It was diagnosed that I must have the wrong versions of the libraries because of a potential name mangling problem. I have 12 unresolved externals and I can find them in gis_core by micreosoft name. Does anyone have a different library for me to link to?
Does your project have the option Treat wchar_t as a built-in type turned on?
Assuming QGIS is built against a default version of Qt on Windows, Qt has Treat wchar_t as a built-in type turned off. So the library you're linking with probably has no idea what wchar_t is
Another thing to note is that Qt is more than just a C++ library/framework. It uses its own pre-compiler (moc) to set up reflection and signals/slots in your classes. If you created your project in raw Visual Studio, it won't know to run moc against your code first before compiling it. Whereas QtCreator or a project created by Qt's Visual Studio addin does.
|show 2 more comments|