Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Mac OX with mingw

Qt Mac OX with mingw

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 2 Posters 7.0k 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.
  • R Offline
    R Offline
    rishygupta
    wrote on 24 Jan 2013, 07:05 last edited by
    #1

    I want qt 4.8.3 version with mingw compiler from where can i download it?
    I downloaded qt 4.8.3 from digia mail link but its gives cocoa compiler.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 24 Jan 2013, 08:49 last edited by
      #2

      MinGW is a Windows port of GCC compiler. You don't need it on a Mac or Linux.

      Libs for mac are compiled with Clang, but the blobs are binary compatible with GCC. You can safely compile your apps using GCC or llvm and they will work with prebuild Qt libraries.

      (Z(:^

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rishygupta
        wrote on 28 Jan 2013, 05:28 last edited by
        #3

        Thanks sir but i need mingw debugger in my qt(imac) in which i m getting only cocoa, I have worked earlier in mingw 4.8 compiler in imac qt for some reason i have format my mac and reinstall qt. As i did i lost mingw 4.8 compiler from qt how can i get it back.
        Thanks IN advance.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 28 Jan 2013, 07:19 last edited by
          #4

          Debugger is called gdb (GNU debugger) and is available for Mac. Once again: MinGW is a Windows compiler, based on GCC. GCC on Mac and Linux are the same thing (only better, as MinGW lacks some of the features and is more buggy).

          You just need to install Xcode and Command Line Tools, then Qt for Mac, then Qt Creator. This should give you the whole package.

          (Z(:^

          1 Reply Last reply
          0
          • R Offline
            R Offline
            rishygupta
            wrote on 28 Jan 2013, 07:33 last edited by
            #5

            Actually i am making a cross-platform application which is near to complete and in windows its mingw, then how can i compile the same code in Mac-qt i mean by which compiler?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sierdzio
              Moderators
              wrote on 28 Jan 2013, 07:37 last edited by
              #6

              Any ISO C++98 compiler should work. Qt is cross-platform framework after all. Just grab Command Line Tools (possibly with Xcode) - they ship with both GCC and clang compilers. Then compile your app just as usual, more or less the same way as on Windows.

              (Z(:^

              1 Reply Last reply
              0
              • R Offline
                R Offline
                rishygupta
                wrote on 28 Jan 2013, 07:57 last edited by
                #7

                sir i didnt find qt 4.8 setup for mac i think its removed and from http://qt-project.org/downloads#qt-creator link i can get only libs and creater is there any document of steps to build qt 4.8 from source in mac

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sierdzio
                  Moderators
                  wrote on 28 Jan 2013, 08:09 last edited by
                  #8

                  "Prebuilt Qt libs for Mac":http://releases.qt-project.org/qt4/source/qt-mac-opensource-4.8.4.dmg.

                  If you want to build from source, it's quite easy:
                  @
                  // download the source code from git or from Downloads (tarball, not zip!)
                  // unpack
                  ./configure -developer-build -opensource -confirm-license -nomake tests -nomake demos -nomake examples
                  make -j N // N - amount of cores in your CPU
                  // Do not run make install!
                  @

                  Those are instructions for an in-source build. It may not be thoroughly recommended, but I like this way the most ;)

                  (Z(:^

                  1 Reply Last reply
                  0

                  1/8

                  24 Jan 2013, 07:05

                  • Login

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