gui.pro: build help

This commit is contained in:
Daniel Marjamäki 2020-07-20 12:43:08 +02:00
parent 89ba12d9b3
commit 65742b9779
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,13 @@ QT += widgets
QT += printsupport
QT += help
# Build online help
onlinehelp.target = online-help.qhc
#onlinehelp.depends = $$PWD/help/online-help.qhp
onlinehelp.commands = qhelpgenerator $$PWD/help/online-help.qhp -o online-help.qch ; qhelpgenerator $$PWD/help/online-help.qhcp -o online-help.qhc
QMAKE_EXTRA_TARGETS += onlinehelp
PRE_TARGETDEPS += online-help.qhc
contains(LINKCORE, [yY][eE][sS]) {
LIBS += -l../bin/cppcheck-core
DEFINES += CPPCHECKLIB_IMPORT