1

Win 7 32, Qt Creator 3.0 and 3.1beta tried

I try to compile a project with Clang in Qt Creator. According to "Qt Creator and Clang" I have set PATH / LLVM_INSTALL_DIR .

LLVM was downloaded from here. http://llvm.org/releases/download.html . Settings in Qt Creator as shown below (screenshots). When I run qmake, I get 'g++' is not recognized as an internal or external command, operable program or batch file.

Do I miss something in the big picture? Do I need to install a special Qt version (compiled for Clang)? I have a Qt 5.2 for MSVC and Qt 5.2. for MinGw on my disk.

I have tried 3.1beta as this reads as CLANG is supported, maybe I understand it wrong.

Compiler settings in Creator: QtCreator compiler

Kit: QtCreator Kit

Horst Walter
  • 13,663
  • 32
  • 126
  • 228

1 Answers1

2

Clang for Win32 is not supported by the stock qmake environment. Anyway, you can follow this answer to get it work. After that specify the exact spec for generating Makefile: qmake -spec win32-clang.

Community
  • 1
  • 1
alien
  • 99
  • 2