Package Details: mingw-w64-qt6-base 6.8.0-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-qt6-base.git (read-only, click to copy)
Package Base: mingw-w64-qt6-base
Description: A cross-platform application and UI framework (mingw-w64)
Upstream URL: https://www.qt.io
Licenses: custom, GPL3, LGPL3, FDL
Groups: mingw-w64-qt6
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 6
Popularity: 0.025206
First Submitted: 2020-10-08 15:27 (UTC)
Last Updated: 2024-10-15 01:24 (UTC)

Sources (19)

Pinned Comments

Martchus commented on 2021-08-25 10:22 (UTC) (edited on 2021-10-29 10:56 (UTC) by Martchus)

Apparently the mingw-w64-qt6-* packages can break easily after updating the native qt6-* packages, e.g. when installing the native Qt 6.2.0 packages (beta4 is currently in kde-unstable) the CMake configuration files from the newer native packages try to invoke functions which don't exist in the mingw-w64-qt6-* packages at 6.1.2. I don't think there's anything I can do about it except trying to update the packages as fast as possible. There's actually a lengthy discussion about this topic on the Qt development mailinglist. Also see remarks in the related README section.

One might be tempted to add IgnoreGroup = qt6 to /etc/pacman.conf. At this point it could actually work but of course it would break all native Qt 6 apps which are already linked against the newer version. When building in a containerized environment, e.g. using makechrootpkg this would likely be no problem.

Martchus commented on 2021-01-05 00:39 (UTC) (edited on 2021-01-05 00:40 (UTC) by Martchus)

Latest Comments

sperg512 commented on 2022-05-01 16:38 (UTC)

Currently failing for me:

