Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Mac OX with mingw

    Installation and Deployment
    2
    8
    6240
    Loading More Posts
    • 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
      rishygupta last edited by

      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 Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        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 Reply Quote 0
        • R
          rishygupta last edited by

          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 Reply Quote 0
          • sierdzio
            sierdzio Moderators last edited by

            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 Reply Quote 0
            • R
              rishygupta last edited by

              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 Reply Quote 0
              • sierdzio
                sierdzio Moderators last edited by

                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 Reply Quote 0
                • R
                  rishygupta last edited by

                  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 Reply Quote 0
                  • sierdzio
                    sierdzio Moderators last edited by

                    "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 Reply Quote 0
                    • First post
                      Last post