File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272 - name : Prepare qhelpgenerator
7373 # Qt6's libexec executables are not in the PATH by default
7474 run : |
75- which qhelpgenerator && exit 0 # Already in PATH
76- PATH=/usr/lib64/qt6/libexec/:${PATH} which qhelpgenerator && echo "/usr/lib64/qt6/libexec/" >> "${GITHUB_PATH}"
75+ QHELPGENERATOR=$(which qhelpgenerator)
76+ if [ -f "${QHELPGENERATOR}" ]; then
77+ echo "QHELPGENERATOR=${QHELPGENERATOR}" >> "${GITHUB_ENV}";
78+ else
79+ PATH=/usr/lib64/qt6/libexec/:${PATH} QHELPGENERATOR=$(which qhelpgenerator)
80+ echo "QHELPGENERATOR=${QHELPGENERATOR}" >> "${GITHUB_ENV}"
81+ fi
7782
7883 - name : Checkout
7984 uses : actions/checkout@v6
Original file line number Diff line number Diff line change @@ -1700,7 +1700,7 @@ QHP_SECT_FILTER_ATTRS =
17001700# run qhelpgenerator on the generated .qhp file.
17011701# This tag requires that the tag GENERATE_QHP is set to YES.
17021702
1703- QHG_LOCATION = qhelpgenerator
1703+ QHG_LOCATION = $(QHELPGENERATOR)
17041704
17051705# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
17061706# generated, together with the HTML files, they form an Eclipse help plugin. To
You can’t perform that action at this time.
0 commit comments