Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to update to VS2017&Qt5.11.1 from VS2012&Qt5.5.1 ?
Forum Update on Monday, May 27th 2025

How to update to VS2017&Qt5.11.1 from VS2012&Qt5.5.1 ?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 3 Posters 2.1k 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.
  • L Offline
    L Offline
    Lincoln_SNC
    wrote on last edited by
    #1

    There is an old solution based on VS2012 & Qt5.5.1. I tried to open it with the new environment VS2017&Qt5.11.1. Then VS2017 asked me if to switch the platform toolset to "Visual Studio 2017 - Windows XP (v141_xp)"(the old one is "Visual Studio 2012 - Windows XP (v110_xp)"). I selected yes, then build the solution with many errors. Then I recovered the platform toolset to Visual Studio 2012 - Windows XP (v110_xp) and set Qt versions to 5.5.1, then the building was successful on VS2017.

    So, my question is that is it possible to move the old project to VS2017+Qt5.11.1 from VS2012+Qt5.5.1(I doubt it's impossible due to compatibility problem)? If yes, how? Many thanks!

    jsulmJ JKSHJ 2 Replies Last reply
    0
    • L Lincoln_SNC

      There is an old solution based on VS2012 & Qt5.5.1. I tried to open it with the new environment VS2017&Qt5.11.1. Then VS2017 asked me if to switch the platform toolset to "Visual Studio 2017 - Windows XP (v141_xp)"(the old one is "Visual Studio 2012 - Windows XP (v110_xp)"). I selected yes, then build the solution with many errors. Then I recovered the platform toolset to Visual Studio 2012 - Windows XP (v110_xp) and set Qt versions to 5.5.1, then the building was successful on VS2017.

      So, my question is that is it possible to move the old project to VS2017+Qt5.11.1 from VS2012+Qt5.5.1(I doubt it's impossible due to compatibility problem)? If yes, how? Many thanks!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Lincoln_SNC What errors did you get?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply
      0
      • L Lincoln_SNC

        There is an old solution based on VS2012 & Qt5.5.1. I tried to open it with the new environment VS2017&Qt5.11.1. Then VS2017 asked me if to switch the platform toolset to "Visual Studio 2017 - Windows XP (v141_xp)"(the old one is "Visual Studio 2012 - Windows XP (v110_xp)"). I selected yes, then build the solution with many errors. Then I recovered the platform toolset to Visual Studio 2012 - Windows XP (v110_xp) and set Qt versions to 5.5.1, then the building was successful on VS2017.

        So, my question is that is it possible to move the old project to VS2017+Qt5.11.1 from VS2012+Qt5.5.1(I doubt it's impossible due to compatibility problem)? If yes, how? Many thanks!

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        @Lincoln_SNC said in How to update to VS2017&Qt5.11.1 from VS2012&Qt5.5.1 ?:

        is it possible to move the old project to VS2017+Qt5.11.1 from VS2012+Qt5.5.1...?

        Maybe.

        See http://doc.qt.io/qt-5/supported-platforms-and-configurations.html -- the last version of Qt that officially supports Windows XP is Qt 5.6. Newer versions might work, but they are not tested and not supported.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        L 1 Reply Last reply
        2
        • jsulmJ jsulm

          @Lincoln_SNC What errors did you get?

          L Offline
          L Offline
          Lincoln_SNC
          wrote on last edited by
          #4

          @jsulm Thanks for your reply!Here are parts of the errors:

          ......
          3>source\QWinHost.cpp(257): error C3861: 'qWinAppInst': identifier not found
          3>QWinWidget.cpp
          3>D:\install\QT2015\5.11.1\msvc2015\include\QtGui/qtgui-config.h(8): warning C4005: 'QT_OPENGL_ES_2_ANGLE': macro redefinition
          3>D:\install\QT2015\5.11.1\msvc2015\include\QtGui/qtgui-config.h(8): note: command-line arguments: see previous definition of 'QT_OPENGL_ES_2_ANGLE'
          3>_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
          3>source\QWinWidget.cpp(65): fatal error C1083: Cannot open include file: 'qpa/qplatformnativeinterface.h': No such file or directory
          3>Generating Code...
          3>Done building project "QtMFCMigFramework.vcxproj" -- FAILED.

          1 Reply Last reply
          0
          • JKSHJ JKSH

            @Lincoln_SNC said in How to update to VS2017&Qt5.11.1 from VS2012&Qt5.5.1 ?:

            is it possible to move the old project to VS2017+Qt5.11.1 from VS2012+Qt5.5.1...?

            Maybe.

            See http://doc.qt.io/qt-5/supported-platforms-and-configurations.html -- the last version of Qt that officially supports Windows XP is Qt 5.6. Newer versions might work, but they are not tested and not supported.

            L Offline
            L Offline
            Lincoln_SNC
            wrote on last edited by
            #5

            @JKSH Thanks for your reply! I downloaded the offline installer "qt-enterprise-windows-x86-msvc2015-5.6.3.exe" since I'm a commercial user. Is it the right version compatible with VS2017? Do I need to build the Qt sources via VS2017 or just use the prebuilt Libs of QT? Thanks!

            jsulmJ 1 Reply Last reply
            0
            • L Lincoln_SNC

              @JKSH Thanks for your reply! I downloaded the offline installer "qt-enterprise-windows-x86-msvc2015-5.6.3.exe" since I'm a commercial user. Is it the right version compatible with VS2017? Do I need to build the Qt sources via VS2017 or just use the prebuilt Libs of QT? Thanks!

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Lincoln_SNC 2015 version should work with VS2017

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

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