I am migrating a project from MInGW to MSVC, originaly it was a Qt Creator project. I have imported the project to Visual Studio and after linking all the static librairies, verified the version etc, I get an error at compilation in the .obj files as follow :
LNK2001 symbole externe non résolu "private: static class QList<class QGLViewer *> QGLViewer::QGLViewerPool_" (?QGLViewerPool_@QGLViewer@@0V?$QList@PEAVQGLViewer@@@@A) MoProViewer2 E:crm2moproviewer-msvcInterface.obj
I had the same error before, (5972 errors to be exact) and after adding the library libQGLViewer2.lib to the linker etc it went down to 188 of these error messages. I have checked I should have the right version that I built myself using MSVC but now I dont know what to do to resolve these missing external symbols.