Qt Mac OX with mingw
-
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. -
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.
-
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. -
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.
-
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?
-
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.
-
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
-
"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 ;)