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

Creator always configures qtbase when opening session

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 4.15.1
    • None
    • Windows 10

    Description

      I have a session that contains qtbase. I imported a build for it, which resulted in this kit being created:

      The build of Qt is a per-repo developer build:

      -DCMAKE_BUILD_TYPE=Debug -DFEATURE_developer_build=ON -DQT_BUILD_TESTS=ON -DQT_BUILD_TESTS_BY_DEFAULT=OFF -DQT_BUILD_EXAMPLES=ON -DQT_BUILD_EXAMPLES_BY_DEFAULT=OFF
      

      The issue is that each time I open this session, Creator re-configures qtbase, which takes ages. Apparently this shouldn't be necessary if it has the CMake file-api export (aka a directory in the qtbase build directory named ".cmake"), which it has.

      Qt Creator 4.15.1
      Based on Qt 5.15.2 (MSVC 2019, 64 bit)
      Built on Jun 8 2021 11:15:05
      From revision 80d18c1e57
      
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>cmake --version
      cmake version 3.19.20122902-MSVC_2
      
      CMake suite maintained and supported by Kitware (kitware.com/cmake).
      
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>ninja --version
      1.10.2
      

      Attachments

        1. Screenshot 2021-06-30 152717.png
          Screenshot 2021-06-30 152717.png
          65 kB
        2. scratch-npEHyq.txt
          367 kB
        3. qtbase-after.zip
          1.24 MB
        4. qtbase-before.zip
          1.19 MB

        Issue Links

          Activity

            People

              cadam Cristian Adam
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: