2

I am trying to use QtCreator and Clang but mostly I don't get any error messages.

if I write

// To provoke an error message
int test(){
    return "hi";
}

Qt prints me the following

D:\Qt\qtcreator-2.6.1\bin\CTest\main.cpp:-1: In function 'int test()':
:-1: error: [debug/main.o] Error 1 File not found

I compiled clang by myself and it I get working binaries, just no error messages. I selected the Clang compiler in QtCreator with clang.exe.

4

0 回答 0