Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
Qt Creator 4.13.0-beta2
Description
QtCreator needs a lot of time when opening projects that use vcpkg as dependency. This will get way worse if it is a bigger project than the one I attached. For our project (2k source files) this can take minutes to open. This in addition with the increase of crashes makes working with QtCreator frustrating. The example project does not include all dependencies that get installed via the vcpkg-install-dependencies.bat. The loading time problem occurs on all of our high-end workstations.
Setup:
- Download the hello world VCPKGLoadTimes.zip
- Call vcpkg-install-dependencies.bat (you can change to x64 in line 37)
- Create a new kit with
- Add CMake variables (With Screenshots https://gitlab.com/kelteseth/ScreenPlay/-/blob/master/Docs/DeveloperSetup.md)
- Add CMAKE_TOOLCHAIN_FILE and VCPKG_TARGET_TRIPLET
- Extras -> Tools -> Kits -> -> CMake Configuration -> Append this:
- CMAKE_TOOLCHAIN_FILE:STRING=%{CurrentProject:Path}/Common/vcpkg/scripts/buildsystems/vcpkg.cmake
- VCPKG_TARGET_TRIPLET:STRING=x86-windows //or x64
Open the project