Introduce a new QT_OPTIONAL_TOOLS_PATH cmake variable that can be set to a path where some of the documentation generation host tools might be located. This allows using specific builds of qdoc, qvkgen, qdbusxml2cpp and qtattributionsscanner for documentation generation. QT_HOST_PATH wouldn't be sufficient in this case, because it requires all host tools to be installed for the given path, otherwise configuration will fail In contrast with QT_OPTIONAL_TOOLS_PATH we can specify the paths only for the tools listed above, while continuing using other build tools from the usual locations, either built or found. As a drive-by, fix the usage of CMAKE_EXECUTABLE_SUFFIX to be based on the host platform. Task-number: QTBUG-128730 Change-Id: I2796be3a9772b106788ce63a4aed890516e8b716 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit aab8b7727d8acff989dbdf9b01ca7fb2b12da541) 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%