Qt Creator 6.0.1 and Qt 6.2.2 running on Windows 7
-
wrote on 9 Jan 2022, 13:21 last edited by
Thank you,you save me!
-
wrote on 19 Jan 2022, 11:27 last edited by
@hskoglund : There are Qt 5 based builds of Qt Creator 6.0.x on https://download.qt.io/snapshots/qtcreator_qt5/6.0/
-
@hskoglund : There are Qt 5 based builds of Qt Creator 6.0.x on https://download.qt.io/snapshots/qtcreator_qt5/6.0/
wrote on 19 Jan 2022, 12:19 last edited by@andr Thank you! I know I've seen that link before but couldn't find it.
If those Qt5-flavored builds of Qt Creator keep coming, that'll solve almost all of my issues with Qt and Windows 7, except if I want to build and test a Qt6 app. In that case my patches above could still be useful :-)
-
wrote on 10 Mar 2022, 15:43 last edited by
@hskoglund Will you like to share the patches that you had applied to fix this 0xC0000005 error? I am also trying to get 6.2 working on Windows 7. Even the uic.exe moc.exe console apps fail with 0xC0000005 error. Many Thanks if you can help out.
-
wrote on 10 Mar 2022, 18:46 last edited by
Hi, the patches for Qt 6.2.2 in binary format (3 .dlls) can be downloaded via the link above (in the first post).
The patches in source format consists of 9 files, I made a .zip for you here
I've only tested them on Qt 6.2.2 but with a bit of luck they should work on 6.2.3 as well... -
I use Windows 10 also, for sure. But at least on 2 occasions when I went to get a coffee, coming back and finding Windows 10 has restarted my machine without my consent, does not help. Re. security updates, you are correct. So I make sure my PC cannot be reached from internet, does not have any email capability and only surf to qt.io and google.
wrote on 25 Mar 2022, 15:21 last edited by@hskoglund
I still find Win 7 much better than Win 10. But at some point one has no other options than update.
Jean-Claude -
@hskoglund
I still find Win 7 much better than Win 10. But at some point one has no other options than update.
Jean-Claude -
wrote on 26 Mar 2022, 01:58 last edited by subalternpushingtech29087
@hskoglund sup , i dmd you ...need your help for some QT .dlls , to get some 6.2.2 and 6.2.4 apps to work with w7, much obliged
-
@hskoglund
I still find Win 7 much better than Win 10. But at some point one has no other options than update.
Jean-Claudewrote on 26 Mar 2022, 02:14 last edited by@jcga theres still life left yet my good dude , ESUS still go till end of this year , still solid shit
-
wrote on 26 Mar 2022, 03:59 last edited by
Hi, you should be able to get a Qt 6.2.2 MSVC 2019 64-bit widgets-flavored Qt app running on Windows 7 by downloading the .zip (link in the top post) and replace those 3 .dlls in your Qt installation.
For a Qt 6.2.4 widgets app it is likely to get it to work (I haven't tried) on Windows 7 by downloading the source .zip (see link above), replacing the 9 source files and rebuilding Qt. -
Hi, you should be able to get a Qt 6.2.2 MSVC 2019 64-bit widgets-flavored Qt app running on Windows 7 by downloading the .zip (link in the top post) and replace those 3 .dlls in your Qt installation.
For a Qt 6.2.4 widgets app it is likely to get it to work (I haven't tried) on Windows 7 by downloading the source .zip (see link above), replacing the 9 source files and rebuilding Qt.wrote on 26 Mar 2022, 05:19 last edited by subalternpushingtech29087@hskoglund would appreciate it if you could give it a look , 6.2.4 .dlls , when you have some time of course, im not good at all in terms of rebuilding QT, just aim to run QT 6.2.2 and 6.2.4 apps on w7, tho if theres a easy one click tool that does this ...i can try, mind you i dont have QT installed myself , but the apps i use have QT included aka use QT and its .dlls , as ive posted an example in the Chat i opened with you
-
@hskoglund would appreciate it if you could give it a look , 6.2.4 .dlls , when you have some time of course, im not good at all in terms of rebuilding QT, just aim to run QT 6.2.2 and 6.2.4 apps on w7, tho if theres a easy one click tool that does this ...i can try, mind you i dont have QT installed myself , but the apps i use have QT included aka use QT and its .dlls , as ive posted an example in the Chat i opened with you
wrote on 29 Mar 2022, 19:41 last edited by subalternpushingtech29087@hskoglund , would still appreciate if you could help a bro out here...as said i posted you one of the apps i use also in chat .....also if you have discord id like to add you to my friends list
-
wrote on 29 Mar 2022, 19:57 last edited by
Sorry I'm swamped with work now, but when Qt 6.3.0 arrives I might give it a shot re. Windows 7...
-
Sorry I'm swamped with work now, but when Qt 6.3.0 arrives I might give it a shot re. Windows 7...
wrote on 29 Mar 2022, 20:14 last edited by@hskoglund very nice my man , appreciate it alot!
-
Sorry I'm swamped with work now, but when Qt 6.3.0 arrives I might give it a shot re. Windows 7...
wrote on 19 Apr 2022, 07:06 last edited by@hskoglund Build error, Qt 6.3.
-
wrote on 26 Apr 2022, 14:14 last edited by dmginc
With some initial guidance from @hskoglund (thanks!), I have managed to create Windows 7-compatible DLLs for Qt 6.3.0 (QtCore, QtGui, qwindows).
Purely for experimental/"at your own risk" use of course :)
Download for DLLs (also contains diff file showing the modifications needed to the original source files): https://web.tresorit.com/l/idV8c#QwlBcUwvkQYjzbRSWlZlnQ
Any issues, please let me know.
EDIT: Here is the batch file I used to setup my environment for building:
@echo off REM Set up Microsoft Visual Studio 2019, where <arch> is amd64, x86, etc. CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64 REM Edit this location to point to the source code of Qt SET _ROOT=C:\projects\qt5 SET PATH=%_ROOT%\qtbase\bin;%PATH% SET PATH=C:\ninja;%PATH% cd %_ROOT% SET _ROOT= REM Set Windows version macros to Windows 7 SET CL=/DWINVER=0x0601 %CL% SET CL=/D_WIN32_WINNT=0x0601 %CL% SET CL=/DNTDDI_VERSION=0x06010000 %CL% REM Assume Internet Explorer 8.0 REM See https://docs.microsoft.com/en-us/windows/win32/winprog/using-the-windows-headers#macros-for-conditional-declarations SET CL=/D_WIN32_IE=0x0800 %CL% REM Keeps the command line open when this script is run. cmd /k
-
With some initial guidance from @hskoglund (thanks!), I have managed to create Windows 7-compatible DLLs for Qt 6.3.0 (QtCore, QtGui, qwindows).
Purely for experimental/"at your own risk" use of course :)
Download for DLLs (also contains diff file showing the modifications needed to the original source files): https://web.tresorit.com/l/idV8c#QwlBcUwvkQYjzbRSWlZlnQ
Any issues, please let me know.
EDIT: Here is the batch file I used to setup my environment for building:
@echo off REM Set up Microsoft Visual Studio 2019, where <arch> is amd64, x86, etc. CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64 REM Edit this location to point to the source code of Qt SET _ROOT=C:\projects\qt5 SET PATH=%_ROOT%\qtbase\bin;%PATH% SET PATH=C:\ninja;%PATH% cd %_ROOT% SET _ROOT= REM Set Windows version macros to Windows 7 SET CL=/DWINVER=0x0601 %CL% SET CL=/D_WIN32_WINNT=0x0601 %CL% SET CL=/DNTDDI_VERSION=0x06010000 %CL% REM Assume Internet Explorer 8.0 REM See https://docs.microsoft.com/en-us/windows/win32/winprog/using-the-windows-headers#macros-for-conditional-declarations SET CL=/D_WIN32_IE=0x0800 %CL% REM Keeps the command line open when this script is run. cmd /k
-
@dmginc I have difficulty applying the diff.txt file. Would you mind providing the changed source files for download? Thank you.
wrote on 28 Apr 2022, 03:21 last edited by -
wrote on 28 Apr 2022, 03:32 last edited by
Great work! I remember struggling with the correct settings for the SDK vars like WINVER, _WIN32_WINNT etc. and left them in a messy state, your .bat file above is a cleaner approach :-)
-
wrote on 8 May 2022, 13:32 last edited by subalternpushingtech29087 5 Aug 2022, 13:34
not sure but maybe an sorts of autopatcher .....to make future QT built Apps work on W7 would be a pretty epic thing, so say you gots an App that uses QT for its GUI etc and for the patcher to just patch all .dlls so App runs on W7