-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 18.0.0
-
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
-
-
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:
- Set up a remote device (remote linux / docker) suitable for building cmake projects
- 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).
- Open the project on the remote device using a kit with that device as a build device