Skip to content

Commit 7b3e9ef

Browse files
committed
fix qtifw path
1 parent 49711c0 commit 7b3e9ef

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,9 @@ jobs:
115115
${{steps.qt.outputs.make}} install
116116
pkg-config --exists packagekitqt5
117117
working-directory: src/3rdparty/PackageKit-Qt
118-
- name: copy QtIfw from cache
119-
if: steps.qt.outputs.tests == 'true'
120-
run: cp -a "${{steps.qt.outputs.qtdir}}/Tools" "${{steps.qt.outputs.qtdir}}/../../"
121-
shell: bash
122118
- name: qmake
123119
run: |
124-
qmake CONFIG+=install_ok QT_PLATFORM=${{matrix.platform}}
120+
qmake CONFIG+=install_ok QT_PLATFORM=${{matrix.platform}} "QT_TOOL_PATH=${{steps.qt.outputs.qtdir}}/Tools"
125121
${{steps.qt.outputs.make}} qmake_all
126122
- name: make module
127123
run: |

tests/auto/plugins/QtIfwTest/QtIfwTest.pro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ DISTFILES += \
2020
installer/config/config.xml \
2121
installer/config/controller.qs
2222

23-
isEmpty(QT_IFW_VERSION): QT_IFW_VERSION = 3.1
23+
isEmpty(QT_IFW_VERSION): QT_IFW_VERSION = 3.2
24+
isEmpty(QT_TOOL_PATH): QT_TOOL_PATH = $$[QT_INSTALL_BINS]/../../../Tools
2425

2526
DEFINES += SRCDIR=\\\"$$PWD/\\\"
26-
DEFINES += BINDIR=\\\"$$[QT_INSTALL_BINS]/../../../Tools/QtInstallerFramework/$$QT_IFW_VERSION/bin/\\\"
27+
DEFINES += BINDIR=\\\"$$QT_TOOL_PATH/QtInstallerFramework/$$QT_IFW_VERSION/bin/\\\"
2728
DEFINES += QTDIR=\\\"$$[QT_INSTALL_BINS]/../../../\\\"
2829

2930
include($$PWD/../testlib/testlib.pri)

0 commit comments

Comments
 (0)