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. Qt app for windows XP

Qt app for windows XP

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 6 Posters 2.2k 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.
  • ODБOïO Offline
    ODБOïO Offline
    ODБOï
    wrote on last edited by
    #1

    hi,
    i have deployed my qt 5.14.0 application (compiled with mingw 73_32) on 32 bit win xp and had this error when tried to run it :

    The procedure entry point CancelIoEx could not be located in the dynamic link library KERNEL32.dll

    now im downloading qt5.14.2 with msvc2017_32 compiler hoping i will get better results,

    i saw this bug report but i'm not sure what conclusion i have to make, it says "windows xp is not supported by qt 5.8 any more."

    is xp supported in qt5.14.2 ?

    thx

    jsulmJ KroMignonK 2 Replies Last reply
    0
    • ODБOïO ODБOï

      hi,
      i have deployed my qt 5.14.0 application (compiled with mingw 73_32) on 32 bit win xp and had this error when tried to run it :

      The procedure entry point CancelIoEx could not be located in the dynamic link library KERNEL32.dll

      now im downloading qt5.14.2 with msvc2017_32 compiler hoping i will get better results,

      i saw this bug report but i'm not sure what conclusion i have to make, it says "windows xp is not supported by qt 5.8 any more."

      is xp supported in qt5.14.2 ?

      thx

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @LeLev According to this: https://doc.qt.io/qt-5.14/supported-platforms.html Windows XP is not supported anymore.
      "but i'm not sure what conclusion i have to make" - that it is not supported, means most probably is not going to work. Why do you need Windows XP? It is not even supported by Microsoft anymore.

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

      1 Reply Last reply
      3
      • ODБOïO ODБOï

        hi,
        i have deployed my qt 5.14.0 application (compiled with mingw 73_32) on 32 bit win xp and had this error when tried to run it :

        The procedure entry point CancelIoEx could not be located in the dynamic link library KERNEL32.dll

        now im downloading qt5.14.2 with msvc2017_32 compiler hoping i will get better results,

        i saw this bug report but i'm not sure what conclusion i have to make, it says "windows xp is not supported by qt 5.8 any more."

        is xp supported in qt5.14.2 ?

        thx

        KroMignonK Offline
        KroMignonK Offline
        KroMignon
        wrote on last edited by
        #3

        @LeLev said in Qt app for windows XP:

        is xp supported in qt5.14.2 ?

        No, the last version supporting WindowsXP is Qt 5.6, as far as I know.

        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

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

          As @KroMignon says, Qt 5.6 is the last officially supported version.
          I still have to support a few customers using Windows XP and I use Qt 5.7.1, it also works fine but any version newer than that has problems.

          mrjjM 1 Reply Last reply
          4
          • hskoglundH hskoglund

            As @KroMignon says, Qt 5.6 is the last officially supported version.
            I still have to support a few customers using Windows XP and I use Qt 5.7.1, it also works fine but any version newer than that has problems.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @hskoglund
            Hi
            Does 5.7 work out of the box _
            I think to recall you did some voodoo on a dll to make it work or that was something else i recall ?

            hskoglundH 1 Reply Last reply
            1
            • ODБOïO Offline
              ODБOïO Offline
              ODБOï
              wrote on last edited by
              #6

              Thank you all for your inputs.

              i will try with Qt 5.6

              @jsulm said in Qt app for windows XP:

              Why do you need Windows XP?

              Customer has a CNC machine with embedded XP..

              jsulmJ 1 Reply Last reply
              0
              • ODБOïO ODБOï

                Thank you all for your inputs.

                i will try with Qt 5.6

                @jsulm said in Qt app for windows XP:

                Why do you need Windows XP?

                Customer has a CNC machine with embedded XP..

                jsulmJ Online
                jsulmJ Online
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @LeLev said in Qt app for windows XP:

                Customer has a CNC machine with embedded XP

                OK, valid use case :-)
                https://doc.qt.io/archives/qt-5.6/supported-platforms.html - Windows XP is supported as "Deployment only" (means your app will work, but you can't develop on Windows XP machine).

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

                ODБOïO 1 Reply Last reply
                4
                • jsulmJ jsulm

                  @LeLev said in Qt app for windows XP:

                  Customer has a CNC machine with embedded XP

                  OK, valid use case :-)
                  https://doc.qt.io/archives/qt-5.6/supported-platforms.html - Windows XP is supported as "Deployment only" (means your app will work, but you can't develop on Windows XP machine).

                  ODБOïO Offline
                  ODБOïO Offline
                  ODБOï
                  wrote on last edited by ODБOï
                  #8

                  @jsulm said in Qt app for windows XP:

                  Windows XP is supported as "Deployment only" (means your app will work, but you can't develop on Windows XP machine).

                  good thank you.

                  May i ask from where can i download qt5.6, the oldest version i see with my MaintenanceTool is qt5.9.0

                  edit : i see it here https://github.com/qt/qt5/tree/5.6
                  but if i download from here do i have to compile it myself ?

                  B 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    @hskoglund
                    Hi
                    Does 5.7 work out of the box _
                    I think to recall you did some voodoo on a dll to make it work or that was something else i recall ?

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

                    @mrjj Yes 5.7.1 works out of the box for MinGW, if you're instead using MSVC compiler you'll need this line in your .pro file:

                    QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
                    

                    Voodo on a .dll? Yeah I remember it, it was for an unfortunate soul who had to support Windows XP Service Pack 2 (not Service Pack 3 like everyone else has) and that required surgery of some dll's IAT.

                    mrjjM 1 Reply Last reply
                    7
                    • ODБOïO ODБOï

                      @jsulm said in Qt app for windows XP:

                      Windows XP is supported as "Deployment only" (means your app will work, but you can't develop on Windows XP machine).

                      good thank you.

                      May i ask from where can i download qt5.6, the oldest version i see with my MaintenanceTool is qt5.9.0

                      edit : i see it here https://github.com/qt/qt5/tree/5.6
                      but if i download from here do i have to compile it myself ?

                      B Offline
                      B Offline
                      Bonnie
                      wrote on last edited by
                      #10

                      @LeLev
                      Hi, you can download offline installer from: http://download.qt.io/new_archive/qt/5.6/

                      1 Reply Last reply
                      5
                      • hskoglundH hskoglund

                        @mrjj Yes 5.7.1 works out of the box for MinGW, if you're instead using MSVC compiler you'll need this line in your .pro file:

                        QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
                        

                        Voodo on a .dll? Yeah I remember it, it was for an unfortunate soul who had to support Windows XP Service Pack 2 (not Service Pack 3 like everyone else has) and that required surgery of some dll's IAT.

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @hskoglund
                        ahh yes SP2 case. I recall now. Super.
                        and good with the MSVC hint. very important info.

                        1 Reply Last reply
                        1
                        • ODБOïO Offline
                          ODБOïO Offline
                          ODБOï
                          wrote on last edited by
                          #12

                          Thank you very much everybody!

                          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