2019-05-12 22:20:56 +02:00
|
|
|
add_qtc_plugin(Help
|
|
|
|
|
CONDITION TARGET Qt5::Help
|
|
|
|
|
DEPENDS shared_help
|
|
|
|
|
PLUGIN_DEPENDS Core ProjectExplorer
|
|
|
|
|
PLUGIN_RECOMMENDS TextEditor
|
|
|
|
|
SOURCES
|
|
|
|
|
docsettingspage.cpp docsettingspage.h docsettingspage.ui
|
|
|
|
|
filtersettingspage.cpp filtersettingspage.h filtersettingspage.ui
|
|
|
|
|
generalsettingspage.cpp generalsettingspage.h generalsettingspage.ui
|
|
|
|
|
help.qrc
|
|
|
|
|
helpconstants.h
|
|
|
|
|
helpfindsupport.cpp helpfindsupport.h
|
|
|
|
|
helpindexfilter.cpp helpindexfilter.h
|
|
|
|
|
helpmanager.cpp helpmanager.h
|
|
|
|
|
helpmode.cpp helpmode.h
|
|
|
|
|
helpplugin.cpp helpplugin.h
|
|
|
|
|
helpviewer.cpp helpviewer.h
|
|
|
|
|
helpwidget.cpp helpwidget.h
|
|
|
|
|
localhelpmanager.cpp localhelpmanager.h
|
|
|
|
|
openpagesmanager.cpp openpagesmanager.h
|
|
|
|
|
openpagesswitcher.cpp openpagesswitcher.h
|
|
|
|
|
openpageswidget.cpp openpageswidget.h
|
|
|
|
|
searchtaskhandler.cpp searchtaskhandler.h
|
|
|
|
|
searchwidget.cpp searchwidget.h
|
|
|
|
|
textbrowserhelpviewer.cpp textbrowserhelpviewer.h
|
|
|
|
|
xbelsupport.cpp xbelsupport.h
|
|
|
|
|
)
|
|
|
|
|
|
2019-05-21 12:22:35 +02:00
|
|
|
extend_qtc_plugin(Help
|
2019-05-24 09:49:24 +02:00
|
|
|
CONDITION FWWebKit AND FWAppKit
|
2019-08-30 11:43:19 +02:00
|
|
|
FEATURE_INFO "Native WebKit help viewer"
|
2019-05-21 12:22:35 +02:00
|
|
|
DEPENDS ${FWWebKit} ${FWAppKit}
|
|
|
|
|
DEFINES QTC_MAC_NATIVE_HELPVIEWER
|
|
|
|
|
SOURCES
|
|
|
|
|
macwebkithelpviewer.h
|
|
|
|
|
macwebkithelpviewer.mm
|
|
|
|
|
)
|
2019-05-12 22:20:56 +02:00
|
|
|
|
|
|
|
|
find_package(Qt5WebEngineWidgets QUIET)
|
2019-05-21 12:22:35 +02:00
|
|
|
extend_qtc_plugin(Help
|
|
|
|
|
CONDITION TARGET Qt5::WebEngineWidgets
|
2019-08-30 11:43:19 +02:00
|
|
|
FEATURE_INFO "QtWebEngine help viewer"
|
2019-05-21 12:22:35 +02:00
|
|
|
DEPENDS Qt5::WebEngineWidgets
|
2019-07-29 15:35:21 +02:00
|
|
|
DEFINES QTC_WEBENGINE_HELPVIEWER
|
2019-05-21 12:22:35 +02:00
|
|
|
SOURCES
|
|
|
|
|
webenginehelpviewer.cpp
|
|
|
|
|
webenginehelpviewer.h
|
|
|
|
|
)
|
2019-07-29 15:30:58 +02:00
|
|
|
|
2019-09-18 11:50:08 +02:00
|
|
|
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/qlitehtml/litehtml/CMakeLists.txt)
|
2019-07-29 15:30:58 +02:00
|
|
|
add_subdirectory(qlitehtml)
|
2019-09-18 11:50:08 +02:00
|
|
|
else()
|
|
|
|
|
find_package(litehtml QUIET)
|
|
|
|
|
if (TARGET litehtml)
|
|
|
|
|
add_subdirectory(qlitehtml)
|
|
|
|
|
endif()
|
2019-07-29 15:30:58 +02:00
|
|
|
endif()
|
2019-08-30 11:43:19 +02:00
|
|
|
|
|
|
|
|
extend_qtc_plugin(Help
|
|
|
|
|
CONDITION TARGET litehtml AND TARGET qlitehtml
|
|
|
|
|
FEATURE_INFO "litehtml help viewer"
|
|
|
|
|
DEPENDS qlitehtml
|
|
|
|
|
DEFINES QTC_LITEHTML_HELPVIEWER
|
|
|
|
|
SOURCES
|
|
|
|
|
litehtmlhelpviewer.cpp
|
|
|
|
|
litehtmlhelpviewer.h
|
|
|
|
|
)
|