Search code examples
c++qtclangqbs

Module cpp could not be loaded in qbs


Im trying to compile my project using the clang compiler with Qbs on Windows 10 x64. I configured the tool using the QtCreator interface, and the error Module cpp could not be loaded appeared.

This is my configuration:

enter image description here

What is happening?


Solution

  • The message appears because no matching cpp module backend was found for the combination of clang toolchain and Windows target. I think the only compilers currently supported for Windows are MSVC and mingw. Do you actually intend to create Windows binaries with clang?