This repository provides a backport of the Qt 6.8.0 qtbase module, tailored for compatibility with Windows 7 and 8. It contains patched source files from the qtbase module, along with some additional required files. To apply the backport, simply copy the contents of the src folder into your qtbase/src directory, replacing the existing files.
This approach builds upon the methodology discussed in this forum thread but offers significant enhancements, including important fallbacks to the default Qt 6 behavior when running on newer versions of Windows.
You have two options for compiling Qt:
- Compile it yourself using your preferred compiler and build options.
- Use our compile_win.pl build script, which utilizes Visual C++ 2022 and includes OpenSSL 3.0.13 statically linked.
Alternatively, you can download our prebuild Qt dlls, which also include the Qt Designer binary for demonstration purposes.
Qt 6.8.0 designer running on Windows 7:
Other modules:
Many of other Qt 6 modules are known to work fine on Windows 7 without modifications when compiled with patched qtbase. Verified modules:
- qt5compat
- qtimageformats
- qttools
- ... please let me know which work and which don't !
- QRhi using DirectX 11/12 is not ported
The repository shares Qt Community Edition terms which imply Open-Source terms and conditions (GPL and LGPL).