Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Creator 6.0.1 and Qt 6.2.2 running on Windows 7
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 6.0.1 and Qt 6.2.2 running on Windows 7

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
85 Posts 31 Posters 47.7k Views 11 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hskoglundH hskoglund

    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...

    D Offline
    D Offline
    Darthagnon
    wrote on last edited by
    #45

    @hskoglund said in Qt Creator 6.0.1 and Qt 6.2.2 running on Windows 7:

    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...

    Do you still have that patch zip somewhere? If you could share it, I'd sure appreciate it, as the old link is 404 here and on the Internet Archive.

    hskoglundH 1 Reply Last reply
    0
    • D Darthagnon

      @hskoglund said in Qt Creator 6.0.1 and Qt 6.2.2 running on Windows 7:

      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...

      Do you still have that patch zip somewhere? If you could share it, I'd sure appreciate it, as the old link is 404 here and on the Internet Archive.

      hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #46

      @Darthagnon My bad I happened to delete it, it's back now.

      1 Reply Last reply
      1
      • posktomtenP Offline
        posktomtenP Offline
        posktomten
        wrote on last edited by
        #47

        Thanks! @hskoglund
        Now it is possible to run my program on Windows 7, for those who so wish!
        https://gitlab.com/posktomten/nsisfilelist/-/wikis/DOWNLOADS

        A file listing program for NSIS

        posktomten

        1 Reply Last reply
        2
        • D Offline
          D Offline
          Darthagnon
          wrote on last edited by
          #48

          Thank you so much!

          1 Reply Last reply
          0
          • D dmginc

            @Perdrix

            Here is a new set of DLLs for Qt 6.4.2: https://web.tresorit.com/l/TQOcz#l6c1gobdO3YraJvrU1SFuQ

            Please let me know if there are any issues :)

            hskoglundH Offline
            hskoglundH Offline
            hskoglund
            wrote on last edited by
            #49

            @dmginc Still on my beloved Win7, couldn't get Qt Creator 9 to run.

            Today I took the plunge and installed Qt Creator 10 beta 1. Turns out it's built with MSVC 6.4.2 i.e. a perfect match for your new set of DLLs.

            Screenshot 2023-02-07 at 21.35.29.png
            And it works just fine :-)

            1 Reply Last reply
            2
            • D dmginc

              @Perdrix

              Here is a new set of DLLs for Qt 6.4.2: https://web.tresorit.com/l/TQOcz#l6c1gobdO3YraJvrU1SFuQ

              Please let me know if there are any issues :)

              I Offline
              I Offline
              idev
              wrote on last edited by
              #50

              @dmginc

              Thank you for your helpful contributions!

              Would you mind, please, providing patched DLLs for Qt 6.3.2 as well?

              BTW, do you always recompile from patched
              source, or is it perhaps possible to do binary patches using diffs for other versions?

              1 Reply Last reply
              0
              • D 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
                
                flafF Offline
                flafF Offline
                flaf
                wrote on last edited by
                #51

                @dmginc hello. would you mind explaining to me how you made the dlls work in windows 7? I would like to learn to be able to run some qt6 programs on Windows 7

                1 Reply Last reply
                0
                • D dmginc

                  @Perdrix

                  Here is a new set of DLLs for Qt 6.4.2: https://web.tresorit.com/l/TQOcz#l6c1gobdO3YraJvrU1SFuQ

                  Please let me know if there are any issues :)

                  Y Offline
                  Y Offline
                  yqhu
                  wrote on last edited by
                  #52

                  微信截图_20230324160307.png
                  C:\Qt\qtcreator-9.0.2\lib\qtcreator\plugins\CtfVisualizer.dll: Unable to load library C:\Qt\qtcreator-9.0.2\lib\qtcreator\plugins\CtfVisualizer.dll:Unable to load library

                  Qt6.2.4 windows7
                  in fact,These files already exist。

                  hskoglundH 1 Reply Last reply
                  0
                  • Y yqhu

                    微信截图_20230324160307.png
                    C:\Qt\qtcreator-9.0.2\lib\qtcreator\plugins\CtfVisualizer.dll: Unable to load library C:\Qt\qtcreator-9.0.2\lib\qtcreator\plugins\CtfVisualizer.dll:Unable to load library

                    Qt6.2.4 windows7
                    in fact,These files already exist。

                    hskoglundH Offline
                    hskoglundH Offline
                    hskoglund
                    wrote on last edited by
                    #53

                    Hi, I think the error occurs because PerProfiler uses QtQuick and QML and those .dlls have no patches to work on Windows 7.

                    Y 1 Reply Last reply
                    1
                    • hskoglundH hskoglund

                      Hi, I think the error occurs because PerProfiler uses QtQuick and QML and those .dlls have no patches to work on Windows 7.

                      Y Offline
                      Y Offline
                      yqhu
                      wrote on last edited by
                      #54

                      @hskoglund thanks!qt widget is already sufficient!

                      crystalideaC 1 Reply Last reply
                      0
                      • Y yqhu

                        @hskoglund thanks!qt widget is already sufficient!

                        crystalideaC Offline
                        crystalideaC Offline
                        crystalidea
                        wrote on last edited by
                        #55

                        any update on Qt 6.5?

                        D 1 Reply Last reply
                        0
                        • sierdzioS sierdzio referenced this topic on
                        • crystalideaC crystalidea

                          any update on Qt 6.5?

                          D Offline
                          D Offline
                          dmginc
                          wrote on last edited by
                          #56

                          @crystalidea

                          Here are the patched DLLs for Qt 6.5.1 on Windows 7:
                          https://web.tresorit.com/l/QN88Z#nF5sZ3NclgeYbMeIaJ_BuA

                          Please let me know if you encounter any issues :)

                          posktomtenP L 5 3 Replies Last reply
                          2
                          • D dmginc

                            @crystalidea

                            Here are the patched DLLs for Qt 6.5.1 on Windows 7:
                            https://web.tresorit.com/l/QN88Z#nF5sZ3NclgeYbMeIaJ_BuA

                            Please let me know if you encounter any issues :)

                            posktomtenP Offline
                            posktomtenP Offline
                            posktomten
                            wrote on last edited by
                            #57

                            @dmginc Thanks!

                            posktomten

                            1 Reply Last reply
                            0
                            • D dmginc

                              @crystalidea

                              Here are the patched DLLs for Qt 6.5.1 on Windows 7:
                              https://web.tresorit.com/l/QN88Z#nF5sZ3NclgeYbMeIaJ_BuA

                              Please let me know if you encounter any issues :)

                              L Offline
                              L Offline
                              lkavan
                              wrote on last edited by
                              #58

                              @dmginc Hallo, first of all, thanx a lot for research about runningQt6 on Win7. I have installed Qt from online installer (Qt 6.5.1 and Creator 10.0.2 and MSVC2019-64bit) and replaced DLLs with your ones. After that, qmage is possible to run, Linquist, Asistant and Designer running OK, but Creator 10.0.2 not running. Cannot find entry point.
                              Can you help me? What I am doing wrong? Thanx a lot!

                              entrypoint_err.jpg

                              1 Reply Last reply
                              0
                              • hskoglundH Offline
                                hskoglundH Offline
                                hskoglund
                                wrote on last edited by
                                #59

                                Hi, even though you've downloaded Qt 6.5.1, no Qt Creator is built with it yet (unless you build Qt Creator yourself :-)

                                For example Qt Creator 10.0.2 is built with Qt 6.4.3:
                                Screenshot 2023-06-24 at 00.34.48.png
                                (QT Creator 11.0 beta is also built with Qt 6.4.3)

                                The error box you get is because the function evaluateRecursive() is changed from returning a void (in Qt 6.4.3) to returning a bool (in Qt 6.5.1) But even if you patched that you'd get Qt runtime mismatch errors.

                                You could try a previous version of @dmginc's dlls and a matching Qt Creator, I use his patched version of Qt 6.4.2 (you'll find the link previously in this topic) and Qt Creator 10.0.0:
                                https://download.qt.io/official_releases/qtcreator/10.0/10.0.0/qt-creator-opensource-windows-x86_64-10.0.0.exe

                                1 Reply Last reply
                                0
                                • crystalideaC Offline
                                  crystalideaC Offline
                                  crystalidea
                                  wrote on last edited by crystalidea
                                  #60

                                  I've made Qt 6.6.0 available for Windows 7 here
                                  https://github.com/crystalidea/qt6windows7

                                  It's qtbase with all source modifications already applied. Approach is based on previous posts here but better: many improvements and most noticably fallbacks to default Qt 6.6.0 behaviour when running on newer Windows.

                                  The only issue I noticed with all Qt Windows7 backports is that scalled UI is somewhat too big for my 125% scalling option in Windows 7. Something should be tweaked with dpi settings probably.

                                  5 1 Reply Last reply
                                  2
                                  • W Offline
                                    W Offline
                                    WRYYYYYYYY
                                    wrote on last edited by WRYYYYYYYY
                                    #61

                                    Hey @hskoglund @dmginc @crystalidea

                                    Hope you're all doing awesome. 🚀 Huge shoutout to you guys who've been working magic with those QT6 DLL patches for Windows 7! You folks are the real MVPs, and you're making a lot of people happy.

                                    I'm not a QT developer, but I wanted to share a thought – a bunch of QT-based apps that used to run like a dream on Windows 7 suddenly hit a brick wall after they upgraded to QT6. These patched DLLs aren't just for Windows 7 devs; they're also a lifeline for end-users who just want to keep using their favorite apps.

                                    I've noticed the list of patched versions is growing, but I'm thinking, why stop there? Windows 7 users are still rocking it, and there's a bunch of QT6 versions that could use some love. Here's what we've got so far:

                                    6.0.0
                                    6.0.1
                                    6.0.2
                                    6.0.3
                                    6.0.4
                                    6.1.0
                                    6.1.1
                                    6.1.2
                                    6.1.3
                                    6.2.0
                                    6.2.1
                                    6.2.2 hskoglund
                                    6.2.3
                                    6.2.4
                                    6.3.0 dmginc
                                    6.3.1 dmginc
                                    6.3.2
                                    6.4.0 dmginc
                                    6.4.1
                                    6.4.2
                                    6.4.3
                                    6.5.0
                                    6.5.1 dmginc
                                    6.5.2
                                    6.5.3 crystalidea
                                    6.6.0 crystalidea
                                    

                                    I believe that extending this compatibility to cover the remaining versions of QT6 would be immensely beneficial for the Windows 7 user base. But I get that this isn't a walk in the park, so maybe we can chip away at it bit by bit. No rush, just a gradual, awesome expansion of compatibility. What do you guys think?

                                    Cheers to keeping the Windows 7 flame alive! 🔥

                                    WRYYYYYYYY

                                    L 1 Reply Last reply
                                    0
                                    • W WRYYYYYYYY

                                      Hey @hskoglund @dmginc @crystalidea

                                      Hope you're all doing awesome. 🚀 Huge shoutout to you guys who've been working magic with those QT6 DLL patches for Windows 7! You folks are the real MVPs, and you're making a lot of people happy.

                                      I'm not a QT developer, but I wanted to share a thought – a bunch of QT-based apps that used to run like a dream on Windows 7 suddenly hit a brick wall after they upgraded to QT6. These patched DLLs aren't just for Windows 7 devs; they're also a lifeline for end-users who just want to keep using their favorite apps.

                                      I've noticed the list of patched versions is growing, but I'm thinking, why stop there? Windows 7 users are still rocking it, and there's a bunch of QT6 versions that could use some love. Here's what we've got so far:

                                      6.0.0
                                      6.0.1
                                      6.0.2
                                      6.0.3
                                      6.0.4
                                      6.1.0
                                      6.1.1
                                      6.1.2
                                      6.1.3
                                      6.2.0
                                      6.2.1
                                      6.2.2 hskoglund
                                      6.2.3
                                      6.2.4
                                      6.3.0 dmginc
                                      6.3.1 dmginc
                                      6.3.2
                                      6.4.0 dmginc
                                      6.4.1
                                      6.4.2
                                      6.4.3
                                      6.5.0
                                      6.5.1 dmginc
                                      6.5.2
                                      6.5.3 crystalidea
                                      6.6.0 crystalidea
                                      

                                      I believe that extending this compatibility to cover the remaining versions of QT6 would be immensely beneficial for the Windows 7 user base. But I get that this isn't a walk in the park, so maybe we can chip away at it bit by bit. No rush, just a gradual, awesome expansion of compatibility. What do you guys think?

                                      Cheers to keeping the Windows 7 flame alive! 🔥

                                      WRYYYYYYYY

                                      L Offline
                                      L Offline
                                      Linkh
                                      wrote on last edited by
                                      #62

                                      @WRYYYYYYYY
                                      Hi
                                      I cannot find 6.5.3 by crystalidea actually :/ was the post updated to 6.6.0?

                                      crystalideaC 1 Reply Last reply
                                      0
                                      • L Linkh

                                        @WRYYYYYYYY
                                        Hi
                                        I cannot find 6.5.3 by crystalidea actually :/ was the post updated to 6.6.0?

                                        crystalideaC Offline
                                        crystalideaC Offline
                                        crystalidea
                                        wrote on last edited by crystalidea
                                        #63

                                        Here are 6.5.3 binaries:
                                        https://github.com/crystalidea/qt6windows7/releases/tag/6.5.3-win7

                                        6.6.0 binaries:
                                        https://github.com/crystalidea/qt6windows7/releases/tag/v6.6.0

                                        B 1 Reply Last reply
                                        0
                                        • crystalideaC crystalidea

                                          Here are 6.5.3 binaries:
                                          https://github.com/crystalidea/qt6windows7/releases/tag/6.5.3-win7

                                          6.6.0 binaries:
                                          https://github.com/crystalidea/qt6windows7/releases/tag/v6.6.0

                                          B Offline
                                          B Offline
                                          Bojo5150
                                          wrote on last edited by
                                          #64

                                          @crystalidea @dmginc @hskoglund

                                          Folks, I've stumbled onto this thread while searching alternatives to my problem and having read through all of the posts I'm really really hoping one of you can help!

                                          Long story short is I built an Arcade machine years back which is based on Win 7 x64. Its been highly modified / customized over the years and upgrading windows would be devastating and requires massive rework. Recently one application I use to run some games changed to use Qt 6.6.1 x64. vs Qt5. I downloaded and tried the 6.6.1 files linked herein but came across another error and I was wondering if some kind soul could add the missing libraries. I've attached 3 pictures, 1) the Qt files found in the game.exe folder, & 2) the error I'm currently receiving. Its worth noting that some files are different from the 6.6.1 download here and the Qt6 files found in the game.exe's directory.

                                          Would any of you be willing to help me out? Many many thanks in advance!!

                                          files game uses.jpg
                                          Vulkan Error.jpg

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved