GUI: Add online help (CMake)

This commit is contained in:
Frank Zingsheim 2020-07-26 00:22:28 +02:00
parent fa32624c93
commit 686a1bec99
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
if (BUILD_GUI) if (BUILD_GUI)
if (NOT WITH_QCHART) if (NOT WITH_QCHART)
find_package(Qt5 COMPONENTS Core Gui Widgets PrintSupport LinguistTools REQUIRED) find_package(Qt5 COMPONENTS Core Gui Widgets PrintSupport LinguistTools Help REQUIRED)
else() else()
find_package(Qt5 COMPONENTS Core Gui Widgets PrintSupport LinguistTools Charts REQUIRED) find_package(Qt5 COMPONENTS Core Gui Widgets PrintSupport LinguistTools Help Charts REQUIRED)
endif() endif()
endif() endif()

View File

@ -27,7 +27,7 @@ if (BUILD_GUI)
if (USE_Z3) if (USE_Z3)
target_link_libraries(cppcheck-gui ${Z3_LIBRARIES}) target_link_libraries(cppcheck-gui ${Z3_LIBRARIES})
endif() endif()
target_link_libraries(cppcheck-gui Qt5::Core Qt5::Gui Qt5::Widgets Qt5::PrintSupport) target_link_libraries(cppcheck-gui Qt5::Core Qt5::Gui Qt5::Widgets Qt5::PrintSupport Qt5::Help)
if(WITH_QCHART) if(WITH_QCHART)
target_compile_definitions (cppcheck-gui PRIVATE HAVE_QCHART ) target_compile_definitions (cppcheck-gui PRIVATE HAVE_QCHART )
target_link_libraries(cppcheck-gui Qt5::Charts) target_link_libraries(cppcheck-gui Qt5::Charts)