Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtCreator: CMake,Linux and other Compilers as GCC
Tyand2014 last edited by
I have a problem with QtCreator. I have CMake project and want to use the Intel compiler and QTCreator. I installed the Intel compiler and QtCreator recognizes the compiler. I create a new Kit with the Intel Compiler. I switch to this Kit.
Now I run CMake, but altough I activated the Intel Compiler Kit, CMake uses the GCC compiler.
@-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done@
How can I teach QtCreator, that he needs to use the ICC /ICPC Compiler? I totally confused.
I hope someone can help me.
andreyc last edited by
You need to teach CMake to find a correct compiler.
Maybe "this":http://www.cmake.org/pipermail/cmake/2007-April/013664.html will help.