Usually apps created by qt_internal_add_app() are not meant for installation on Android, and are excluded from installation using qt_exclude_tool_directories_from_default_target(). Some repos might be missing the exclusion call, which means the app would be built and installed on Android. qt_internal_add_app creates MODULE_LIBRARYs instead of EXECUTABLEs when targeting Android. While the SBOM machinery only expects EXECUTABLEs for apps. If the app target is not excluded (in which case the SBOM would be skipped), this would cause the SBOM code to error out saying the target type is unsupported. To prevent further errors like this, add MODULE_LIBRARY as a valid target type for qt apps. Task-number: QTBUG-122899 Change-Id: I3ec80add22f0584638990171c59b78c24725c052 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit d24936dbdc85d5fe875b5d3df702630df4d4ba9d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%