[QtCreator] QtCreator and cmake tool chain



  • Hi i've some problem with QtCreator and cmake: recently i've formatted my pc, and reinstalled everything. Since Qt %.9 is out i've decided to install only MSVC2017 tools. After started QtCreator to test if everything work in the kits there is a warning saying this: CMake has no path to a c/c++ compiler set,[...]. Everything is installed correctly because i'm able to compile qmake based project as usual. Instead cmake can't find the compilers even if in path(i've checked on the build environment). A workaround i've found is to manually change the cmake variable(CXX_COMPILER, C_COMPILER) pointing to cl(not hte full path just cl), this demonstrate that the compilers are in path.

    maybe cmake server is started with wrong environment variables?? It seems strange because before formatting and with Qt 5.8 + msvc2015 all worked fine(same QtCerator version, 4.3)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.