diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-15 19:12:31 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-16 07:28:53 +0000 |
commit | 1291e8d09404716b5ade2ac283f8f30efba93187 (patch) | |
tree | 8652b6d9111e13c0cd69374fa5794e2ed77065f4 /src | |
parent | c7ec7cd2a1ae9bec31113fae1f1e549b2bf98e0b (diff) |
Fix developer warnings that a plugin does not belong to a Qt module
When building qtsvg or qtimageformats there are a bunch of
configuration warnings like:
The plug-in 'qtiff' does not belong to any Qt module.
This happens because qt_get_module_for_plugin() checks for modules
only in the QT_KNOWN_MODULES variable. find_package()'d modules
will not appear there though, but only in
QT_ALL_MODULES_FOUND_VIA_FIND_PACKAGE.
Change the function to check for Qt modules in both variables.
This fixes all the warnings regarding plugins not belonging to a
module.
Change-Id: I39e668801a93794b62888cf868b97c55f57dccdd
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions