summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/psql/qsql_psql.cpp
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2025-01-23 19:29:17 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2025-01-27 17:36:33 +0100
commitc7027880aa746a01362ac12491910479d7fc67e3 (patch)
tree3bac3159b365902e98fe653a35c1f33201bf9c14 /src/plugins/sqldrivers/psql/qsql_psql.cpp
parentbf83fffd13c176391d353080cd76bc68ae7ea184 (diff)
CMake: Provide a way to find all available Qt module packages
A project might want to find_package all available (installed) Qt CMake packages that contain qt modules. A use case might be a qml app that needs to link to all of Qt, and support showing qml files that can load any Qt qml module. Add a new Qt6 COMPONENT called ALL_QT_MODULES. It can be used like this: find_package(Qt6 COMPONENTS ALL_QT_MODULES). The implementation will find all installed Qt modules by globbing over all json files installed in $qt/modules dir, and treat the file names as package names. It will then tell Qt6 to find_package each of those packages. Pick-to: 6.8 6.9 Change-Id: I89242307438576a0cbb3cdca80a9cb72818b6035 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/psql/qsql_psql.cpp')
0 files changed, 0 insertions, 0 deletions