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

QtCreator fails to configure remote CMake projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 18.0.0
    • Qt Creator 18.0.0
    • Docker, Remote Linux
    • None
    • Host OS: both Windows 11 and Kubuntu 24.04
      Remote device: Ubuntu 24.04 VBox VM, Kubuntu 24.04 physical machine, docker image based on Ubuntu 24.04
    • Linux/X11, Windows
    • 8d7f87b9b (master)

      I cannot open and configure any remote cmake project, even the simplest one.

      Symptoms:

      • QtC cannot create the build dir (and some others)

      src/plugins/cmakeprojectmanager/fileapireader.cpp:316 FileApiReader::writeConfigurationIntoBuildDirectory
      Here FilePath::ensureWritableDir() is called, but it returns true even when the dir does not exist and therefore does noting. The .qtcreator dir inside project dir cannot be created too, may be there are others. * QtC cannot put the auto-setup.cmake into the right place in the build dir. Again the destination dir is not created, but even if it exists the file is not copied.

      • «[cmake] Failed to set up CMake file API support. Qt Creator cannot extract project information.»

      I get this in «General messages» if I put everything in place manually.

      How to reproduce:

      1. Set up a remote device (remote linux / docker) suitable for building cmake projects
      2. Put a cmake project on the build device (e.g. create a local cmake project using QtC, then move it to the build device or use mounted dirs). Make sure the project has no .user files and no build dir. Creating a project on the remote device works too (tested with docker device).
      3. Open the project on the remote device using a kit with that device as a build device

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

            madwinter Marcus Tillmanns
            faust747 Stanislav Polukhanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes