Skip to content

Commit 2b96820

Browse files
committed
win_installer: include online-help in msi
1 parent 453cd93 commit 2b96820

4 files changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/release-windows.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,19 @@ jobs:
5050
- name: Install Qt
5151
uses: jurplel/install-qt-action@v2
5252
with:
53-
modules: 'qtcharts'
53+
modules: 'qtcharts qthelp'
5454

5555
- name: Create .qm
5656
run: |
5757
cd gui
5858
lupdate gui.pro
5959
lrelease gui.pro -removeidentical
6060
61+
- name: Create online-help
62+
run: |
63+
cd gui\help
64+
qhelpgenerator online-help.qhcp -o online-help.qhc
65+
6166
- name: Matchcompiler
6267
run: python tools\matchcompiler.py --write-dir lib
6368

win_installer/config.wxi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<Include>
33
<?define CliBuildDir = "..\bin" ?>
44
<?define GuiBuildDir = "..\bin" ?>
5+
<?define GuiHelpDir = "..\gui\help" ?>
56
<?define TranslationsDir = "..\gui" ?>
67
<?define CfgsDir = "..\cfg" ?>
78
<?define PtfsDir = "..\platforms" ?>

win_installer/cppcheck.wxs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
<File Id='qwindowsvistastyledll' Name='qwindowsvistastyle.dll' Source='$(var.QtDllDir)\styles\qwindowsvistastyle.dll' />
5656
</Component>
5757
</Directory>
58+
<Directory Id='GuiHelpFolder' Name='help'>
59+
<Component Id='GuiHelp' DiskId='1' Guid='$(var.guihelpGUID)'>
60+
<File Id='onlinehelpqhc' Name='online-help.qhc' Source='$(var.GuiHelpDir)\online-help.qhc' />
61+
<File Id='onlinehelpqch' Name='online-help.qch' Source='$(var.GuiHelpDir)\online-help.qch' />
62+
</Component>
63+
</Directory>
5864
<Directory Id='TranslationsFolder' Name='lang'>
5965
<Component Id='GuiTranslations' Guid='$(var.guiTranslationsGUID)'>
6066
<File Id='cppcheck_de.qm' Name='cppcheck_de.qm' Source='$(var.TranslationsDir)\cppcheck_de.qm' />

win_installer/productInfo.wxi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@
2121
<?define optionalPtfsGUID = "F9EB9DB1-C0F1-4548-A5B0-27B51CD43A34" ?>
2222
<?define basedocsGUID = "9F62B23C-CD2B-4826-A567-6AB6F75A2AEA" ?>
2323
<?define registrykeysGUID = "8CB515B1-6EF6-4A2A-97A0-F8A13E3A505E" ?>
24+
<?define guihelpGUID = "0A0C93BF-59E8-4919-B08F-D4BA63B9C93C" ?>
2425
</Include>

0 commit comments

Comments
 (0)