-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
[Bug]: Missing Qt6GuiTools in QT6 package for MinGW (Windows) #793
Comments
Hi! Did you try installing Qt6 MinGW with the official installer on Windows locally? If the official installation is broken, too, I think you could raise an issue on Qt's bug tracker: https://bugreports.qt.io/. And I guess this change is not only for MinGW, but also macOS: Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) - Pastebin.com. |
Hello @pzhlkj6612 , |
@pzhlkj6612 |
There might be a way to install Qt with its online installer by CLI, but I didn't succeed. My command in PowerShell on Windows 11: .\qt-unified-windows-x64-online.exe `
--email '<email>' `
--password '<password>' `
--no-save-account `
--accept-licenses `
--accept-obligations `
--default-answer `
--confirm-command `
install qt.qt6.671.win64_mingw
ATTENTION: use Secrets in GitHub Actions to protect your credentials. Always failed due to this error:
I don't know why. I was running the installer with the Admin right. References: |
@pktiuk , you can try to deploy a Windows VM on Linux. Debugging build system on CI looks painful to me. If you have Windows users, making a Windows test environment may not hurt. I've viewed the directory hierarchy of Qt 6.7.0, 6.7.1 and 6.7.2 official installations on a Windows 11:
Versions 6.7.0, 6.7.1 and 6.7.2 all have the same structure. |
This is really strange: https://github.com/AntiMicroX/antimicrox/actions/runs/10945179079/job/30388800737?pr=1001 These files seem to be already placed in a proper location. Maybe I should prepare some kind of minimal reproduction.
|
- name: Configure CMake
run: |
find D:/a/antimicrox/antimicrox/Qt/6.4.2/ -iname '*Qt6GuiTools*'
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -B "${{ github.workspace }}/build" ${{ matrix.cmake-args }}
env:
CMAKE_PREFIX_PATH: ${{ env.Qt5_Dir }}
WORKSPACE_DIR: ${{ github.workspace }}
I think you can try this: env:
CMAKE_PREFIX_PATH: ${{ env.Qt6_Dir }}/lib/cmake/Qt6GuiTools
Is there a |
This did not help AntiMicroX/antimicrox@93262c4
I don't think this should matter at all. The source of the problem seems to lie within MinGW version of QT, because msvc for QT6 works fine. |
I think I fixed it. AntiMicroX/antimicrox#1066 Proper walue was: CMAKE_PREFIX_PATH: "${{ env.QT_ROOT_DIR }}/lib/cmake" @pzhlkj6612 Great thanks. I wouldn't make it without your comments. |
Good to hear that! That was my bad. I forgot about what install-qt-action@v4 has changed. There is no Footnotes |
Bug description
Hello,
I have 4 workflows in my CI involving QT6 on Windows:
There is a problem with
QT 6.7 (win64_mingw)
. There is a problem only with this configuration (workflows use the same code, the same base image). I think that package may miss something.Cmake reports Error:
MinGW doesn't work also with 6.5, 6.6 and 6.2 releases (so I guess all the 6.X versions are broken)
All of the logs can be found in the logs from GitHub Actions on my repository:
https://github.com/AntiMicroX/antimicrox/actions/runs/9408049153/job/25915160132
Reproduction
Expected behavior
QT6 with MinGW should work like remaining variants.
aqt and python version
Python 3.11, aqt 3.1.15
Operating System
Windows
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: