Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt 5.9 x32 with msVC 2017
QtWS25 Last Chance

Qt 5.9 x32 with msVC 2017

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
msvc2017qt5.9
13 Posts 4 Posters 12.9k 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.
  • km2442K Offline
    km2442K Offline
    km2442
    wrote on last edited by
    #1

    Hello, I want to use msvc2017 x32 with Qt 5.9. I heard that msvc2015 x32 package can work with VC2017. How should I configure Creator to makie it work? Qt Creator don't recognse any compilers with VS2017 installed :(

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Since you are using Qt 5.9 anyway, why not install the VS2017 version of Qt 5.9 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Maybe a silly question, did you the C++ option when installing Visual Studio ? It's not on by default.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        2
        • km2442K Offline
          km2442K Offline
          km2442
          wrote on last edited by
          #4

          Hi @SGaist there is no x32 package for msvc 2017.
          Yes I have ticked c++ option while installing VS 2017

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Did you use the online installer or the offline ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • km2442K Offline
              km2442K Offline
              km2442
              wrote on last edited by
              #6

              I'm using the online installer for Qt and VS

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                You'll have to build it yourself. Pre-Built package for VS2017 is only provided in 64 bit (see this comment).

                However, if you'd rather avoid self-compiling Qt, you an use the 32Bit VS2015 build with 2017. VS2017 is the first version of Visual Studio that is backward compatible. But it's only valid for VS2015.

                You'll have to clone the kit and configure it to use the VS2017 compiler.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                3
                • km2442K Offline
                  km2442K Offline
                  km2442
                  wrote on last edited by
                  #8

                  Ok, Is there any step-by-step? I'm not sure If I can do it well :/

                  1 Reply Last reply
                  0
                  • EddyE Offline
                    EddyE Offline
                    Eddy
                    wrote on last edited by
                    #9

                    for cloning:
                    go to options in qt creator > kits , select a kit and you should have a clone button. then on the result change the needed details.

                    Qt Certified Specialist
                    www.edalsolutions.be

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      It's all in the documentation but like I wrote before, you can use the VS2015 pre-built with the VS2017 compiler which is likely the simplest way.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      Cobra91151C 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        It's all in the documentation but like I wrote before, you can use the VS2015 pre-built with the VS2017 compiler which is likely the simplest way.

                        Cobra91151C Offline
                        Cobra91151C Offline
                        Cobra91151
                        wrote on last edited by Cobra91151
                        #11

                        @SGaist

                        Hi! If compile Qt 5.7.1 source from VS 2017, it create x86 and x64 pre-built packages, will it work? Or should I only use VS 2017 with Qt 5.9 and also build for x86 packages?

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          @Cobra91151 Qt 5.9 is the first version officially supporting VS2017 although you can try to build older version as well but you may encounter problems.

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          Cobra91151C 1 Reply Last reply
                          0
                          • SGaistS SGaist

                            @Cobra91151 Qt 5.9 is the first version officially supporting VS2017 although you can try to build older version as well but you may encounter problems.

                            Cobra91151C Offline
                            Cobra91151C Offline
                            Cobra91151
                            wrote on last edited by
                            #13

                            @SGaist

                            Thanks. I will try it.

                            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