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

Build Qt WebEngine with Clang on Windows

    XMLWordPrintable

Details

    • User Story
    • Resolution: Done
    • P2: Important
    • 5.13.0
    • None
    • WebEngine
    • None

    Description

      Consider building Qt WebEngine with Clang on Windows. Upstream Chromium switched to clang as default toolchain on Windows a while ago:

      https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/Y3OEIKkdlu0

      https://groups.google.com/a/chromium.org/d/msg/chromium-dev/01lcVxwEuLM/z7FybEQ_AgAJ

      http://blog.llvm.org/2018/03/clang-is-now-used-to-build-chrome-for.html

      (Upstream) Reasons given for the switch:

      • clang works better with distributed build systems
      • same toolchain for all platforms

      Drawbacks:

      • clang seems to be slower than MSVC
      • clang binaries are reportedly bigger
      • at time of writing, it still requires a full Visual Studio installation (uses VS headers + linker)

      Things to find out:

      • Which version of Clang is supported & where to get it?
      • Are Clang and MSVC binary compatible enough that we can mix a VS build of Qt with a Clang build of Qt WebEngine?

      Attachments

        Issue Links

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

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              kkohne Kai Köhne
              Petref Saraci Petref Saraci (Inactive)
              Kai Köhne Kai Köhne
              Votes:
              7 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes