qt5base-lts/mkspecs/features/data
Kai Koehne 99ace38d22 CMake: Also import Qt plugins that are not literally named *Plugin
There are some plugins in qtlocation, qtdeclarative whose names are not
suffixed with 'Plugin', so the current logic fails to load the
corresponding QtModule_XXX.cmake file.

Work around this by just searching for

  Qt5$${CMAKE_MODULE_NAME}}_*.cmake.

Users can define QT5_STRICT_PLUGIN_GLOB
or Qt5$${CMAKE_MODULE_NAME}_STRICT_PLUGIN_GLOB
to change back to the old behavior.

[ChangeLog][cmake] Fixed an issue where some Qt location and
declarative plugins whose name did not end with "Plugin"
where not imported by the corresponding Qt component package.

You can force the old behavior by setting QT5_STRICT_PLUGIN_GLOB or
Qt5ModuleName_STRICT_PLUGIN_GLOB before the find_package(Qt5 ...)
call.

Fixes: QTBUG-58812
Change-Id: Ic8adf9562841ed49eabc4f7fb2b5ae257ca606cd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-03-24 17:40:40 +01:00
..
cmake CMake: Also import Qt plugins that are not literally named *Plugin 2020-03-24 17:40:40 +01:00
mac macOS: Fix Objective-C namespaceing with Xcode 10 2018-12-03 20:13:13 +00:00
testserver Share the common configurations among different modules 2019-07-01 01:09:42 +02:00
unix findclasslist.pl: namespaces can be exported too 2016-10-13 08:29:02 +00:00
configure.json configure: log -I and -L before doing first library check 2018-11-21 23:07:34 +00:00
dummy.cpp Implement a more direct headersclean check 2015-04-17 00:54:45 +00:00
dumpvcvars.bat qmake: rewrite msvc/nmake cross-build environment setup 2019-01-05 20:33:24 +00:00
macros.cpp qmake: add default path and version detection for ghs toolchain 2018-08-17 15:07:00 +00:00