Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator: CMake,Linux and other Compilers as GCC

QtCreator: CMake,Linux and other Compilers as GCC

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tyand2014
    wrote on last edited by
    #1

    Hello all,

    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.

    Thanks

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      You need to teach CMake to find a correct compiler.
      Maybe "this":http://www.cmake.org/pipermail/cmake/2007-April/013664.html will help.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved