QT5 (VisualStudio2012 addin) won't link
-
Well the variable _MSC_VER holds the compilers version number. 1600 is for vs2010 and 1700 is for vs2012.
"MSDN _MSC_VER definition":http://msdn.microsoft.com/en-us/library/b0084kay.aspx
"This might help some...":http://stackoverflow.com/questions/4061929/help-with-linker-error-lnk2038
Also, the install for the Qt libraries is compiled for 2010 not 2012.
-
so basically there is an addin for vs2012 but vs2012 itself is not supported -.-
i guess the easiest solution would be installing vs2010? is the express version enough as it should bring everything compilerrelated with it?
e: nope, and i have no idea how i would do that. i think i remember seeing a tutorial for that yesterday (even though i can't find it now) but i think there where quite some needed tools and i really don't wanna mess up my whole system with compilers and stuff for one use...
-
qt creator does not want my vs2012 compiler as well.. i tried mingw, didn't work out as well. (no compiler found, even if the correct kit is selected).
guess i would have to use 4.8 with minggw for that. but i try compiling it, i guess i migth be using qt even after those university exercises^^ always wanted to get into gui programming and not only cmd programms...
-
so, i build qt5 (i think succesfully as i had no errors)
but again, another linker error that says:"Qt5Guid5.lib cannot ne opened". and well in the path where it trys to open this file it doesn't exist. There is one Qt5Gui.lib and a Qt5Guid.lib bot no Qt5Guid5.lib...
the path is: C:\qt-source\qt5\qtbase\lib\Qt5Guid5.lib and the q path is set to the qtbase folder.
e: found the bug report... i guess i can just change that in the linker settings.
e2: yep, working as it should :)