-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows build issue "redeclared without dllimport attribute: previous dllimport ignored" and "undefined reference to '__imp___argc'" #253
Comments
Hi. I didn't dig into this issue but would like to throw out some guesses.
Were you using the GitHub-shipped compiler and linker, right? Please install the Qt-provided toolchain by the
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 . |
Right.
Which tools do you mean? There are multiple tools existing.
|
Update: After adding The corresponding section is looking as follows.
@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. |
You're welcome!
I've created a feature request in aqtinstall since this action is a caller to that program. See miurahr/aqtinstall#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
The text was updated successfully, but these errors were encountered: