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

extend modules/Core.json with general information about the Qt build

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P3: Somewhat important
    • 6.6.0 FF
    • 6.5.0 Beta2
    • Build System: CMake
    • None
    • All
    • 656729c5b (dev), bd7e304d4 (dev)

    Description

      For example, Qt VS Tools reads from qconfig.pri the following information:

      • QT_ARCH
      • QT_NAMESPACE
      • QT_VERSION

      While this works currently, qconfig.pri might not be available anymore in the future.

      In the CMake build such information is available in lib/cmake/Qt6Core/Qt6CoreConfigExtras.cmake but reading it would require a CMake parser (or more or less fragile regular expressions).

      It would be nice if modules/Core.json would contain this information. A way to read JSON should be ubiquitous.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes