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. Prebuild Qt 32 Bit versions for Visual Studio 2017?
QtWS25 Last Chance

Prebuild Qt 32 Bit versions for Visual Studio 2017?

Scheduled Pinned Locked Moved Unsolved General and Desktop
15 Posts 12 Posters 14.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.
  • B Offline
    B Offline
    blgis
    wrote on 22 Jun 2017, 07:21 last edited by
    #1

    The Qt Installer only offers "msvc2017 64-bit", "UWP x86 (MSVC2017)" and "UWP x64 (MSVC2017)" versions for Qt 5.9, but no "msvc2017 32-bit" version.

    It seems the 32 bit Qt versions build for Visual Sudio 2015 works with Visual Studio 2017 too. I tested this with Qt 5.6.2 "msvc2015 32-bit" from the Qt Installer. The program compiles with VS 2017 and it seems to work without problems. So the question is, can the Qt 32 bit versions build for Visual Studio 2015 be used for Visual Studio 2017 without problems too? Are the compilers of VS2015 and VS 2017 ABI compatible?

    M 1 Reply Last reply 22 Jun 2017, 07:34
    0
    • B blgis
      22 Jun 2017, 07:21

      The Qt Installer only offers "msvc2017 64-bit", "UWP x86 (MSVC2017)" and "UWP x64 (MSVC2017)" versions for Qt 5.9, but no "msvc2017 32-bit" version.

      It seems the 32 bit Qt versions build for Visual Sudio 2015 works with Visual Studio 2017 too. I tested this with Qt 5.6.2 "msvc2015 32-bit" from the Qt Installer. The program compiles with VS 2017 and it seems to work without problems. So the question is, can the Qt 32 bit versions build for Visual Studio 2015 be used for Visual Studio 2017 without problems too? Are the compilers of VS2015 and VS 2017 ABI compatible?

      M Offline
      M Offline
      m.sue
      wrote on 22 Jun 2017, 07:34 last edited by
      #2

      Hi @blgis

      VS 2015 and 2017 are binary compatible. That is an official claim by Microsoft. You can read some statements (and self-praise :-) about it in the VS blog: https://blogs.msdn.microsoft.com/vcblog/2017/03/07/binary-compatibility-and-pain-free-upgrade-why-moving-to-visual-studio-2017-is-almost-too-easy/

      -Michael.

      1 Reply Last reply
      4
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 22 Jun 2017, 07:34 last edited by
        #3

        Hi and welcome to devnet,

        Yes, VS2017 is the first version of Visual Studio that is backward compatible but only with VS2015.

        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
        • D Offline
          D Offline
          deleted57
          wrote on 16 Nov 2017, 11:26 last edited by
          #4

          I had the same question. But if Visual Studio 2015/2017 are binary compatible why a 64 bit version of libraries for VS2017 has been released?

          J 1 Reply Last reply 16 Nov 2017, 13:11
          0
          • D deleted57
            16 Nov 2017, 11:26

            I had the same question. But if Visual Studio 2015/2017 are binary compatible why a 64 bit version of libraries for VS2017 has been released?

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 16 Nov 2017, 13:11 last edited by
            #5

            @Suppaman said in Prebuild Qt 32 Bit versions for Visual Studio 2017?:

            why a 64 bit version of libraries for VS2017 has been released

            Why not?
            If 64bit build for VS2017 would not be there than many people would ask "why isn't it available? How can I use Qt with VS2017?..."

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

            K 1 Reply Last reply 17 Nov 2017, 04:43
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 16 Nov 2017, 13:28 last edited by
              #6

              Because that's the current officially supported compiler by Microsoft and while being binary compatible, these two compilers are different with new features supported and bug fixes going in VS2017.

              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
              1
              • J jsulm
                16 Nov 2017, 13:11

                @Suppaman said in Prebuild Qt 32 Bit versions for Visual Studio 2017?:

                why a 64 bit version of libraries for VS2017 has been released

                Why not?
                If 64bit build for VS2017 would not be there than many people would ask "why isn't it available? How can I use Qt with VS2017?..."

                K Offline
                K Offline
                kwLininger
                wrote on 17 Nov 2017, 04:43 last edited by
                #7

                @jsulm my guess is he meant to write "why only a 64 bit version..." since there's no 32 bit version offered. Searching for a reason for the lack of a 32 bit msvc2017 is what brought me here.

                A 1 Reply Last reply 17 Nov 2017, 06:04
                0
                • K kwLininger
                  17 Nov 2017, 04:43

                  @jsulm my guess is he meant to write "why only a 64 bit version..." since there's no 32 bit version offered. Searching for a reason for the lack of a 32 bit msvc2017 is what brought me here.

                  A Offline
                  A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on 17 Nov 2017, 06:04 last edited by
                  #8

                  @kwLininger said in Prebuild Qt 32 Bit versions for Visual Studio 2017?:

                  Searching for a reason for the lack of a 32 bit msvc2017 is what brought me here.

                  The reason is simply the lack of resouces. if you provide a installer, you not only have to compile and package it, but you also have to test the package. this is also a manual task and has to be repeatet for IIRC 5 installers on Windows currently.

                  Nevertheless, you can of course compile your own 32 bit version yourself.

                  Qt has to stay free or it will die.

                  1 Reply Last reply
                  2
                  • N Offline
                    N Offline
                    NoRulez
                    wrote on 21 Mar 2018, 11:48 last edited by
                    #9

                    But I don't think this is only because of "resources". E.g: UWP is also available for (MSVC2017 32 and 64 bit)
                    So, if any Qt guy would read this.....please add a 32-bit Visual Studio 2017 version too. This is a blocker for us and we want to use the online installer and not to build it manually by ourself. We are also commercial customers.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      aha_1980
                      Lifetime Qt Champion
                      wrote on 21 Mar 2018, 12:03 last edited by
                      #10

                      @NoRulez said in Prebuild Qt 32 Bit versions for Visual Studio 2017?:

                      But I don't think this is only because of "resources". E.g: UWP is also available for (MSVC2017 32 and 64 bit)
                      So, if any Qt guy would read this.....please add a 32-bit Visual Studio 2017 version too. This is a blocker for us and we want to use the online installer and not to build it manually by ourself. We are also commercial customers.

                      Then you should state this to the Qt support. This is a community driven user-to-user forum; we cannot help you in that regard.

                      Qt has to stay free or it will die.

                      1 Reply Last reply
                      1
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 21 Mar 2018, 12:37 last edited by
                        #11

                        @NoRulez yes it is, there are lots of discussions around that topic on the mailing lists.

                        Do you realise how many packages are released for Windows only ? Currently, MinGW32, MSVC2015 32bit, MSVC2017 64bit, Android, WinRT. All of them are tested by people before being released. The CI is already under heavy pressure to do all the integration builds as well as the packages content creation. VS2017 being backward compatible with VS2015 you can use it with the 32bit build of Qt.

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

                        G 1 Reply Last reply 18 Apr 2018, 10:55
                        2
                        • S SGaist
                          21 Mar 2018, 12:37

                          @NoRulez yes it is, there are lots of discussions around that topic on the mailing lists.

                          Do you realise how many packages are released for Windows only ? Currently, MinGW32, MSVC2015 32bit, MSVC2017 64bit, Android, WinRT. All of them are tested by people before being released. The CI is already under heavy pressure to do all the integration builds as well as the packages content creation. VS2017 being backward compatible with VS2015 you can use it with the 32bit build of Qt.

                          G Offline
                          G Offline
                          GingerMoon
                          wrote on 18 Apr 2018, 10:55 last edited by SGaist
                          #12

                          Dear @SGaist
                          I am trying to use grpc in QT.
                          I met the link error below (sorry that it's Chinese...):
                          crypto.lib(windows.obj):-1: error: LNK2019: 无法解析的外部符号 _SystemFunction036@8,该符号在函数 _CRYPTO_sysrand 中被引用

                          Actually crypto.lib was build via VS2017 Win32 according to the grpc document(the part "cmake: Using Visual Studio 2015 or 2017..."), however, since there is no Kit for VS2017 32 bit, so I use Kit 2015 32 bit instead and get this link error.

                          So it seems that we still net QT 32 bit for VS2017... am I right?
                          Any insight would be very much appreciated!

                          [edit: moved all answers to newly created thread]

                          1 Reply Last reply
                          0
                          • P Offline
                            P Offline
                            paveo
                            wrote on 23 May 2018, 15:06 last edited by paveo
                            #13
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • EatonCodeE Offline
                              EatonCodeE Offline
                              EatonCode
                              wrote on 9 Jun 2018, 02:01 last edited by EatonCode 6 Sept 2018, 02:01
                              #14

                              We are working on a WebEngine project and I like to upgrade to Qt 5.11 We want to release 32bit and 64 bit on windows.

                              https://wiki.qt.io/New_Features_in_Qt_5.11

                              It seems MSVC 2013 and 2015 are no longer supported when building Qt Engine.

                              "Qt WebEngine on Windows now requires MSVC 2017 to compile"

                              Does this mean 64bit only?

                              1 Reply Last reply
                              0
                              • Christian EhrlicherC Offline
                                Christian EhrlicherC Offline
                                Christian Ehrlicher
                                Lifetime Qt Champion
                                wrote on 9 Jun 2018, 06:28 last edited by
                                #15

                                Just build Qt by your own to get 32Bit with VS2017.

                                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                                Visit the Qt Academy at https://academy.qt.io/catalog

                                1 Reply Last reply
                                2

                                • Login

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