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
Forum Updated to NodeBB v4.3 + New Features

Qt app for windows XP

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 6 Posters 2.3k Views 1 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.
  • O Offline
    O Offline
    ODБOï
    wrote on 4 Jun 2020, 09:54 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

    J K 2 Replies Last reply 4 Jun 2020, 10:08
    0
    • O ODБOï
      4 Jun 2020, 09:54

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 4 Jun 2020, 10:08 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
      • O ODБOï
        4 Jun 2020, 09:54

        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

        K Offline
        K Offline
        KroMignon
        wrote on 4 Jun 2020, 10:19 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
        • H Offline
          H Offline
          hskoglund
          wrote on 4 Jun 2020, 10:20 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.

          M 1 Reply Last reply 4 Jun 2020, 10:22
          4
          • H hskoglund
            4 Jun 2020, 10:20

            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.

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 4 Jun 2020, 10:22 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 ?

            H 1 Reply Last reply 4 Jun 2020, 11:19
            1
            • O Offline
              O Offline
              ODБOï
              wrote on 4 Jun 2020, 10:37 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..

              J 1 Reply Last reply 4 Jun 2020, 10:41
              0
              • O ODБOï
                4 Jun 2020, 10:37

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

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 4 Jun 2020, 10:41 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

                O 1 Reply Last reply 4 Jun 2020, 10:51
                4
                • J jsulm
                  4 Jun 2020, 10:41

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

                  O Offline
                  O Offline
                  ODБOï
                  wrote on 4 Jun 2020, 10:51 last edited by ODБOï 6 Apr 2020, 11:04
                  #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 4 Jun 2020, 11:40
                  0
                  • M mrjj
                    4 Jun 2020, 10:22

                    @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 ?

                    H Offline
                    H Offline
                    hskoglund
                    wrote on 4 Jun 2020, 11:19 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.

                    M 1 Reply Last reply 4 Jun 2020, 11:49
                    7
                    • O ODБOï
                      4 Jun 2020, 10:51

                      @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 4 Jun 2020, 11:40 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
                      • H hskoglund
                        4 Jun 2020, 11:19

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

                        M Offline
                        M Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on 4 Jun 2020, 11:49 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
                        • O Offline
                          O Offline
                          ODБOï
                          wrote on 4 Jun 2020, 11:56 last edited by
                          #12

                          Thank you very much everybody!

                          1 Reply Last reply
                          1

                          1/12

                          4 Jun 2020, 09:54

                          • Login

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