Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Downgrading Qt project build in VS 2015 to VS2012
QtWS25 Last Chance

Downgrading Qt project build in VS 2015 to VS2012

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtmsvc2015vs2015vs2012compile-error
3 Posts 2 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    theqtsupporter
    wrote on 9 Jul 2016, 03:13 last edited by
    #1

    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?

    N 1 Reply Last reply 9 Jul 2016, 11:12
    0
    • T theqtsupporter
      9 Jul 2016, 03:13

      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?

      N Offline
      N Offline
      Ni.Sumi
      wrote on 9 Jul 2016, 11:12 last edited by Ni.Sumi 7 Sept 2016, 11:14
      #2

      @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.

      1 Reply Last reply
      2
      • T Offline
        T Offline
        theqtsupporter
        wrote on 10 Jul 2016, 05:13 last edited by theqtsupporter 7 Oct 2016, 05:19
        #3

        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!

        1 Reply Last reply
        0

        3/3

        10 Jul 2016, 05:13

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved