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

QtCreator needs minutes to open a empty project with vcpkg dependencies

    XMLWordPrintable

Details

    • Windows

    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:

      1. Download the hello world VCPKGLoadTimes.zip
      2. Call vcpkg-install-dependencies.bat (you can change to x64 in line 37)
      3. Create a new kit with
      4. 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

      Attachments

        1. VCPKGLoadTimes.zip
          151 kB
        2. Loading.mp4
          4.12 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kelteseth Elias Steurer
            kelteseth Elias Steurer
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes