Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26117

CMake installed with snap is not executed properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.11.0
    • None
    • Ubuntu 20.04, Cmake version 3.21 installed with snap
    • Linux/X11

    Description

      Hello,

      to use the newest version of cmake I installed it with snap.

      snap install --classic cmake
      cmake 3.21.1 from Crascit installed

      The Kit shows several cmake related warnings, as you can see in the attached picture

      When I click in the project on the "run Cmake" button, I get the following error

      Running /usr/bin/snap /home/fettpet/projects/MortailCoil -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_CXX_COMPILER:STRING=/usr/bin/g++-10 -DCMAKE_C_COMPILER:STRING=/usr/bin/gcc-10 -DCMAKE_PREFIX_PATH:STRING=/usr -DQT_QMAKE_EXECUTABLE:STRING=/usr/lib/qt5/bin/qmake in /home/fettpet/projects/build-MortailCoil-GCC_10-Debug.

      error: unknown command "/home/fettpet/projects/MortailCoil", see 'snap help'.

      CMake process exited with exit code 64.

       

       

      Attachments

        1. cmake_kit.jpg
          cmake_kit.jpg
          160 kB
        2. Kit_warning.jpg
          Kit_warning.jpg
          279 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              cadam Cristian Adam
              fettpet Sev Dw
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes