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. Building Qt Desktop for Windows with MinGW and MinGW64
Forum Updated to NodeBB v4.3 + New Features

Building Qt Desktop for Windows with MinGW and MinGW64

Scheduled Pinned Locked Moved General and Desktop
8 Posts 4 Posters 7.9k 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.
  • F Offline
    F Offline
    franku
    wrote on last edited by
    #1

    Hey guys, I've given the "wiki page":http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MinGW a little facelift. So if you are interested in how to build Desktop Qt yourself you are welcome to try the howto and give a feedback. Please feel free to ask if there are any errors or misunderstandings.

    The reason why I have written the howto is that I have looked for a good solution to build Qt for 32bit and 64bit targets from a single version Qt-source-tree and also a cross environment to build on 32bit for x64 targets. There were some hours searching the net to find a one-at-all solution but in my opinion there wasn't. So I collected all the information I found and this leads to the described way that I found very usable for me, however, there are probably alternate ways. I have currently used Qt 4.7.4.

    If I have the time I will describe how to build the cross 32/64 Qt my way and to build Qt Creator with the self-built Qt tools.

    This, Jen, is the internet.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      Thanks for the great work. You have progressed the page significantly from a rudimentary stage to something useful.

      Vote the answer(s) that helped you to solve your issue(s)

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

        where can i find an article about the same process in mac?
        Thanks

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

          Hi salvador,

          Do you mean building Qt 32 and 64 bit on OS X ?

          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
            salvador
            wrote on last edited by
            #5

            Yes, i have these warnings
            @:-1: warning: in /Applications/Qt5.0.1/5.0.1/clang_64/lib/QtWidgets.framework/QtWidgets, file was built for unsupported file format which is not the architecture being linked (i386)@
            @:-1: warning: in /Applications/Qt5.0.1/5.0.1/clang_64/lib/QtGui.framework/QtGui, file was built for unsupported file format which is not the architecture being linked (i386)@
            @:-1: warning: in /Applications/Qt5.0.1/5.0.1/clang_64/lib/QtCore.framework/QtCore, file was built for unsupported file format which is not the architecture being linked (i386)@
            and i think that the solution is in this wiki but i want the instruction for mac osx

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

              Then it's not the right wiki, this one is to do Windows build using mingw either 32 or 64.

              You seem to be trying to compile your project in 32bit and try to link to a 64bit 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
                salvador
                wrote on last edited by
                #7

                I am a little bit confused (and noob) so excuse me. My mac is 64bit and i have the Qt 64bit version. I can't undestand where is the problem

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

                  Ok, then open a new thread and explain what your current problem is (showing the content of your pro file can be a good idea) what setup you use (QtCreator/XCode etc..)

                  We'll continue there

                  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