Files
qt-creator/src/plugins/help/help.pro
Eike Ziller 2c17fbe8dd Make Core independent from QtHelp
We don't want various plugins to depend on the Help plugin,
but we also do not want Core to depend on QtHelp.
For example when turning the Help plugin off, documentation should
actually no longer be registered through QtHelp. So we need
parts of the interface in Core, which must then be delegated
to the actual implementation in Help.

As positive side-effects the interface in Core will be slimmer,
and the code in the Help plugin can later be simplified, too,
because then we don't have the "Core" and the "Gui" help engines
separated in different plugins anymore, which should remove the
need for some setup indirections.

Task-number: QTCREATORBUG-20381
Change-Id: I634c5811c45d6a3dfd6ddc682cae270e38384cbf
Reviewed-by: hjk <hjk@qt.io>
2018-09-04 11:21:18 +00:00

85 lines
1.8 KiB
Prolog

QT += help network printsupport sql
INCLUDEPATH += $$PWD
include(../../qtcreatorplugin.pri)
DEFINES += \
QT_CLUCENE_SUPPORT \
HELP_LIBRARY
HEADERS += \
centralwidget.h \
docsettingspage.h \
filtersettingspage.h \
generalsettingspage.h \
helpconstants.h \
helpfindsupport.h \
helpindexfilter.h \
localhelpmanager.h \
helpmanager.h \
helpmode.h \
helpplugin.h \
helpviewer.h \
openpagesmanager.h \
openpagesmodel.h \
openpagesswitcher.h \
openpageswidget.h \
remotehelpfilter.h \
searchwidget.h \
xbelsupport.h \
searchtaskhandler.h \
textbrowserhelpviewer.h \
helpwidget.h
SOURCES += \
centralwidget.cpp \
docsettingspage.cpp \
filtersettingspage.cpp \
generalsettingspage.cpp \
helpfindsupport.cpp \
helpindexfilter.cpp \
localhelpmanager.cpp \
helpmanager.cpp \
helpmode.cpp \
helpplugin.cpp \
helpviewer.cpp \
openpagesmanager.cpp \
openpagesmodel.cpp \
openpagesswitcher.cpp \
openpageswidget.cpp \
remotehelpfilter.cpp \
searchwidget.cpp \
xbelsupport.cpp \
searchtaskhandler.cpp \
textbrowserhelpviewer.cpp \
helpwidget.cpp
FORMS += docsettingspage.ui \
filtersettingspage.ui \
generalsettingspage.ui \
remotehelpfilter.ui
!isEmpty(QT.webenginewidgets.name) {
QT += webenginewidgets
HEADERS += webenginehelpviewer.h
SOURCES += webenginehelpviewer.cpp
DEFINES += QTC_WEBENGINE_HELPVIEWER
}
osx {
DEFINES += QTC_MAC_NATIVE_HELPVIEWER
QT += macextras
HEADERS += macwebkithelpviewer.h
OBJECTIVE_SOURCES += macwebkithelpviewer.mm
LIBS += -framework WebKit -framework AppKit
!isEmpty(USE_QUICK_WIDGET) {
DEFINES += QTC_MAC_NATIVE_HELPVIEWER_DEFAULT
}
}
RESOURCES += help.qrc
include(../../shared/help/help.pri)