From 65742b9779135e7ddcf94040368ae7418df60fef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 20 Jul 2020 12:43:08 +0200 Subject: [PATCH] gui.pro: build help --- gui/gui.pro | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gui/gui.pro b/gui/gui.pro index b8d53034d..6fe367f7e 100644 --- a/gui/gui.pro +++ b/gui/gui.pro @@ -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