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 51.5k 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 Online
    hskoglundH Online
    hskoglund
    wrote on last edited by
    #34

    I just compiled a new Qt 6.3.1 Widgets app and tested your 6.3.1 files on my Windows 7 PC. works like a charm :-)
    Nice work!

    1 Reply Last reply
    0
    • H Offline
      H Offline
      HiXeus
      wrote on last edited by
      #35

      I'd like to ask for someone to patch a bunch of dlls for me too (from dolphin-emu.org), but since it's an actively developing project, it means you have to patch 'em with every release.
      So can I have a detailed tutorial and a list of needed tools to patch them myself?

      jsulmJ 1 Reply Last reply
      0
      • H HiXeus

        I'd like to ask for someone to patch a bunch of dlls for me too (from dolphin-emu.org), but since it's an actively developing project, it means you have to patch 'em with every release.
        So can I have a detailed tutorial and a list of needed tools to patch them myself?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #36

        @HiXeus Is your post somehow related to this thread or to Qt at all?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        H 1 Reply Last reply
        0
        • D dmginc

          @bplastos

          I took a look at the diff between Qt 6.3.0 and 6.3.1:

          Out of the files that need to be modified for running under Windows 7, three source files have been modified: qwindowswindow.cpp, qrhid3d11.cpp, qwindowscontext.cpp

          Anyway, I was apply to apply my 6.3.0 changes patch directly as there were no overlapping changes.

          Could you try these DLLs under Windows 7?
          https://web.tresorit.com/l/iWnTl#yGMg45iqZObF8miEZt7FaA

          B Offline
          B Offline
          bplastos
          wrote on last edited by
          #37

          @dmginc Thank you very much for your efforts. Unfortunately, it made no difference in trying to get the latest versions of Calibre portable to run under Windows 7. There must be something else besides Qt changes that is preventing it from launching.

          1 Reply Last reply
          0
          • hskoglundH Online
            hskoglundH Online
            hskoglund
            wrote on last edited by
            #38

            Hi, Calibre 6.1 uses Python 3.10 which does not work on Windows 7 :-(

            G 1 Reply Last reply
            1
            • hskoglundH hskoglund

              Hi, Calibre 6.1 uses Python 3.10 which does not work on Windows 7 :-(

              G Offline
              G Offline
              Grdes
              wrote on last edited by Grdes
              #39

              @hskoglund and @bplastos
              Use the QT6 files from the link above (great work btw) and then run Calibre using this: https://github.com/vxiiduu/VxKex in Win10 compatibility for calibre.exe It should work now just fine. At least it starts for me.

              B 1 Reply Last reply
              1
              • G Grdes

                @hskoglund and @bplastos
                Use the QT6 files from the link above (great work btw) and then run Calibre using this: https://github.com/vxiiduu/VxKex in Win10 compatibility for calibre.exe It should work now just fine. At least it starts for me.

                B Offline
                B Offline
                bplastos
                wrote on last edited by bplastos
                #40

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

                @hskoglund and @bplastos
                Use the QT6 files from the link above (great work btw) and then run Calibre using this: https://github.com/vxiiduu/VxKex in Win10 compatibility for calibre.exe It should work now just fine. At least it starts for me.

                @Grdes - Please forgive my ignorance, but can you explain in detail, or point me to some detailed instructions, of how exactly to run Calibre using that project? And please be clear. Are you talking about running the portable version of Calibre (I hope)?

                EDIT: I THINK I figured out how to install VxKex v0.0.0.2. I installed https://github.com/vxiiduu/VxKex/releases/download/Version0.0.0.2/KexSetup_x64Rel.exe. But still no success.

                I installed https://download.calibre-ebook.com/6.0.0/calibre-portable-installer-6.0.0.exe, which seems to install. I replaced the Qt files with the latest patched Qt 6.3.1 files from @dmginc, then enabled VxKex for Calibre\calibre.exe and set it for Win 10 compatability. (Was that the ONLY file that needs VxKex enabled?) Again, nothing happens when I try to launch the app. Did you have to do anything to get around the Python 3.10 incompatibility issue?

                EDIT2: Partial success! If I get a version of api-ms-win-core-path-l1-1-0.dll from here - https://github.com/nalexandru/api-ms-win-core-path-HACK/releases/download/0.3.1/api-ms-win-core-path-blender-0.3.1.zip - and copy it to Calibre\app\bin, then Calibre will indeed launch. But it won't do many of Calibre's functions. The eBook viewer doesn't work, it won't edit an eBook, nor will it convert to or from any of the eBook formats. I tried enabling VxKex for ALL of the Calibre exe files I could find, but no change. It launches, but doesn't really work. So a step in the right direction, but...

                G 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @HiXeus Is your post somehow related to this thread or to Qt at all?

                  H Offline
                  H Offline
                  HiXeus
                  wrote on last edited by
                  #41

                  @jsulm Yes, the project uses QT and they recently moved from QT 5 to 6.

                  1 Reply Last reply
                  0
                  • B bplastos

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

                    @hskoglund and @bplastos
                    Use the QT6 files from the link above (great work btw) and then run Calibre using this: https://github.com/vxiiduu/VxKex in Win10 compatibility for calibre.exe It should work now just fine. At least it starts for me.

                    @Grdes - Please forgive my ignorance, but can you explain in detail, or point me to some detailed instructions, of how exactly to run Calibre using that project? And please be clear. Are you talking about running the portable version of Calibre (I hope)?

                    EDIT: I THINK I figured out how to install VxKex v0.0.0.2. I installed https://github.com/vxiiduu/VxKex/releases/download/Version0.0.0.2/KexSetup_x64Rel.exe. But still no success.

                    I installed https://download.calibre-ebook.com/6.0.0/calibre-portable-installer-6.0.0.exe, which seems to install. I replaced the Qt files with the latest patched Qt 6.3.1 files from @dmginc, then enabled VxKex for Calibre\calibre.exe and set it for Win 10 compatability. (Was that the ONLY file that needs VxKex enabled?) Again, nothing happens when I try to launch the app. Did you have to do anything to get around the Python 3.10 incompatibility issue?

                    EDIT2: Partial success! If I get a version of api-ms-win-core-path-l1-1-0.dll from here - https://github.com/nalexandru/api-ms-win-core-path-HACK/releases/download/0.3.1/api-ms-win-core-path-blender-0.3.1.zip - and copy it to Calibre\app\bin, then Calibre will indeed launch. But it won't do many of Calibre's functions. The eBook viewer doesn't work, it won't edit an eBook, nor will it convert to or from any of the eBook formats. I tried enabling VxKex for ALL of the Calibre exe files I could find, but no change. It launches, but doesn't really work. So a step in the right direction, but...

                    G Offline
                    G Offline
                    Grdes
                    wrote on last edited by Grdes
                    #42

                    @bplastos

                    1. Download normal nonportable MSI Calibre Version: 6.1.0 installer from here:
                      https://calibre-ebook.com/download_windows
                    2. Remove the Windows version check from the installer using SuperOrca MSI editor
                      https://www.pantaray.com/msi_super_orca.html
                      That means open the msi in SuperOrca, go to LaunchCondition and edit the Win version there or fully drop that row (right click, drop row) and save the edited msi file in SuperOrca as new file.
                    3. Install Calibre from edited installer without the win version check
                    4. Go to the installed Calibre folder and replace there QT files with the modified files from this topic.
                      That means replace Qt6Core.dll and Qt6Gui.dll inside bin folder and also replace qwindows.dll inside plugins/platforms folder.
                    5. Right click calibre.exe and go the the VxKex tab. Enable here:
                      a) Enable VxKex for this program
                      b) Report a different version of Windows and set that to Windows 10
                    6. I have also copied the dll from api-ms-win-core-path-blender-0.3.1.zip to my Windows/System32 folder in the past, so maybe this has also some effect to this.

                    I didn't have much time to test Calibre functions yet, but I've tried to convert some PDF to MOBI and it works for me.

                    edit: but yeah the ebook editor and internal ebook viewer doesn't work for me as well. Those are external exe files and it doesn't launch at all. Maybe some more QT files needs to be patched?

                    1 Reply Last reply
                    0
                    • PerdrixP Offline
                      PerdrixP Offline
                      Perdrix
                      wrote on last edited by
                      #43

                      Did anyone update the DLLs for 6.4.0 to run on Windows 7?

                      Thanks
                      David

                      D 1 Reply Last reply
                      1
                      • PerdrixP Perdrix

                        Did anyone update the DLLs for 6.4.0 to run on Windows 7?

                        Thanks
                        David

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

                        @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 I Y 3 Replies Last reply
                        3
                        • 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 Online
                            hskoglundH Online
                            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 Online
                                  hskoglundH Online
                                  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 Online
                                          hskoglundH Online
                                          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

                                          • Login

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