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. MinGW on XP?

MinGW on XP?

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 6 Posters 2.4k 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.
  • MucipM Offline
    MucipM Offline
    Mucip
    wrote on last edited by
    #1

    Hi,
    This will be very strenge question I know.
    Is there any way to run compiled by MinGW on XP system old computer? I tryed but got an error message?!

    Regards,
    Mucip:)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Not a strange question at all however you should give more details about that error you get.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      MucipM 1 Reply Last reply
      2
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        Please also tell what Qt version you are trying with.
        As far as i know, theQt 5.6.3 is the last that can actually run.

        1 Reply Last reply
        1
        • SGaistS SGaist

          Hi,

          Not a strange question at all however you should give more details about that error you get.

          MucipM Offline
          MucipM Offline
          Mucip
          wrote on last edited by
          #4

          Dear @SGaist ,
          Message is "Input point not found!" and message window attached.0_1553465951125_XP_MinGW_Error.jpeg

          I use Qt 5.10.1 MinGW.

          This MinGW compiled program run well on Win7 32 bit. But I get this error on XP..

          Regards,
          Mucip:)

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

            Hi, Qt 5.10.1 is too new for Windows XP :-(
            I use 5.7.1 for some customers that are still onWindows XP.

            mrjjM 1 Reply Last reply
            2
            • hskoglundH hskoglund

              Hi, Qt 5.10.1 is too new for Windows XP :-(
              I use 5.7.1 for some customers that are still onWindows XP.

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

              @hskoglund
              Hi
              Do you need to compile 5.7 yourself to get it working ?

              hskoglundH 1 Reply Last reply
              0
              • mrjjM mrjj

                @hskoglund
                Hi
                Do you need to compile 5.7 yourself to get it working ?

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

                @mrjj Morning. No distribution vanilla 5.7.1 works fine.

                I keep a separate Windows 7 VM with Qt 5.7.1 MSVC2013 installed. I can update Qt Creator to the newest version, but 5.7.1 is "frozen".

                Also, for MSVC2013 (but not for MinGW) you need this line in the .pro file:

                QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
                

                otherwise Windows XP will complain "Not an Win32 executable file".

                mrjjM 1 Reply Last reply
                5
                • hskoglundH hskoglund

                  @mrjj Morning. No distribution vanilla 5.7.1 works fine.

                  I keep a separate Windows 7 VM with Qt 5.7.1 MSVC2013 installed. I can update Qt Creator to the newest version, but 5.7.1 is "frozen".

                  Also, for MSVC2013 (but not for MinGW) you need this line in the .pro file:

                  QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
                  

                  otherwise Windows XP will complain "Not an Win32 executable file".

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

                  @hskoglund
                  Good morning. thank you for the fast reply.
                  Good news then. 5.7.1 just works \o/

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kuzulis
                    Qt Champions 2020
                    wrote on last edited by
                    #9

                    @mrjj said in MinGW on XP?:

                    Good news then. 5.7.1 just works \o/

                    I'm not sure that it is true, as I remember that in Qt5.7.x where removed some Windows XP API (replaced to Windows Vista or even Windows 7)... Seems it was in networking support or something else (I not remember). So, It may work if you don't use that stuff...

                    aha_1980A 1 Reply Last reply
                    3
                    • K kuzulis

                      @mrjj said in MinGW on XP?:

                      Good news then. 5.7.1 just works \o/

                      I'm not sure that it is true, as I remember that in Qt5.7.x where removed some Windows XP API (replaced to Windows Vista or even Windows 7)... Seems it was in networking support or something else (I not remember). So, It may work if you don't use that stuff...

                      aha_1980A Offline
                      aha_1980A Offline
                      aha_1980
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @kuzulis is right, official 5.6.3 is the last release compatible with Windows XP. I've heard from some people here in the forum, that they use 5.7.1 on XP too, but there is absolutely no guarantee that it works.

                      Regards

                      Qt has to stay free or it will die.

                      1 Reply Last reply
                      5

                      • Login

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