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. Qt Creator: won't work with different cmake versions
Forum Update on Monday, May 27th 2025

Qt Creator: won't work with different cmake versions

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 933 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.
  • Q Offline
    Q Offline
    QtBSt
    wrote on last edited by QtBSt
    #1
    Qt Creator 4.2.2
    Based on Qt 5.8.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
    From revision 991f5eb6a5
    Built on Apr  3 2017 04:08:48
    
    Qt 5.8.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6)) on "xcb" 
    OS: Ubuntu 16.04.2 LTS [linux version 4.4.0-77-generic]
    

    Lets say I have two cmake versions installed : once in /usr/local/bin and one in /usr/bin.

    In my Tools->Options->Build & Run->CMake I see Auto-detected :
    - System CMake at /usr/local/bin/cmake (Default)
    - System CMake at /usr/bin/cmake
    ( In the $PATH /usr/local/bin is also before /usr/bin ).

    However, whenever I "Run CMake", qt creator always go for the /usr/bin/cmake, i.e. that is not for the default one (The checkbox Auto-run is also deselected for the /usr/bin). Did I miss something in my configuration ?

    jsulmJ 1 Reply Last reply
    0
    • Q QtBSt
      Qt Creator 4.2.2
      Based on Qt 5.8.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
      From revision 991f5eb6a5
      Built on Apr  3 2017 04:08:48
      
      Qt 5.8.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6)) on "xcb" 
      OS: Ubuntu 16.04.2 LTS [linux version 4.4.0-77-generic]
      

      Lets say I have two cmake versions installed : once in /usr/local/bin and one in /usr/bin.

      In my Tools->Options->Build & Run->CMake I see Auto-detected :
      - System CMake at /usr/local/bin/cmake (Default)
      - System CMake at /usr/bin/cmake
      ( In the $PATH /usr/local/bin is also before /usr/bin ).

      However, whenever I "Run CMake", qt creator always go for the /usr/bin/cmake, i.e. that is not for the default one (The checkbox Auto-run is also deselected for the /usr/bin). Did I miss something in my configuration ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @QtBSt Which CMake is set in your kit? See "Kits/CMake Tool".

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      Q 1 Reply Last reply
      0
      • jsulmJ jsulm

        @QtBSt Which CMake is set in your kit? See "Kits/CMake Tool".

        Q Offline
        Q Offline
        QtBSt
        wrote on last edited by
        #3

        @jsulm said in Qt Creator: won't work with different cmake versions:

        @QtBSt Which CMake is set in your kit? See "Kits/CMake Tool".

        It is the one I wrote above :
        - System CMake at /usr/local/bin/cmake (Default)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Did you do the change on an already configured project ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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