Qt Developers Reconsider MinGW For Qt 5.0

Posted by Michael Larabel on September 01, 2012

While we're now up to the Qt 5.0 beta stage, Qt developers are still settling for what MinGW implementation to use for the Windows build of Qt 5.0.

MinGW, the Minimalist GNU for Windows, is the native port of GCC and Binutils that Qt uses for building their Windows version of the Qt tool-kit. Kai Koehne, an official Qt developer, re-sparked the Qt MinGW conversation this week about what package to officially support for the Qt 5.0 release. At the moment they're using MinGW 4.5 32-bit, but the latest MinGW release is now a port of GCC 4.7 except the problem with the official MinGW is that it's still 32-bit-only.

As possible alternatives, Kai tried out the 32/64-bit versions of TDM-GCC, Mingw-64, and Mingw-builds. TDM-GCC presented a nice installer but a somewhat stale GCC 4.6.1 + GDB 7.3.1 and not much activity all around, Mingw-64 is officially at GCC 4.5.4 but there's modern semi-official builds, and for mingw-builds they're closely following upstream GCC.

For why MinGW matters for Qt on Windows, "One might think that the only difference in these packages is the gcc version, but this isn't the truth. They also deviate e.g. in the COM headers, which can easily lead to build breakages ... That's why I think it's important to promote _one_ mingw 64 bit package as the officially supported one, and ideally even get it CI tested."

The mingw-builds project was able to build Qt 5.0 Beta out-of-the-box with only one minor patch being needed. What's being debated now is whether to add mingw-builds (based on GCC 4.7.1) to the list of tier-one configurations as a 64-bit version, support mingw-builds for 32-bit and 64-bit, or just leave it as-is without a more recent MinGW compiler and to be 32-bit-only.

This discussion is taking place on the project's development list. So far most feedback seems to be favoring Mingw-w64. Besides the MinGW-w64 fork supporting both 32-bit and 64-bit modes, it also includes updated files for supporting more recent parts of the Windows API.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  2. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  3. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
  4. AMD Radeon Gallium3D More Competitive With Catalyst On Linux
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  2. GCC 4.8.1 Compiler Due To Be Out Next Week
  3. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  4. Linux's "Ondemand" Governor Is No Longer Fit
  5. Firefox 22 Beta Enables WebRTC Support
  6. OpenSUSE 13.1 Milestone 1 Released
  7. DRM Graphics Driver Comes For Dove/Cubox
  8. JADE: An LLVM-Based Video Decoder For MPEG RVC
  9. Ubuntu 13.10 Likely Switching To Chromium Browser
  10. Unity 7, Compiz To Be Polished For Ubuntu 13.10
  11. Unity 8, Mir To Be Experimental Choice In Ubuntu 13.10
Latest Forum Talk
  1. Greater Radeon Gallium3D Shader Optimization Tests
  2. Linux Game Development and a Qt Developers Rage
  3. Linux's "Ondemand" Governor Is No...
  4. Fedora 19 Alpha Gets Its First Delay Due To UEFI
  5. OpenSUSE 13.1 Milestone 1 Released
  6. Firefox 22 Beta Enables WebRTC Support
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite