Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to build Qt with clang under windows?
Forum Updated to NodeBB v4.3 + New Features

How to build Qt with clang under windows?

Scheduled Pinned Locked Moved Unsolved General and Desktop
clangbuilding qtqt 5.15
4 Posts 3 Posters 846 Views 2 Watching
  • 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.
  • C Offline
    C Offline
    Crazy Sage
    wrote on last edited by
    #1

    Trying to build Qt with clang, using config line
    configure -debug-and-release -no-pch -nomake examples -nomake tests -skip qtwebengine -opensource -platform win32-clang-msvc
    But I'm getting following error: unable to read PCH file qmake_pch.pch: 'no such file or directory'
    fatal error: PCH file 'qmake_pch.pch' not found: module file not found
    What am I doing wrong?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Which version of Qt ?
      Which version of clang ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Which version of Qt ?
        Which version of clang ?

        C Offline
        C Offline
        Crazy Sage
        wrote on last edited by
        #3

        @SGaist Qt 5.15.2
        Clang 7.0.0

        Christian EhrlicherC 1 Reply Last reply
        0
        • C Crazy Sage

          @SGaist Qt 5.15.2
          Clang 7.0.0

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Crazy-Sage said in How to build Qt with clang under windows?:

          Clang 7.0.0

          And you're sure this ancient compiler supports all MSVC commands when you use clang-cl. What do you think you will gain when you compile Qt with clang-cl at all?

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved