Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt winXP binary on windows7?
Trino last edited by
I compiled a program on windows XP with MinGW and the the Qt libs statically linked.
This works nice.
The executable runs as well on Vista and windows 7.
However, is there any difference in speed/performance when I compile it on Vista/windows 7?
Does, for example, QPainter gains performance when I compile it on windows 7?
In other words, is there any reason to compile/build different executables for windows XP, Vista and 7?
fcrochik last edited by
I don't know for a fact but would assume that if you compile, at least using visual studio and fine tune the compiler options, that the compiler could optimize the code but it is about the "hardware" and not the OS.
Unless, of course, there is also some optimization on the qt code itself that will detect windows7 and potentially use a "new api" of some sort but I doubt. I don't think there is anything like a Q_WS_WINDOWS_7 "def".
DenisKormalev last edited by
Don't think that compilation under win7 instead of winXP will give more performance. But using msvc compiler instead of mingw will do.
anselmolsm last edited by
[quote author="Denis Kormalev" date="1291221507"]Don't think that compilation under win7 instead of winXP will give more performance. But using msvc compiler instead of mingw will do.[/quote]