Announcement

Collapse
No announcement yet.

Qt Developers Reconsider MinGW For Qt 5.0

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • phoronix
    started a topic Qt Developers Reconsider MinGW For Qt 5.0

    Qt Developers Reconsider MinGW For Qt 5.0

    Phoronix: Qt Developers Reconsider MinGW For Qt 5.0

    While we're now up to the Qt 5.0 beta stage, Qt developers are still settling for what MinGW implementation to use for the Windows build of Qt 5.0...

    http://www.phoronix.com/vr.php?view=MTE3NDI

  • curaga
    replied
    http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx

    You're right, I initially went by wikipedia, which didn't mention SP changes.

    Leave a comment:


  • gilboa
    replied
    Originally posted by curaga View Post
    WINVER define. The default is set in windef.h if you don't define one in your app (or build command line).

    I used mingw64 just go get a newer gcc at one point, still targeting 32-bit windows only.
    Weird:
    From Fedora's mingw:
    #ifndef WINVER
    #define WINVER 0x0502
    #endif

    As far as I remember 0502 is 2003 and XPSP2.

    - Gilboa

    Leave a comment:


  • RealNC
    replied
    You should take a look at MXE:

    http://mxe.cc

    It always uses the latest GCC version.

    Leave a comment:


  • curaga
    replied
    *just to get

    Leave a comment:


  • curaga
    replied
    WINVER define. The default is set in windef.h if you don't define one in your app (or build command line).

    I used mingw64 just go get a newer gcc at one point, still targeting 32-bit windows only.

    Leave a comment:


  • gilboa
    replied
    Originally posted by curaga View Post
    One thing that surprised me in mingw64 is that if you don't specify a min version, it creates a binary that doesn't run on XP. (requires 5.2 by default, XP is 5.1)
    Regular mingw (at least used to) give win95 as a default minimum.
    Certainly a curious default to put in, when XP still has such a huge market share.
    I haven't faced this issue.
    Which parameter sets the minimum Windows version? (I can't seem to find anything in the mingw-gcc man page)
    Different mingw-w64 build options / version?

    - Gilboa

    Leave a comment:


  • deanjo
    replied
    Originally posted by curaga View Post
    One thing that surprised me in mingw64 is that if you don't specify a min version, it creates a binary that doesn't run on XP. (requires 5.2 by default, XP is 5.1)

    Regular mingw (at least used to) give win95 as a default minimum.


    Certainly a curious default to put in, when XP still has such a huge market share.
    I suppose they figure that you would be using mingw instead of mingw64 for 32-bit operating systems so the only time you would have to specify a min version on a 64-bit OS is for XP 64 support which wasn't that popular.

    Leave a comment:


  • curaga
    replied
    One thing that surprised me in mingw64 is that if you don't specify a min version, it creates a binary that doesn't run on XP. (requires 5.2 by default, XP is 5.1)

    Regular mingw (at least used to) give win95 as a default minimum.


    Certainly a curious default to put in, when XP still has such a huge market share.

    Leave a comment:


  • gilboa
    replied
    I personally have a very good experience using the "unstable" 4.7 builds of mingw-w64, both 32bit and 64bit, and this includes C, C++ and QT code.
    Furthermore, mingw-w64 is an official part of Fedora 17, letting me develop and test the Windows side of my code from within Fedora (compile via mingw, test using wine) without wasting time booting the Windows XP/7 VMs unless I'm testing "final" code.

    - Gilboa

    Leave a comment:

Working...
X