KcFnMi
KcFnMi

Reputation: 6171

clang on QtCreator Windows

I'm trying to use clang on QtCreator Windows. Had already build llvm and clang following Building Clang natively on Windows/MinGW and also had configured a kit on Qt Creator to use clang. But in the compilation log I still see g++ being called. So I modified the .pro adding:

QMAKE_CXX += C:/llvm/bin/clang++.exe

Now, checking the Makefiles I see:

CXX           = g++ C:/llvm/bin/clang++.exe

How to get rid of this g++?

Upvotes: 2

Views: 1309

Answers (1)

Ilya
Ilya

Reputation: 5557

Assign with = instead of +=:

QMAKE_CXX = C:/llvm/bin/clang++.exe

Upvotes: 1

Related Questions