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] QtCreator and cmake tool chain
Qt 6.11 is out! See what's new in the release blog

[QtCreator] QtCreator and cmake tool chain

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 724 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    ceora
    wrote on last edited by
    #1

    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)

    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