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 48.4k 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.
  • crystalideaC crystalidea

    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 Offline
    5 Offline
    5taras
    wrote on last edited by
    #67

    @crystalidea Does it work on Windows 8.1?

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

      Hi, they should work on Windows 8.1, Windows 10 and Windows 11.

      5 1 Reply Last reply
      1
      • hskoglundH hskoglund

        Hi, they should work on Windows 8.1, Windows 10 and Windows 11.

        5 Offline
        5 Offline
        5taras
        wrote on last edited by
        #69

        @hskoglund Sorry for asking, do you know how to compile own Qt6svg.dll in Windows 8.1?

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

          If Qt6svg.dll is not dependent on any Windows 10/11 features, then you should be able to compile it, say like this:

          1. Install a vanilla Qt 6.7.3 on your Windows 8.1 (should be possible)
          2. Download a patched Qt 6.7.3 from https://github.com/crystalidea/qt6windows7
          3. Replace the vanilla 6.7.3 files with the patched ones from @crystalidea's github
          4. Try building Qt6svg :-)
          5 1 Reply Last reply
          1
          • hskoglundH hskoglund

            If Qt6svg.dll is not dependent on any Windows 10/11 features, then you should be able to compile it, say like this:

            1. Install a vanilla Qt 6.7.3 on your Windows 8.1 (should be possible)
            2. Download a patched Qt 6.7.3 from https://github.com/crystalidea/qt6windows7
            3. Replace the vanilla 6.7.3 files with the patched ones from @crystalidea's github
            4. Try building Qt6svg :-)
            5 Offline
            5 Offline
            5taras
            wrote on last edited by 5taras
            #71
            This post is deleted!
            1 Reply Last reply
            0
            • C Offline
              C Offline
              crystalbit
              wrote on last edited by
              #72

              Qt 6.8.0 is also back-ported to Windows 7/8
              https://github.com/crystalidea/qt6windows7

              5 1 Reply Last reply
              1
              • C crystalbit

                Qt 6.8.0 is also back-ported to Windows 7/8
                https://github.com/crystalidea/qt6windows7

                5 Offline
                5 Offline
                5taras
                wrote on last edited by 5taras
                #73

                @crystalbit Sorry for asking. I am trying to compile qt dll myself on Windows 8.1.
                I have to use Visual Studio Build Tools 2022 17.6 instead of Visual Studio Community Edition 2022 since it's not available anymore on microsoft.com. I had to change PATH in compile_win.bat as vcvarsall.bat is in different folder. I get errors: mv, rm, perl is not an internal or external command.
                I have Strawberry Perl installed.

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

                  At least for me it's available at the usual address: https://visualstudio.microsoft.com/vs/community/

                  5 1 Reply Last reply
                  0
                  • hskoglundH hskoglund

                    At least for me it's available at the usual address: https://visualstudio.microsoft.com/vs/community/

                    5 Offline
                    5 Offline
                    5taras
                    wrote on last edited by 5taras
                    #75

                    @hskoglund Latest one is incompatible with Windows 7, 8, 8.1.

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

                      Indeed. previous versions of Visual Studio 2022 worked on Windows 7, you got a warning when you installed but you could proceed anyway, but now you get an error instead :-(
                      You can still download Visual Studio 2019 Community Edition from here: https://aka.ms/vs/16/release/vs_community.exe

                      5 1 Reply Last reply
                      1
                      • 5 5taras

                        @crystalbit Sorry for asking. I am trying to compile qt dll myself on Windows 8.1.
                        I have to use Visual Studio Build Tools 2022 17.6 instead of Visual Studio Community Edition 2022 since it's not available anymore on microsoft.com. I had to change PATH in compile_win.bat as vcvarsall.bat is in different folder. I get errors: mv, rm, perl is not an internal or external command.
                        I have Strawberry Perl installed.

                        5 Offline
                        5 Offline
                        5taras
                        wrote on last edited by 5taras
                        #77

                        @5taras If I understand correctly I need gnuwin32 package to run mv, rm commands from compile_win.bat which is missing in qt-build-tools folder from github. In script I see "SET PATH %ROOT%\gnuwin32\bin;"

                        S 1 Reply Last reply
                        0
                        • hskoglundH hskoglund

                          Indeed. previous versions of Visual Studio 2022 worked on Windows 7, you got a warning when you installed but you could proceed anyway, but now you get an error instead :-(
                          You can still download Visual Studio 2019 Community Edition from here: https://aka.ms/vs/16/release/vs_community.exe

                          5 Offline
                          5 Offline
                          5taras
                          wrote on last edited by
                          #78

                          @hskoglund In any case I'd have to correct compile_win.bat as it is oriented for 2022 VS.

                          1 Reply Last reply
                          0
                          • 5 5taras

                            @5taras If I understand correctly I need gnuwin32 package to run mv, rm commands from compile_win.bat which is missing in qt-build-tools folder from github. In script I see "SET PATH %ROOT%\gnuwin32\bin;"

                            S Offline
                            S Offline
                            SimonSchroeder
                            wrote on last edited by
                            #79

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

                            If I understand correctly I need gnuwin32 package to run mv, rm commands

                            I'm using the scoop package manager (https://scoop.sh/) to install Linux tools on Windows. I believe just installing scoop already gives you these basic commands. Another alternative is Chocolatey.

                            5 2 Replies Last reply
                            0
                            • S SimonSchroeder

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

                              If I understand correctly I need gnuwin32 package to run mv, rm commands

                              I'm using the scoop package manager (https://scoop.sh/) to install Linux tools on Windows. I believe just installing scoop already gives you these basic commands. Another alternative is Chocolatey.

                              5 Offline
                              5 Offline
                              5taras
                              wrote on last edited by 5taras
                              #80

                              @SimonSchroeder Did you try to compile qt library yourself? Scoop package manager creates folder "%ROOT%\gnuwin32\bin"?

                              S 1 Reply Last reply
                              0
                              • 5 5taras

                                @SimonSchroeder Did you try to compile qt library yourself? Scoop package manager creates folder "%ROOT%\gnuwin32\bin"?

                                S Offline
                                S Offline
                                SimonSchroeder
                                wrote on last edited by
                                #81

                                @5taras I've only ever compiled static Qt libraries for Windows with MSVC. Scoop does not provide "%ROOT%\gnuwin32\bin", but it provides commands like mv and rm. It also adapts the PATH environment variable such that these tools are available on any command line.

                                5 1 Reply Last reply
                                1
                                • S SimonSchroeder

                                  @5taras I've only ever compiled static Qt libraries for Windows with MSVC. Scoop does not provide "%ROOT%\gnuwin32\bin", but it provides commands like mv and rm. It also adapts the PATH environment variable such that these tools are available on any command line.

                                  5 Offline
                                  5 Offline
                                  5taras
                                  wrote on last edited by
                                  #82
                                  This post is deleted!
                                  1 Reply Last reply
                                  0
                                  • S SimonSchroeder

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

                                    If I understand correctly I need gnuwin32 package to run mv, rm commands

                                    I'm using the scoop package manager (https://scoop.sh/) to install Linux tools on Windows. I believe just installing scoop already gives you these basic commands. Another alternative is Chocolatey.

                                    5 Offline
                                    5 Offline
                                    5taras
                                    wrote on last edited by
                                    #83

                                    @SimonSchroeder During compilation I get a mistake "../configure is not an internal or external command". 6.x qt-build-tools folders from github are missing configure.bat file. What can I do?
                                    I found https://github.com/crystalidea/qt-build-tools/blob/master/5.6.3/qtbase/configure.bat file which could be useful. I am not sure.

                                    jsulmJ 1 Reply Last reply
                                    0
                                    • 5 5taras

                                      @SimonSchroeder During compilation I get a mistake "../configure is not an internal or external command". 6.x qt-build-tools folders from github are missing configure.bat file. What can I do?
                                      I found https://github.com/crystalidea/qt-build-tools/blob/master/5.6.3/qtbase/configure.bat file which could be useful. I am not sure.

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

                                      @5taras Official Qt Github is: https://github.com/qt/qtbase

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

                                      5 1 Reply Last reply
                                      1
                                      • jsulmJ jsulm

                                        @5taras Official Qt Github is: https://github.com/qt/qtbase

                                        5 Offline
                                        5 Offline
                                        5taras
                                        wrote on last edited by
                                        #85

                                        @jsulm You mean I should replace corresponding folders from qt official by folders from crystal's qt 6 build project?

                                        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