Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Running Qt6 application on windows xp and 7?

Running Qt6 application on windows xp and 7?

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 6 Posters 1.8k Views
  • 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.
  • T Offline
    T Offline
    Taytoo
    wrote on 29 May 2022, 14:48 last edited by Taytoo
    #1

    Currently on 5.12 LTS branch, planning on switching to 6.2 LTS. Would it still be possible to run my statically linked application on windows xp and 7? If not, Is there a 'hack' etc that I can use to target windows xp or at least windows 7 - since its widely used still.

    J 1 Reply Last reply 29 May 2022, 15:12
    0
    • T Taytoo
      29 May 2022, 14:48

      Currently on 5.12 LTS branch, planning on switching to 6.2 LTS. Would it still be possible to run my statically linked application on windows xp and 7? If not, Is there a 'hack' etc that I can use to target windows xp or at least windows 7 - since its widely used still.

      J Offline
      J Offline
      JonB
      wrote on 29 May 2022, 15:12 last edited by
      #2

      @Taytoo
      I don't know, but if you have an application which targets/supports Windows 7 & XP why in the world would you want to "upgrade" to Qt6?

      T 1 Reply Last reply 30 May 2022, 07:24
      0
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 29 May 2022, 15:26 last edited by
        #3

        Hi
        Win Xp will not. Qt5.6 was the last to work there - as far as I know.
        Win 7/8 is not supported
        https://www.qt.io/blog/qt6-development-hosts-and-targets

        That said, it might run as static but I have not tested it.

        1 Reply Last reply
        1
        • J JonB
          29 May 2022, 15:12

          @Taytoo
          I don't know, but if you have an application which targets/supports Windows 7 & XP why in the world would you want to "upgrade" to Qt6?

          T Offline
          T Offline
          Taytoo
          wrote on 30 May 2022, 07:24 last edited by
          #4

          @JonB said in Running Qt6 application on windows xp and 7?:

          @Taytoo
          I don't know, but if you have an application which targets/supports Windows 7 & XP why in the world would you want to "upgrade" to Qt6?

          Mainly to get bug fixes and security patches.

          C J 2 Replies Last reply 30 May 2022, 07:31
          0
          • T Taytoo
            30 May 2022, 07:24

            @JonB said in Running Qt6 application on windows xp and 7?:

            @Taytoo
            I don't know, but if you have an application which targets/supports Windows 7 & XP why in the world would you want to "upgrade" to Qt6?

            Mainly to get bug fixes and security patches.

            C Online
            C Online
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on 30 May 2022, 07:31 last edited by
            #5

            @Taytoo said in Running Qt6 application on windows xp and 7?:

            Mainly to get bug fixes and security patches.

            Then you have to upgrade your OS too since there are a lot of more security issues there than in your outdated Qt version. Or maybe ask TQtC for paid support.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            2
            • T Taytoo
              30 May 2022, 07:24

              @JonB said in Running Qt6 application on windows xp and 7?:

              @Taytoo
              I don't know, but if you have an application which targets/supports Windows 7 & XP why in the world would you want to "upgrade" to Qt6?

              Mainly to get bug fixes and security patches.

              J Offline
              J Offline
              JonB
              wrote on 30 May 2022, 07:32 last edited by JonB
              #6

              @Taytoo
              You know for certain that this software will not have been developed or tested for Qt6 under Win XP or 7, and that those are not supported by Qt6. I would have thought that is more of a risk than sticking at 5.12 LTS (better there is a 5.15 LTS). And you never know when something new in Qt6 might suddenly break for XP/7. But a matter of opinion, I guess.

              T 1 Reply Last reply 31 May 2022, 07:22
              0
              • J JonB
                30 May 2022, 07:32

                @Taytoo
                You know for certain that this software will not have been developed or tested for Qt6 under Win XP or 7, and that those are not supported by Qt6. I would have thought that is more of a risk than sticking at 5.12 LTS (better there is a 5.15 LTS). And you never know when something new in Qt6 might suddenly break for XP/7. But a matter of opinion, I guess.

                T Offline
                T Offline
                Taytoo
                wrote on 31 May 2022, 07:22 last edited by
                #7

                @JonB I guess it makes more sense to upgrade to 5.15 LTS and stay there for a while until Win 7 gets phased out.

                Alternatively, I'll need 2 separate exes, one compiled using 5.15LTS and other using Qt6, which will create a code management nightmare.

                J 1 Reply Last reply 31 May 2022, 07:29
                1
                • T Taytoo
                  31 May 2022, 07:22

                  @JonB I guess it makes more sense to upgrade to 5.15 LTS and stay there for a while until Win 7 gets phased out.

                  Alternatively, I'll need 2 separate exes, one compiled using 5.15LTS and other using Qt6, which will create a code management nightmare.

                  J Online
                  J Online
                  J.Hilk
                  Moderators
                  wrote on 31 May 2022, 07:29 last edited by
                  #8

                  @Taytoo said in Running Qt6 application on windows xp and 7?:

                  Win 7 gets phased out

                  that already happened

                  Windows 7 support ended on January 14, 2020


                  Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                  Q: What's that?
                  A: It's blue light.
                  Q: What does it do?
                  A: It turns blue.

                  T 1 Reply Last reply 31 May 2022, 07:39
                  0
                  • J J.Hilk
                    31 May 2022, 07:29

                    @Taytoo said in Running Qt6 application on windows xp and 7?:

                    Win 7 gets phased out

                    that already happened

                    Windows 7 support ended on January 14, 2020

                    T Offline
                    T Offline
                    Taytoo
                    wrote on 31 May 2022, 07:39 last edited by Taytoo
                    #9

                    @J-Hilk Yes, but a lot of people (12%) are still using Windows 7 so I have to support that platform. Windows XP (0.44%) I can do without.

                    Source: https://gs.statcounter.com/os-version-market-share/windows/desktop/worldwide

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      cristian-adam
                      wrote on 31 May 2022, 08:08 last edited by cristian-adam
                      #10

                      Have a look at https://forum.qt.io/topic/133002/qt-creator-6-0-1-and-qt-6-2-2-running-on-windows-7

                      You can have two options:

                      1. Patch Qt iteself to remove the changes that made Windows 10 as a requirement
                      2. Use MinGW and have a small dll implementing the missing functions on Windows 7, see https://github.com/cristianadam/api-ms-win-core-synch-Win7

                      Note that for 2. I only started Qt Creator 7.0.1 in a Windows 7 virtual machine. It's more of a proof of concept.

                      1 Reply Last reply
                      4

                      6/10

                      30 May 2022, 07:32

                      • Login

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