Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 13.0.0
-
Both the remote Linux device and local system are Debian 12, with clang++-18 and ccache as the compiler (wrapper). The remote device doesn't have Qt or Qt Creator installed.
CMake is obtained from PyPI repository for both end (the one bundled with Qt Creator is not used).
The two devices are on the same local network, with an average ping latency of 12ms (The bandwidth is largely under-utilized when Qt Creator is stuck loading the project).Both the remote Linux device and local system are Debian 12, with clang++-18 and ccache as the compiler (wrapper). The remote device doesn't have Qt or Qt Creator installed. CMake is obtained from PyPI repository for both end (the one bundled with Qt Creator is not used). The two devices are on the same local network, with an average ping latency of 12ms (The bandwidth is largely under-utilized when Qt Creator is stuck loading the project).
Description
This can be easily and reliably reproduced by opening the LLVM project on a remote Linux device.
First make sure the Remote Linux Device is set up properly and the test passes, the appropriate remote compiler, debugger, debugger server, CMake are set up and a Kit configuration that uses those remote tools is available.
Then, on remote Linux device, go to a directory that's suitable for projects, pull the LLVM project:
```bash
git clone --depth 1 https://github.com/llvm/llvm-project.git
```
Now switch to Qt Creator on your local system, select File -> Open File or Project -> Select the remote device from the left sidebar -> Find `llvm-project/llvm/CMakeLists.txt` and choose it.
Qt Creator should now prompt to configure the project, uncheck all Kits, then select only the remote Kit that was previously set up.
Now observe how Qt Creator simply stuck at "Updating Locator Caches" forever. (on my system it takes half an hour just to load the project hierarchy and then another eternity for scanning C/C++ files).
The process is faster when opening the project from SSHFS (that was mounted manually) over the builtin remote directory, it takes only like 10 minutes to load the project hierarchy (which is still very slow).
Perhaps these slow part of the tasks (eg.. locator caches, finding files) should be just delegated to the remote device (and Qt Creator should merely act as a front-end) rather than processing them locally.