Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89487

CMake Build: Instruct CMake to create the fileApi json structure for IDEs

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 6.2.0 Alpha
    • 6.0.0
    • Build System: CMake
    • None
    • All
    • d5c3e1336bce42df53d4b525237244486ba5422d (qt/qtbase/dev)

    Description

      The CMake configuration process of QtBase, or of a Qt6 super build can take a while, it would be helpful if this time could be reduced to zero when importing the build in Qt Creator (or other IDE that supports CMake fileApi).

      If the CMake build system would make sure that in the build directory there will be the following file structure (<build_dir>/.cmake/api/v1/query)

      └───.cmake
          └───api
              └───v1
                  └───query
                          cache-v2
                          cmakeFiles-v1
                          codemodel-v2
      

      The files are 0 bytes in size.

      This way Qt Creator could import the build and load the CMake project very fast, thus having a better user experience.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-89487
          # Subject Branch Project Status CR V

          Activity

            People

              kkohne Kai Köhne
              cadam Cristian Adam
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes