Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. MinGw-w64 Download
QtWS25 Last Chance

MinGw-w64 Download

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
10 Posts 2 Posters 11.2k 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.
  • M Offline
    M Offline
    Mylavarapu.Manikanta
    wrote on last edited by
    #1

    Hi to all.
    -->I am new to Qt.I am using Qt 5.9(LTS).
    -->Currently MinGw53_32(32-bit compiler) is installed,it will support only for 32-bit target.
    -->I want to compile for both 32-bit & 64-bit with the help of MinGw-w64 compiler.
    So How can i install MinGw-w64 compiler & what are all the required softwares.

    If anyone knows,please give me a solution

    JKSHJ 1 Reply Last reply
    0
    • M Mylavarapu.Manikanta

      Hi to all.
      -->I am new to Qt.I am using Qt 5.9(LTS).
      -->Currently MinGw53_32(32-bit compiler) is installed,it will support only for 32-bit target.
      -->I want to compile for both 32-bit & 64-bit with the help of MinGw-w64 compiler.
      So How can i install MinGw-w64 compiler & what are all the required softwares.

      If anyone knows,please give me a solution

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

      Hi @Mylavarapu.Manikanta, currently the Qt Project does not provide a downloadable package for 64-bit MinGW.

      If you want to use 64-bit Qt, you need to install MinGW-w64 first. Then, download the Qt source code and build Qt yourself using MinGWw-64: http://download.qt.io/official_releases/qt/5.9/5.9.3/single/

      You can read about the required software at http://wiki.qt.io/Building_Qt_5_from_Git

      See also http://wiki.qt.io/MinGW-64-bit

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

      M 1 Reply Last reply
      1
      • JKSHJ JKSH

        Hi @Mylavarapu.Manikanta, currently the Qt Project does not provide a downloadable package for 64-bit MinGW.

        If you want to use 64-bit Qt, you need to install MinGW-w64 first. Then, download the Qt source code and build Qt yourself using MinGWw-64: http://download.qt.io/official_releases/qt/5.9/5.9.3/single/

        You can read about the required software at http://wiki.qt.io/Building_Qt_5_from_Git

        See also http://wiki.qt.io/MinGW-64-bit

        M Offline
        M Offline
        Mylavarapu.Manikanta
        wrote on last edited by
        #3

        Thank you JKSH.
        I have following doubts.
        My Host pc consists Windows 10,64-bit and 32-bit.
        -->I Want to compile on both 32 and 64 bit.
        -->The Information from this page https://stackoverflow.com/questions/38335424/how-to-use-mingw-64-with-qt-creator said that, if you want to go with Qt Creator download from here https://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win64/Personal Builds/mingw-builds/, Here which version can i download(Assume 7.2.0 choosen).After selecting a version, which one can i select(x86_64-posix-sjlj or x86_64-posix-seh or x86_64-win32-sjlj or x86_64-win32-seh)

        JKSHJ 1 Reply Last reply
        0
        • M Mylavarapu.Manikanta

          Thank you JKSH.
          I have following doubts.
          My Host pc consists Windows 10,64-bit and 32-bit.
          -->I Want to compile on both 32 and 64 bit.
          -->The Information from this page https://stackoverflow.com/questions/38335424/how-to-use-mingw-64-with-qt-creator said that, if you want to go with Qt Creator download from here https://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win64/Personal Builds/mingw-builds/, Here which version can i download(Assume 7.2.0 choosen).After selecting a version, which one can i select(x86_64-posix-sjlj or x86_64-posix-seh or x86_64-win32-sjlj or x86_64-win32-seh)

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

          You're welcome. However, I'd like to point out that I haven't used the packages from https://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win64/Personal Builds/mingw-builds/ before. I don't know if there are any issues with using those packages with Qt.

          @Mylavarapu.Manikanta said in MinGw-w64 Download:

          Here which version can i download(Assume 7.2.0 choosen).

          7.2.0 is the latest, so I would choose that.

          After selecting a version, which one can i select(x86_64-posix-sjlj or x86_64-posix-seh or x86_64-win32-sjlj or x86_64-win32-seh)

          I don't think it matters, because you will use that toolkit to compile Qt yourself.

          Anyway, https://stackoverflow.com/questions/38335424/how-to-use-mingw-64-with-qt-creator suggests POSIX-SEH

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

          M 1 Reply Last reply
          1
          • JKSHJ JKSH

            You're welcome. However, I'd like to point out that I haven't used the packages from https://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win64/Personal Builds/mingw-builds/ before. I don't know if there are any issues with using those packages with Qt.

            @Mylavarapu.Manikanta said in MinGw-w64 Download:

            Here which version can i download(Assume 7.2.0 choosen).

            7.2.0 is the latest, so I would choose that.

            After selecting a version, which one can i select(x86_64-posix-sjlj or x86_64-posix-seh or x86_64-win32-sjlj or x86_64-win32-seh)

            I don't think it matters, because you will use that toolkit to compile Qt yourself.

            Anyway, https://stackoverflow.com/questions/38335424/how-to-use-mingw-64-with-qt-creator suggests POSIX-SEH

            M Offline
            M Offline
            Mylavarapu.Manikanta
            wrote on last edited by
            #5

            Thank you JKSH.
            -->Actually my requirement is to develop one GUI application such that it can run on RedHat Linux 7.2,Xenoami 2.6,Windows 10&7,Qnx 6.6.
            -->Now I want to develop qt application that can run on RedHat Linux 7.2(GCC Version - 4.8.5). So can i download directly "Qt executable for linux os" from Qt site (or) again any compilation of qt source code is required to run on RedHat Linux 7.2.

            JKSHJ 1 Reply Last reply
            0
            • M Mylavarapu.Manikanta

              Thank you JKSH.
              -->Actually my requirement is to develop one GUI application such that it can run on RedHat Linux 7.2,Xenoami 2.6,Windows 10&7,Qnx 6.6.
              -->Now I want to develop qt application that can run on RedHat Linux 7.2(GCC Version - 4.8.5). So can i download directly "Qt executable for linux os" from Qt site (or) again any compilation of qt source code is required to run on RedHat Linux 7.2.

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

              @Mylavarapu.Manikanta said in MinGw-w64 Download:

              -->Actually my requirement is to develop one GUI application such that it can run on RedHat Linux 7.2,Xenoami 2.6,Windows 10&7,Qnx 6.6.

              Qt is the right tool for the job :) You can write your GUI code once, and then compile the same code for each OS.

              -->Now I want to develop qt application that can run on RedHat Linux 7.2(GCC Version - 4.8.5). So can i download directly "Qt executable for linux os" from Qt site (or) again any compilation of qt source code is required to run on RedHat Linux 7.2.

              RHEL 7.2 is one of the officially-supported platforms (see https://doc.qt.io/qt-5/supported-platforms-and-configurations.html ) so you should be able to download the Qt executable for Linux.

              By the way, Qt 5.9.4 was just released, which contains lots of bug fixes: http://blog.qt.io/blog/2018/01/23/qt-5-9-4-released/

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

              M 1 Reply Last reply
              1
              • JKSHJ JKSH

                @Mylavarapu.Manikanta said in MinGw-w64 Download:

                -->Actually my requirement is to develop one GUI application such that it can run on RedHat Linux 7.2,Xenoami 2.6,Windows 10&7,Qnx 6.6.

                Qt is the right tool for the job :) You can write your GUI code once, and then compile the same code for each OS.

                -->Now I want to develop qt application that can run on RedHat Linux 7.2(GCC Version - 4.8.5). So can i download directly "Qt executable for linux os" from Qt site (or) again any compilation of qt source code is required to run on RedHat Linux 7.2.

                RHEL 7.2 is one of the officially-supported platforms (see https://doc.qt.io/qt-5/supported-platforms-and-configurations.html ) so you should be able to download the Qt executable for Linux.

                By the way, Qt 5.9.4 was just released, which contains lots of bug fixes: http://blog.qt.io/blog/2018/01/23/qt-5-9-4-released/

                M Offline
                M Offline
                Mylavarapu.Manikanta
                wrote on last edited by
                #7

                Thank you JKSH.
                Here https://doc.qt.io/qt-5/supported-platforms-and-configurations.html under qt 5.9 supported platforms ,GCC 5.3.1 is mentioned for Red Hat Enterprise Linux 7.2 (64-bit).

                -->But My Red Hat Enterprise Linux 7.2 (64-bit) GCC version is "4.8.5".So will it support or not?

                JKSHJ 1 Reply Last reply
                0
                • M Mylavarapu.Manikanta

                  Thank you JKSH.
                  Here https://doc.qt.io/qt-5/supported-platforms-and-configurations.html under qt 5.9 supported platforms ,GCC 5.3.1 is mentioned for Red Hat Enterprise Linux 7.2 (64-bit).

                  -->But My Red Hat Enterprise Linux 7.2 (64-bit) GCC version is "4.8.5".So will it support or not?

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

                  @Mylavarapu.Manikanta said in MinGw-w64 Download:

                  Here https://doc.qt.io/qt-5/supported-platforms-and-configurations.html under qt 5.9 supported platforms ,GCC 5.3.1 is mentioned for Red Hat Enterprise Linux 7.2 (64-bit).

                  -->But My Red Hat Enterprise Linux 7.2 (64-bit) GCC version is "4.8.5".So will it support or not?

                  Hmm... good question. I don't know, sorry. If GCC 5.3.1 is backward-compatible with GCC 4.8.5, then you can install and use the official package without issues.

                  Wait a while and see if someone else who has Linux experience can answer your question here. If not, subscribe to the Interest mailing list (http://lists.qt-project.org/mailman/listinfo/interest ) and ask there. Qt engineers use that list, and they should be able to answer you.

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

                  M 1 Reply Last reply
                  0
                  • JKSHJ JKSH

                    @Mylavarapu.Manikanta said in MinGw-w64 Download:

                    Here https://doc.qt.io/qt-5/supported-platforms-and-configurations.html under qt 5.9 supported platforms ,GCC 5.3.1 is mentioned for Red Hat Enterprise Linux 7.2 (64-bit).

                    -->But My Red Hat Enterprise Linux 7.2 (64-bit) GCC version is "4.8.5".So will it support or not?

                    Hmm... good question. I don't know, sorry. If GCC 5.3.1 is backward-compatible with GCC 4.8.5, then you can install and use the official package without issues.

                    Wait a while and see if someone else who has Linux experience can answer your question here. If not, subscribe to the Interest mailing list (http://lists.qt-project.org/mailman/listinfo/interest ) and ask there. Qt engineers use that list, and they should be able to answer you.

                    M Offline
                    M Offline
                    Mylavarapu.Manikanta
                    wrote on last edited by
                    #9

                    Thank you JKSH.
                    -->QT was installed along with required GCC compiler(Here GCC 5.3.1).So no need of worry about host pc GCC compiler versions.
                    -->But when I compiling a sample application "Can not find -lGL" error is showing.
                    -->It seems like compiler cannot find the required library.
                    -->My host pc configuration is: Redhat Linux 7.2,64-bit.
                    Please tell me the solution

                    JKSHJ 1 Reply Last reply
                    0
                    • M Mylavarapu.Manikanta

                      Thank you JKSH.
                      -->QT was installed along with required GCC compiler(Here GCC 5.3.1).So no need of worry about host pc GCC compiler versions.
                      -->But when I compiling a sample application "Can not find -lGL" error is showing.
                      -->It seems like compiler cannot find the required library.
                      -->My host pc configuration is: Redhat Linux 7.2,64-bit.
                      Please tell me the solution

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

                      @Mylavarapu.Manikanta said in MinGw-w64 Download:

                      -->QT was installed along with required GCC compiler(Here GCC 5.3.1).So no need of worry about host pc GCC compiler versions.

                      Good!

                      -->But when I compiling a sample application "Can not find -lGL" error is showing.
                      -->It seems like compiler cannot find the required library.

                      Yes, a required library is missing.

                      If you search this forum (or even the Internet) for this error message, you should be able to find out which library you need.

                      -->My host pc configuration is: Redhat Linux 7.2,64-bit.

                      Your error message is quite common for many different Linux distros, not just Red Hat.

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

                      1 Reply Last reply
                      1

                      • Login

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