FAILED: lib/qt6/plugins/platforms/qwindows.dll src/plugins/platforms/windows/QWindowsIntegrationPlugin.version /home/swirl/.cache/yay/mingw-w64-qt6-base/src/build-i686-w64-mingw32/src/plugins/platforms/windows/QWindowsIntegrationPlugin.version 
cd /home/swirl/.cache/yay/mingw-w64-qt6-base/src/qtbase-everywhere-src-6.3.0/src/plugins/platforms/windows && /usr/bin/perl /home/swirl/.cache/yay/mingw-w64-qt6-base/src/qtbase-everywhere-src-6.3.0/mkspecs/features/data/unix/findclasslist.pl < /home/swirl/.cache/yay/mingw-w64-qt6-base/src/build-i686-w64-mingw32/src/plugins/platforms/windows/QWindowsIntegrationPlugin.version.in > /home/swirl/.cache/yay/mingw-w64-qt6-base/src/build-i686-w64-mingw32/src/plugins/platforms/windows/QWindowsIntegrationPlugin.version && cd /home/swirl/.cache/yay/mingw-w64-qt6-base/src/build-i686-w64-mingw32 && /usr/bin/i686-w64-mingw32-g++ -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fcf-protection -DNDEBUG -O2  -Wl,-O1,--sort-common,--as-needed -fstack-protector   -Wl,--no-undefined -Wl,--version-script,/home/swirl/.cache/yay/mingw-w64-qt6-base/src/build-i686-w64-mingw32/src/plugins/platforms/windows/QWindowsIntegrationPlugin.version -shared -o lib/qt6/plugins/platforms/qwindows.dll -Wl,--major-image-version,0,--minor-image-version,0 src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/QWindowsIntegrationPlugin_autogen/mocs_compilation.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/main.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwin10helpers.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsapplication.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsbackingstore.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowscontext.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowscursor.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsdialoghelpers.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsdropdataobject.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsgdiintegration.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsgdinativeinterface.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsinputcontext.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsintegration.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsinternalmimedata.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowskeymapper.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsmenu.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsmime.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsmousehandler.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsnativeinterface.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsole.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsopengltester.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowspointerhandler.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsscreen.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsservices.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowstheme.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowswindow.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/.rcc/qrc_openglblacklists.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsglcontext.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowssystemtrayicon.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsvulkaninstance.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsclipboard.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowsdrag.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowstabletsupport.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowssessionmanager.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/.rcc/qrc_cursors.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiaaccessibility.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiabaseprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiaexpandcollapseprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiagriditemprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiagridprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiainvokeprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiamainprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiaprovidercache.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiarangevalueprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiaselectionitemprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiaselectionprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiatableitemprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiatableprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiatextprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiatextrangeprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiatoggleprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiautils.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiavalueprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/uiautomation/qwindowsuiawindowprovider.cpp.obj src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/QWindowsIntegrationPlugin_resource.rc.res  -ladvapi32  -ldwmapi  -lgdi32  -limm32  -lole32  -loleaut32  -lshell32  -lshlwapi  -luser32  -lwinmm  -lwinspool  -lwtsapi32  -lshcore  -lcomdlg32  -ld3d9  -lruntimeobject  -luuid  -luuid  lib/libQt6OpenGL.dll.a  lib/libQt6Gui.dll.a  lib/libQt6Core.dll.a  -lmpr  -luserenv  -ld3d11  -ldxgi  -ldxguid  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && :
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowscontext.cpp.obj:qwindowscontext.cpp:(.text+0x1f54): undefined reference to `_imp__SystemParametersInfoForDpi@20'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowscontext.cpp.obj:qwindowscontext.cpp:(.text+0x200c): undefined reference to `_imp__SystemParametersInfoForDpi@20'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowscontext.cpp.obj:qwindowscontext.cpp:(.text+0x20fd): undefined reference to `_imp__SystemParametersInfoForDpi@20'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowscontext.cpp.obj:qwindowscontext.cpp:(.text+0x21eb): undefined reference to `_imp__SystemParametersInfoForDpi@20'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowscontext.cpp.obj:qwindowscontext.cpp:(.text+0x2e10): undefined reference to `_imp__SetProcessDpiAwarenessContext@4'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowscontext.cpp.obj:qwindowscontext.cpp:(.text$_ZN15QWindowsContext11windowsProcEP6HWND__jN9QtWindows16WindowsEventTypeEjlPlPP14QWindowsWindow[__ZN15QWindowsContext11windowsProcEP6HWND__jN9QtWindows16WindowsEventTypeEjlPlPP14QWindowsWindow]+0x14fe): undefined reference to `_imp__GetWindowDpiAwarenessContext@4'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowscontext.cpp.obj:qwindowscontext.cpp:(.text$_ZN15QWindowsContext11windowsProcEP6HWND__jN9QtWindows16WindowsEventTypeEjlPlPP14QWindowsWindow[__ZN15QWindowsContext11windowsProcEP6HWND__jN9QtWindows16WindowsEventTypeEjlPlPP14QWindowsWindow]+0x150a): undefined reference to `_imp__GetAwarenessFromDpiAwarenessContext@4'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowscontext.cpp.obj:qwindowscontext.cpp:(.text$_ZN15QWindowsContext11windowsProcEP6HWND__jN9QtWindows16WindowsEventTypeEjlPlPP14QWindowsWindow[__ZN15QWindowsContext11windowsProcEP6HWND__jN9QtWindows16WindowsEventTypeEjlPlPP14QWindowsWindow]+0x151f): undefined reference to `_imp__EnableNonClientDpiScaling@4'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowskeymapper.cpp.obj:qwindowskeymapper.cpp:(.text+0x3840): undefined reference to `_imp__GetDpiForWindow@4'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowskeymapper.cpp.obj:qwindowskeymapper.cpp:(.text+0x3846): undefined reference to `_imp__GetSystemMetricsForDpi@8'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowswindow.cpp.obj:qwindowswindow.cpp:(.text+0xd78): undefined reference to `_imp__GetDpiForWindow@4'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowswindow.cpp.obj:qwindowswindow.cpp:(.text+0xd7e): undefined reference to `_imp__GetSystemMetricsForDpi@8'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowswindow.cpp.obj:qwindowswindow.cpp:(.text+0x2b5d): undefined reference to `_imp__AdjustWindowRectExForDpi@20'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowswindow.cpp.obj:qwindowswindow.cpp:(.text+0xb468): undefined reference to `_imp__GetDpiForWindow@4'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowswindow.cpp.obj:qwindowswindow.cpp:(.text+0xb46e): undefined reference to `_imp__GetSystemMetricsForDpi@8'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowswindow.cpp.obj:qwindowswindow.cpp:(.text+0xe094): undefined reference to `_imp__GetDpiForWindow@4'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowswindow.cpp.obj:qwindowswindow.cpp:(.text+0xe34f): undefined reference to `_imp__GetDpiForWindow@4'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowswindow.cpp.obj:qwindowswindow.cpp:(.text+0xe355): undefined reference to `_imp__GetSystemMetricsForDpi@8'
/usr/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld: src/plugins/platforms/windows/CMakeFiles/QWindowsIntegrationPlugin.dir/qwindowswindow.cpp.obj:qwindowswindow.cpp:(.text$_ZNK18WindowCreationData6createEPK7QWindowRK18QWindowsWindowData7QString[__ZNK18WindowCreationData6createEPK7QWindowRK18QWindowsWindowData7QString]+0x68d): undefined reference to `_imp__GetSystemMetricsForDpi@8'
collect2: error: ld returned 1 exit status

Martchus commented on 2021-10-02 16:34 (UTC) (edited on 2021-10-02 17:26 (UTC) by Martchus)

Before anybody complains about broken TLS: It looks like TLS support via OpenSSL has been moved to a plugin. So make sure to bundle that plugin or to link against it when using the static variant. I also tried using the Schannel plugin and it worked. So now one can easily get rid of OpenSSL relying on Schannel for Qt Network's TLS support.

Martchus commented on 2021-08-25 10:22 (UTC) (edited on 2021-10-29 10:56 (UTC) by Martchus)

Apparently the mingw-w64-qt6-* packages can break easily after updating the native qt6-* packages, e.g. when installing the native Qt 6.2.0 packages (beta4 is currently in kde-unstable) the CMake configuration files from the newer native packages try to invoke functions which don't exist in the mingw-w64-qt6-* packages at 6.1.2. I don't think there's anything I can do about it except trying to update the packages as fast as possible. There's actually a lengthy discussion about this topic on the Qt development mailinglist. Also see remarks in the related README section.

One might be tempted to add IgnoreGroup = qt6 to /etc/pacman.conf. At this point it could actually work but of course it would break all native Qt 6 apps which are already linked against the newer version. When building in a containerized environment, e.g. using makechrootpkg this would likely be no problem.

Martchus commented on 2021-01-05 00:39 (UTC) (edited on 2021-01-05 00:40 (UTC) by Martchus)

xantares commented on 2020-11-01 20:56 (UTC) (edited on 2020-11-02 08:08 (UTC) by xantares)

hi,

I think somehting is wrong when running qmake here:

/usr/i686-w64-mingw32/lib/qt6/bin/qmake: line 7: /usr/lib/qt6/bin/qmake: No such file or directory

I think it need to depend on qt6-base