Open AlbrechtL opened 2 weeks ago
Hi.
I didn't dig into this issue but would like to throw out some guesses.
All my other builds e.g. GitHub Actions Linux as well as my local build Linux and Windows runs fine. I'm using Qt 6.7.2 and
qmake
. andmingw32-make
- name: Install Qt uses: jurplel/install-qt-action@v4 with: version: '6.7.2' modules: 'qtcharts qtmultimedia qt5compat' arch: 'win64_mingw'
Were you using the GitHub-shipped compiler and linker, right? Please install the Qt-provided toolchain by the tools
option and try building the program again. Don't forget check if the compiler and linker are the ones you installed.
All my other builds e.g. GitHub Actions Linux as well as my local build Linux and Windows runs fine.
Interesting. Please paste a screenshot of the "Select Components" dialog in the "Qt Maintenance Tool". Like this: https://forum.qt.io/topic/102029/cannot-find-missing-dependency-using-qt-maintenance-tool-on-macos-10-13
.
Were you using the GitHub-shipped compiler and linker, right?
Right.
Please install the Qt-provided toolchain by the tools option and try building the program again. Don't forget check if the compiler and linker are the ones you installed.
Which tools do you mean? There are multiple tools existing.
Interesting. Please paste a screenshot of the "Select Components" dialog in the "Qt Maintenance Tool".
Update: After adding tools: 'tools_mingw90'
to the yml file the build is working.
The corresponding section is looking as follows.
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '6.7.2'
modules: 'qtcharts qtmultimedia qt5compat'
arch: 'win64_mingw'
tools: 'tools_mingw90'
@pzhlkj6612: Thanks for putting me on the right track! It is possible automatically add the correct MinGW tool set to the installation? The Qt Maintenance Tool is doing that.
Thanks for putting me on the right track!
You're welcome!
It is possible automatically add the correct MinGW tool set to the installation? The Qt Maintenance Tool is doing that.
I've created a feature request in aqtinstall since this action is a caller to that program. See https://github.com/miurahr/aqtinstall/issues/819.
Hi,
Thanks for this great action! Currently I'm porting the project welle.io to GitHub Actions and I ran into an issue where I have no clue about it.
During the build I'm getting tons of
redeclared without dllimport attribute: previous dllimport ignored
warnings and than the linker fails withundefined reference to "__imp___argc"
. All my other builds e.g. GitHub Actions Linux as well as my local build Linux and Windows runs fine. I'm using Qt 6.7.2 andqmake
. andmingw32-make
Did I miss something?
Build warning
Linker error
GitHub Actions file https://github.com/AlbrechtL/welle.io/blob/a4a7e8b0fc3f911ed85904904f3de7b7bee81c54/.github/workflows/windows.yml
Environment variables