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