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. How to add the tool-chain mingw to qt ?
Qt 6.11 is out! See what's new in the release blog

How to add the tool-chain mingw to qt ?

Scheduled Pinned Locked Moved General and Desktop
12 Posts 3 Posters 4.2k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    sliver_twist
    wrote on last edited by
    #1

    Hello
    My OS is openSUSE 12.2
    and I've installed mingw by typing this: zypper install mingw32-cross-gcc mingw32-cross-gcc-c++ mingw32-libjpeg-devel mingw32-libpng-devel mingw32-libqt4 mingw32-libqt4-devel mingw32-libtiff-devel mingw32-zlib-devel

    Now i need to add it to qt so i must do ?? What i know is that in Qt 4.8 wich is my current version i should go to projects->Tool chain manage->manual->add mingw but i can't figure out what i must add in it ??

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Banshee
      wrote on last edited by
      #2

      Hello,
      perhaps this helps:
      http://stackoverflow.com/questions/1037193/install-mingw-for-suse-linux
      Cu
      Matthias

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sliver_twist
        wrote on last edited by
        #3

        i visited that link before and no it didn't helped me in any way

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

          Hi,

          You can't add a cross-compiler, add the mingw32-libqt4 to your Qt versions in QtCreator, then you should be good.

          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
          • S Offline
            S Offline
            sliver_twist
            wrote on last edited by
            #5

            and how to add the mingw32-libqt4 to my qt ??

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

              Options -> Build&Run -> Qt Versions

              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
              • S Offline
                S Offline
                sliver_twist
                wrote on last edited by
                #7

                so the command that i typed to install the mingw is not usefull ! i need to "download" mingw32-libqt4!
                Do you have any idea where i get it ??

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

                  Sure it's useful, you have installed a cross-compiled Qt version.

                  What is the problem with adding this Qt version to QtCreator ?

                  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
                  • S Offline
                    S Offline
                    sliver_twist
                    wrote on last edited by
                    #9

                    well i need to cross compile my application created in qt with mingw and i can't find the way ?!

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

                      Once you have added mingw32-libqt4 to QtCreator, it's there to be used to compile your project, reconfigure your project to use that version 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

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        sliver_twist
                        wrote on last edited by
                        #11

                        so what i must add "file extension" to my Qt Creator 2.5.0 Based on Qt 4.8.1 (64 bit) and how exactly ??

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

                          Did you at least try to do what I suggested ?

                          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

                          • Login

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