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 6.7.0 to 32 bits plataforms
Qt 6.11 is out! See what's new in the release blog

qt 6.7.0 to 32 bits plataforms

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 4 Posters 4.7k 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.
  • J jchaviano

    @Redman
    With this configuration I manage to compile but to compile static how do I do it?
    export PATH="/C/Qt/Tools/CMake_64/bin:$PATH"
    export PATH="/C/Qt/Tools/Ninja:$PATH"
    export PATH="/C/Users/creazy/AppData/Local/Programs/Python/Python312-32:$PATH"
    export PATH="/C/msys64/mingw32/bin:$PATH"

    configure.bat -platform win32-g++ -prefix "C:\Qt\6.7.0\mingw_x32_dro_static" -opensource -confirm-license -make libs -nomake tools -nomake examples -nomake tests

    Christian EhrlicherC Offline
    Christian EhrlicherC Offline
    Christian Ehrlicher
    Lifetime Qt Champion
    wrote on last edited by
    #5

    @jchaviano said in qt 6.7.0 to 32 bits plataforms:

    I manage to compile but to compile static how do I do it?

    What does this mean? Is Qt built afterwards or not?

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

    J 1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher

      @jchaviano said in qt 6.7.0 to 32 bits plataforms:

      I manage to compile but to compile static how do I do it?

      What does this mean? Is Qt built afterwards or not?

      J Offline
      J Offline
      jchaviano
      wrote on last edited by
      #6

      @Christian-Ehrlicher not compile
      this is my configuration

      export PATH="/C/Qt/Tools/CMake_64/bin:$PATH"

      export PATH="/C/Qt/Tools/Ninja:$PATH"

      export PATH="/C/Users/creazy/AppData/Local/Programs/Python/Python312-32:$PATH"

      export PATH="/C/msys64/mingw32/bin:$PATH"

      cmake --version

      cmake version 3.24.2

      ninja --version

      1.10.2

      python --version

      Python 3.11.6

      mingw32-make --version

      GNU Make 4.4
      Built for Windows32
      Copyright (C) 1988-2022 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.

      gcc --version

      gcc.exe (Rev2, Built by MSYS2 project) 13.2.0
      Copyright (C) 2023 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

      this is the error
      dec369f1-17db-4231-9599-1d05eb3bab5d-image.png

      Sorry, my mistake, I assumed it would compile but no. what I want is to compile it static but first things first... get it to compile

      Christian EhrlicherC J 2 Replies Last reply
      0
      • J jchaviano

        @Christian-Ehrlicher not compile
        this is my configuration

        export PATH="/C/Qt/Tools/CMake_64/bin:$PATH"

        export PATH="/C/Qt/Tools/Ninja:$PATH"

        export PATH="/C/Users/creazy/AppData/Local/Programs/Python/Python312-32:$PATH"

        export PATH="/C/msys64/mingw32/bin:$PATH"

        cmake --version

        cmake version 3.24.2

        ninja --version

        1.10.2

        python --version

        Python 3.11.6

        mingw32-make --version

        GNU Make 4.4
        Built for Windows32
        Copyright (C) 1988-2022 Free Software Foundation, Inc.
        License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
        This is free software: you are free to change and redistribute it.
        There is NO WARRANTY, to the extent permitted by law.

        gcc --version

        gcc.exe (Rev2, Built by MSYS2 project) 13.2.0
        Copyright (C) 2023 Free Software Foundation, Inc.
        This is free software; see the source for copying conditions. There is NO
        warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

        this is the error
        dec369f1-17db-4231-9599-1d05eb3bab5d-image.png

        Sorry, my mistake, I assumed it would compile but no. what I want is to compile it static but first things first... get it to compile

        Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #7

        Please do not post pictures but text and the first error message. Also I'm not sure if a msys based gcc is really supported. At least you should not use msys to build Qt.

        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
        1
        • J jchaviano

          @Christian-Ehrlicher not compile
          this is my configuration

          export PATH="/C/Qt/Tools/CMake_64/bin:$PATH"

          export PATH="/C/Qt/Tools/Ninja:$PATH"

          export PATH="/C/Users/creazy/AppData/Local/Programs/Python/Python312-32:$PATH"

          export PATH="/C/msys64/mingw32/bin:$PATH"

          cmake --version

          cmake version 3.24.2

          ninja --version

          1.10.2

          python --version

          Python 3.11.6

          mingw32-make --version

          GNU Make 4.4
          Built for Windows32
          Copyright (C) 1988-2022 Free Software Foundation, Inc.
          License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
          This is free software: you are free to change and redistribute it.
          There is NO WARRANTY, to the extent permitted by law.

          gcc --version

          gcc.exe (Rev2, Built by MSYS2 project) 13.2.0
          Copyright (C) 2023 Free Software Foundation, Inc.
          This is free software; see the source for copying conditions. There is NO
          warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

          this is the error
          dec369f1-17db-4231-9599-1d05eb3bab5d-image.png

          Sorry, my mistake, I assumed it would compile but no. what I want is to compile it static but first things first... get it to compile

          J Offline
          J Offline
          jchaviano
          wrote on last edited by
          #8

          @jchaviano
          I have 2 options to compile with visual studio or mingw32. I decided on mingw32 since visual studio requires installing a few gigabytes. Which version of mingw32 is supported by qt to compile version 6.7.0

          C 1 Reply Last reply
          0
          • J jchaviano

            @jchaviano
            I have 2 options to compile with visual studio or mingw32. I decided on mingw32 since visual studio requires installing a few gigabytes. Which version of mingw32 is supported by qt to compile version 6.7.0

            C Offline
            C Offline
            ChrisW67
            wrote on last edited by
            #9

            Any version providing GCC 11.2 or later.
            See Step 2 Install Build Requirements

            1 Reply Last reply
            1
            • R Redman

              Take a look here. https://doc.qt.io/qt-6/windows-building.html
              I built Qt 6.5.2 32bit from sources aswell.

              J Offline
              J Offline
              jchaviano
              wrote on last edited by
              #10

              @Redman
              The next question is to compile to 32 bits I need to download cmake to 32 ninja to 32 and pyton to 32 and mingw to 32 all to 32 or can I use what comes with qt default maintenance to compile to 32 since I did not find anything that explains the process at 32

              C R 2 Replies Last reply
              0
              • J jchaviano

                @Redman
                The next question is to compile to 32 bits I need to download cmake to 32 ninja to 32 and pyton to 32 and mingw to 32 all to 32 or can I use what comes with qt default maintenance to compile to 32 since I did not find anything that explains the process at 32

                C Offline
                C Offline
                ChrisW67
                wrote on last edited by
                #11

                @jchaviano The MingW64 tool chain (i.e. GCC) is quite capable of generating a 32-bit target. CMake and Python bit-ness (is that a word?) I do not believe will be an issue.

                The Install Build Requirements imply that online installer provides sufficient MingW goodness. You may need a more complete, separate MingW64 than that bundled by the Qt online installer; that is available from the link above.

                1 Reply Last reply
                1
                • J jchaviano

                  @Redman
                  The next question is to compile to 32 bits I need to download cmake to 32 ninja to 32 and pyton to 32 and mingw to 32 all to 32 or can I use what comes with qt default maintenance to compile to 32 since I did not find anything that explains the process at 32

                  R Offline
                  R Offline
                  Redman
                  wrote on last edited by
                  #12

                  @jchaviano I assume you are building on a 64bit machine. So you should have all you need if you installed 64bit Qt from the maintenance tool.

                  I had a similiar question a while ago, maybe it helps:
                  https://forum.qt.io/topic/150349/qt6-build-32bit-on-64bit/2?_=1698387917573

                  J 1 Reply Last reply
                  0
                  • R Redman

                    @jchaviano I assume you are building on a 64bit machine. So you should have all you need if you installed 64bit Qt from the maintenance tool.

                    I had a similiar question a while ago, maybe it helps:
                    https://forum.qt.io/topic/150349/qt6-build-32bit-on-64bit/2?_=1698387917573

                    J Offline
                    J Offline
                    jchaviano
                    wrote on last edited by
                    #13

                    @Redman
                    My question apparently you used visual studio in your example to compile to 32 but the cmake and the nija were from the installation of qt. I want to compile qt to 32 bits using MinGW 11.2 or do I have to download everything before 32. Please contact me at my personal chat

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jchaviano
                      wrote on last edited by
                      #14

                      @ChrisW67
                      These are the parameters I use to compile to 32 ./configure.bat -platform win32-g++ -release -static -prefix "C:\Qt\6.7.0\mingw_x32_dro_static" -opensource -confirm-license -make libs -nomake tools -nomake examples -nomake tests
                      ......
                      Is it like that or am I doing something wrong?

                      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