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. QT 5.12 make Mingw 32 release
QtWS25 Last Chance

QT 5.12 make Mingw 32 release

Scheduled Pinned Locked Moved Solved General and Desktop
29 Posts 11 Posters 13.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.
  • A Offline
    A Offline
    AmrCoder
    wrote on 10 Dec 2018, 15:30 last edited by
    #3

    Yes i know but is there a way to make a 32 release from the 64 there is something like this here
    they add the -m32 to the compiler and it makes a 32 release and then tests by checking the

    sizeof(size_t)
    

    if it's 4 for 32 or 8 for 64, I already test by adding this to the argument in QT but it did not work

    M 1 Reply Last reply 10 Dec 2018, 15:45
    0
    • A AmrCoder
      10 Dec 2018, 15:30

      Yes i know but is there a way to make a 32 release from the 64 there is something like this here
      they add the -m32 to the compiler and it makes a 32 release and then tests by checking the

      sizeof(size_t)
      

      if it's 4 for 32 or 8 for 64, I already test by adding this to the argument in QT but it did not work

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 10 Dec 2018, 15:45 last edited by
      #4

      @AmrCoder
      well the Qt DLL files are still 64bit and a 32 bit app wont load them.
      But yes, its the same thing as link show.
      You just have to compile ALL of Qt to get same effect :)

      I think using 5.11.3 might be faster than compiling a new Qt but
      if you already have all dependencies and a powerfull pc, its
      not the biggest task.

      1 Reply Last reply
      3
      • A Offline
        A Offline
        AmrCoder
        wrote on 10 Dec 2018, 15:48 last edited by
        #5

        the last question please, is there any chance for 32 version in the next versions QT 5.12.1 for example or it will be only 64?

        M 1 Reply Last reply 10 Dec 2018, 15:51
        0
        • A AmrCoder
          10 Dec 2018, 15:48

          the last question please, is there any chance for 32 version in the next versions QT 5.12.1 for example or it will be only 64?

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 10 Dec 2018, 15:51 last edited by
          #6

          @AmrCoder
          Most likely only 64 bit.

          1 Reply Last reply
          1
          • N Offline
            N Offline
            nayk
            wrote on 11 Dec 2018, 09:36 last edited by
            #7

            I build Qt 5.12 with MinGW 7.3.0 32bit from source. Download: link

            1 Reply Last reply
            5
            • A Offline
              A Offline
              AmrCoder
              wrote on 11 Dec 2018, 12:08 last edited by
              #8

              I download it and add it to my QT 5.12 and it worked perfectly, really I appreciated that many thanks for you <3 and i hope they make a 32 bit release in the next versions if there is a way we can make a suggestion because most of us need our apps to be in 32 bit release, Thanks again @nayk

              A 1 Reply Last reply 17 Dec 2018, 06:52
              0
              • N Offline
                N Offline
                nayk
                wrote on 11 Dec 2018, 14:08 last edited by
                #9

                you are welcome

                1 Reply Last reply
                1
                • M Offline
                  M Offline
                  max.chen
                  wrote on 16 Dec 2018, 14:40 last edited by
                  #10

                  Hi nayk,

                  I download it and add it to my QT 5.12 , but When i run the app i get some error about this:

                  qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
                  

                  Where have I not set up?

                  N 1 Reply Last reply 17 Dec 2018, 01:53
                  0
                  • A Offline
                    A Offline
                    AmrCoder
                    wrote on 16 Dec 2018, 19:50 last edited by
                    #11

                    I solve it by copying the folder of the 5.12.0\mingw73_32\plugins\platforms to the same folder that has the exe programe if there is a solution to solve it without this it will be better

                    L 1 Reply Last reply 30 Dec 2018, 10:46
                    0
                    • M max.chen
                      16 Dec 2018, 14:40

                      Hi nayk,

                      I download it and add it to my QT 5.12 , but When i run the app i get some error about this:

                      qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
                      

                      Where have I not set up?

                      N Offline
                      N Offline
                      nayk
                      wrote on 17 Dec 2018, 01:53 last edited by
                      #12

                      @max.chen try copying the "platforms/qwindows.dll" file to the application subdirectory "platforms".
                      qwindows.dll - for release mode, qwindowsd.dll - for debug mode.
                      Other plugins libraries may also be needed for you application.

                      1 Reply Last reply
                      1
                      • N Offline
                        N Offline
                        nayk
                        wrote on 17 Dec 2018, 02:05 last edited by nayk
                        #13

                        I compiled this version with OpenSSL 1.1.1a and put the necessary dll in the "_dll_for_app" directory (libcrypto-1_1.dll, libssl-1_1.dll). OpenSSL is used by Qt5Network for https connections.
                        MySql 5.6 - for MySQL Qt plugin
                        PosgreSQL 9.6.11 - for PostgreSQL Qt plugin

                        1 Reply Last reply
                        2
                        • A AmrCoder
                          11 Dec 2018, 12:08

                          I download it and add it to my QT 5.12 and it worked perfectly, really I appreciated that many thanks for you <3 and i hope they make a 32 bit release in the next versions if there is a way we can make a suggestion because most of us need our apps to be in 32 bit release, Thanks again @nayk

                          A Offline
                          A Offline
                          aha_1980
                          Lifetime Qt Champion
                          wrote on 17 Dec 2018, 06:52 last edited by aha_1980
                          #14

                          @AmrCoder said in QT 5.12 make Mingw 32 release:

                          I download it and add it to my QT 5.12 and it worked perfectly, really I appreciated that many thanks for you <3 and i hope they make a 32 bit release in the next versions if there is a way we can make a suggestion because most of us need our apps to be in 32 bit release,

                          You should write a mail to the Interest mailing list or directly create a suggestion in Jira.

                          In either case, please provide a link here, so we can follow the discussion. Thanks!

                          Edit: Follow-up: https://lists.qt-project.org/pipermail/interest/2018-December/031798.html

                          Qt has to stay free or it will die.

                          1 Reply Last reply
                          1
                          • A AmrCoder
                            16 Dec 2018, 19:50

                            I solve it by copying the folder of the 5.12.0\mingw73_32\plugins\platforms to the same folder that has the exe programe if there is a solution to solve it without this it will be better

                            L Offline
                            L Offline
                            Longxr
                            wrote on 30 Dec 2018, 10:46 last edited by
                            #15

                            @AmrCoder 0_1546166691925_TIM截图20181230184431.png Add this environment variable

                            1 Reply Last reply
                            1
                            • KATO2K Offline
                              KATO2K Offline
                              KATO2
                              wrote on 6 Feb 2019, 21:42 last edited by
                              #16

                              the solution proposed by @nayk works very well, however this is a partial solution, because each time you want to update Qt, you need to build a new version of Qt for x32. I think there is a way to cross compile your application using mingw-64w, but i don't know how to do that. Maybe someone can instruct us how to do it!

                              jsulmJ 1 Reply Last reply 7 Feb 2019, 06:14
                              0
                              • KATO2K KATO2
                                6 Feb 2019, 21:42

                                the solution proposed by @nayk works very well, however this is a partial solution, because each time you want to update Qt, you need to build a new version of Qt for x32. I think there is a way to cross compile your application using mingw-64w, but i don't know how to do that. Maybe someone can instruct us how to do it!

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on 7 Feb 2019, 06:14 last edited by
                                #17

                                @KATO2 Why do you want to cross compile? Just use MinGW32 to build Qt.

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

                                KATO2K 1 Reply Last reply 8 Feb 2019, 16:11
                                1
                                • sierdzioS Offline
                                  sierdzioS Offline
                                  sierdzio
                                  Moderators
                                  wrote on 7 Feb 2019, 06:27 last edited by
                                  #18

                                  FYI: Qt 5.12.2 will ship with Mingw 32 packages included. UWP packages will be dropped.

                                  (Z(:^

                                  KATO2K 1 Reply Last reply 9 Feb 2019, 15:51
                                  4
                                  • jsulmJ jsulm
                                    7 Feb 2019, 06:14

                                    @KATO2 Why do you want to cross compile? Just use MinGW32 to build Qt.

                                    KATO2K Offline
                                    KATO2K Offline
                                    KATO2
                                    wrote on 8 Feb 2019, 16:11 last edited by
                                    #19

                                    @jsulm official QT 5.12.0 and QT 5.12.1 includes only MinGW 64, not MinGW 32 version was included.

                                    A 1 Reply Last reply 8 Feb 2019, 21:07
                                    0
                                    • KATO2K KATO2
                                      8 Feb 2019, 16:11

                                      @jsulm official QT 5.12.0 and QT 5.12.1 includes only MinGW 64, not MinGW 32 version was included.

                                      A Offline
                                      A Offline
                                      aha_1980
                                      Lifetime Qt Champion
                                      wrote on 8 Feb 2019, 21:07 last edited by
                                      #20

                                      @KATO2 Correct. Nevertheless, that's compiling Qt from source, not cross-compiling.

                                      Qt has to stay free or it will die.

                                      1 Reply Last reply
                                      1
                                      • sierdzioS sierdzio
                                        7 Feb 2019, 06:27

                                        FYI: Qt 5.12.2 will ship with Mingw 32 packages included. UWP packages will be dropped.

                                        KATO2K Offline
                                        KATO2K Offline
                                        KATO2
                                        wrote on 9 Feb 2019, 15:51 last edited by
                                        #21

                                        @sierdzio That is super! I hope it will be release soon.

                                        A 1 Reply Last reply 11 Feb 2019, 05:58
                                        1
                                        • KATO2K KATO2
                                          9 Feb 2019, 15:51

                                          @sierdzio That is super! I hope it will be release soon.

                                          A Offline
                                          A Offline
                                          aha_1980
                                          Lifetime Qt Champion
                                          wrote on 11 Feb 2019, 05:58 last edited by
                                          #22

                                          @KATO2 I'd say it may take four weeks until 5.12.2

                                          So if you are in a hurry, you can still consider building Qt yourself.

                                          Qt has to stay free or it will die.

                                          T 1 Reply Last reply 3 Mar 2019, 16:23
                                          1

                                          • Login

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