Downgrading Qt project build in VS 2015 to VS2012



  • Hi,

    I am building a Qt based project with VS 2015 (with Qt addin 1.2.5) and Qt 5.6.0 msvc2015. But I would like to downgrade the VS2015 to VS2012, which by changing the Platform toolset in the project configuration properties, and changing the Qt project setting to the Qt 5.5.1 msvc2012. But this does not compile successfully, in fact, it compiles with the error

    Severity	Code	Description	Project	File	Line	Suppression State
    Error	MSB6006	"cmd.exe" exited with code -1073741511.	Safebox_Project	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets	172	
    

    Am finding the solution since days ago and unable to find anything useful, any chance some expert here can enlighten me up?



  • @theqtsupporter

    Having different versions of the visual studio is not good some times. Same Qt libraries with different Vs versions are not compatible just by changing the VS version. And did you install Qt 5.5.1 with msvc 2012 on your machine?

    If you are working with msvc2012, then you must have the Qt 5.5.1with msvc 2012.



  • Yup, I am fully aware of that, and I have the Qt 5.5.1 version of msvc2012 in my machine. Downgrading the VS version together with downgrading the Qt version as well.

    The reason I am trying to use an older version of VS to compile is to allow my client to easily activate and install my application instead of going through the hassles installing the VS 2015 redistributable packages (which requires windows update on Win7 machine, else it will stuck on the Windows7_MSU_x64 installation part), and with VS2012 redistributable packages, installation will not be a problem (recent installed win 7 machine should 100% compatible with the package).

    But it works now for me, there are just some problems with the redistributable packages installed in my pc (2012 version) and uninstalling and reinstalled works just perfect now.

    Thanks!



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.