Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-107516

Migrate from GCC MinGW to LLVM-MinGW

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Packaging & Installer
    • None

    Description

      We have the LLVM-MinGW as a CI test configuration for a while now.

      Migrating to LLVM-MinGW would bring the Windows Arm64 support for MinGW, which the GCC package doesn't offer.

      Other benefits would be:

      • faster toolchain, thus happier customers (GCC MinGW on Windows is pretty slow, the linker is slow, the debugger is slow etc).
      • potential support for UWP APIs. Clang does have clang-cl support, which means that the compiler is able to handle MSVC quirks.
        See MinGW GCC support · Issue #1037 · microsoft/cppwinrt (github.com) 
        This would allow Qt Bluetooth to be compiled with the new APIs in the same way as the MSVC version
      • Qt Webengine build. Similar story to the one above. clang-cl can compile Qt Webengine, a LLVM-MinGW version should also be able to handle this.
      • Faster debugging
      • Cross-compilation of Windows applications from macOS os Linux hosts

      I've opened up a ticket for WinRT for LLVM-MinGW at Windows Runtime (WinRT) APIs support · Issue #307 · mstorsjo/llvm-mingw (github.com)

      Attachments

        1. clang-long-path.png
          clang-long-path.png
          46 kB
        2. cl-long-path.png
          cl-long-path.png
          49 kB
        3. gcc-long-path.png
          gcc-long-path.png
          42 kB
        4. qtcreator-11-llvm-mingw-16.0.6.mp4
          2.77 MB
        5. qtcreator-11-mingw-11.2.0.mp4
          5.95 MB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              releaseteam Qt Release Team
              cadam Cristian Adam
              Votes:
              10 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes