QT 5.1.0 Integration with VS 2012 Cant Build Converted VS 2010 Project(LNK2038: mismatch detected for '_MSC_VER')
I'm having difficulties building a project that I inherited. Specifically, it was a QT 4.8.4 project that was developed in Visual Studio 2010. I have been asked to upgrade the project and am having trouble doing so. I'm now working in Visual Studio 2012 with QT Library 5.1 but after having worked through some linker errors, I've now gotten one that has stumped more than just me and was hoping to find someone with some more experience in the matter!
The full error:
qtmain.lib(qtmain_win.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in authenticate_widget.obj
I understand this is a result of a difference in compilation of some source where it is expecting one version of VS but getting another. Let me know what more information I need to provide so that I can get help in figuring out a solution!
Hi and welcome to devnet,
Just to be on the safe side: are you sure you downloaded Qt 5.1 for MSVC2012 ?
Hello and thank you for the quick response!
Fortunately or unfortunately, depending on how you look at it, I have downloaded and been working with the correct version so that doesn't seem to be the problem. If you have any more suggestions or would like to know more details do let me know!
- Is your project source code only ?
- Did you build it from scratch ?