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

QtCreator.ini can't be located by auto-setup.cmake

    XMLWordPrintable

Details

    • Linux/X11

    Description

      I'm using Mint 21.1
      I've performed a clean installation of Qt into my user's directory for desktop usage (/home/luke/Qt)
      My project is using:
      CMake - 3.22.1
      Conan - 1.59.0 (experimental Conan plugin is not enabled in Qt Creator)

      Package manager auto setup is enabled in preferences.

      The first run of CMake fails with the following output:

      /home/luke/Qt/Tools/QtCreator/share/qtcreator/package-manager/auto-setup.cmake:44: error: file STRINGS file "/home/luke/code/sib/test-project/../../../Tools/sdktool/share/qtcreator/QtProject/QtCreator.ini" cannot be read. /home/luke/Qt/Tools/QtCreator/share/qtcreator/package-manager/auto-setup.cmake:134 (qtc_auto_setup_conan) CMakeLists.txt:2 (project)

      It seems that the path being looked up in my case is ultimately:

      /home/luke/Tools/sdktool/share/qtcreator/QtProject/QtCreator.ini

      instead of:

      /home/luke/Qt/Tools/sdktool/share/qtcreator/QtProject/QtCreator.ini

      where the QtCreator.ini file actually resides.

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            lukepot Luke Potgieter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes