Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.4
-
None
-
-
ea1d75d4da (qt/qttools/dev) b335a2e44b (qt/qttools/6.3) ffc5058d50 (qt/qttools/6.2) ffc5058d50 (qt/tqtc-qttools/6.2) b335a2e44b (qt/tqtc-qttools/6.3) ea1d75d4da (qt/tqtc-qttools/dev) b335a2e44b (qt/qttools/6.3.0) b335a2e44b (qt/tqtc-qttools/6.3.0)
Description
It seems my default cmake build disables 'Qt::Help'. That is fine for me, but it breaks the examples. The following change seems to resolve the problem (tested on Qt 6.2.3):
diff --git a/qttools/examples/CMakeLists.txt b/qttools/examples/CMakeLists.txt index 8a360b99e70..1db20ffabaf 100644 --- a/qttools/examples/CMakeLists.txt +++ b/qttools/examples/CMakeLists.txt @@ -8,7 +8,9 @@ qt_exclude_tool_directories_from_default_target( ) if(TARGET Qt::Widgets) - add_subdirectory(help) + if(TARGET Qt::Help) + add_subdirectory(help) + endif() add_subdirectory(linguist) add_subdirectory(uitools) endif()