Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
6.5.0 Beta2
-
None
-
-
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
For Gerrit Dashboard: QTBUG-111158 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
467480,2 | CMake: Write Qt's namespace into module info JSON files | dev | qt/qtbase | Status: MERGED | +2 | 0 |
467481,2 | CMake: Write target architecture into module info files | dev | qt/qtbase | Status: MERGED | +2 | 0 |