Compiling Qt Creator with MingW in WinXP



  • I want to compile Qt Creator with MingW in WinXP.
    I want to avoid Visual Studio because I want to repeat it in Win 7 (Qt Creator with MingW in Win 7) so that I will be able to work both in Win XP and Win 7 and they will both have MingW, so that there will be compatibility between these two.

    First af all, I should use Qt 5.6 with MingW, which works both in in XP and Win 7, right?
    Which exactly version of online installer should I use? This one?

    qt-opensource-windows-x86-mingw492-5.6.0?

    Where can I find the source?

    Maybe some of the files in here?

    Do I need Qt SDK? Which version?

    (I have in one partition, C:, my Windows 7 installation, and in F:, my windows XP instalalion. Maybe I could install - compile Qt-MingW in C: and be usable from both Win 7 and Win XP without having to compile-install twice? But only once for both Win XP and Win7?)


  • Moderators

    @Panoss According to this page Qt 5.6 only supports deployment to Windows XP but not compiling: http://doc.qt.io/qt-5/supported-platforms-and-configurations.html
    qt-opensource-windows-x86-mingw492-5.6.0 - is not online installer. You can get the online installer from here: https://www.qt.io/download-open-source/
    Here is explained how to get Qt source code: https://wiki.qt.io/Get_the_Source
    Why do you want to use Windows XP? This OS should not even have an Internet connection!



  • My pc is relatively old, so with XP it's much faster.
    Believe me, XP is a very nice OS.

    Can I compile it once (e.g in C:) and use it in Win XP and Win 7? Or is it a silly idea?


  • Moderators

    @Panoss Ut should work on XP if you build on 7



  • @jsulm said in Compiling Qt Creator with MingW in WinXP:

    qt-opensource-windows-x86-mingw492-5.6.0 - is not online installer. You can get the online installer from here: https://www.qt.io/download-open-source/

    Forgive me but I 'm a bit confused. Do I need an online installer? :) (I already have Maintenance tools, I haven't uninstalled Qt from C:\Qt)

    What about qt-everywhere-opensource-src-5.3.0.zip from here?
    This should be fine for Win XP + Win 7, right?

    Till now I have:

    1. Installed Active Perl 5.24.1.
    2. Downloaded jom.exe.
    3. fart.exe, downloaded.
    4. Uninstalled Visual Studio.
    5. downloaded qt-everywhere-opensource-src-5.3.0.zip

    Now I should install MinGW ? Which version?



  • Ok, I'm having second thoughts...again :).
    Well, I'm thinking of installing Visual Studio 10 in my C: drive (where I have Win 7).
    Will Win XP (this is in F:) be able to use this Qt installation with Visual Studio 10?



  • Finally: I installed MS Visual C++ in Win 7.
    Qt Creator Works fine in Win 7.
    But not in XP, it says 'it's not a valid win32 Application'.



  • Final...finally: I installed qt-windows-opensource-5.0.2-msvc2010_32-x86-offline.exe in Win XP and everything works like a charm!!!


  • Qt Champions 2017

    @Panoss
    OK so 5.02 works.
    Super.

    • Believe me, XP is a very nice OS.
      I know. but its really dead now patch wise and very full of unpatched holes so
      for most of us, its just not secure enough to be allowed in a production environment but i do understand
      home use is different. :)
      https://www.exploit-db.com/exploits/22489/

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.