Nikos Chantziaras<address@hidden> schrieb:
On 03/27/2010 11:54 PM, Mark Brand wrote:
This raises the interesting question of whether Q_WS_WIN should be
defined in Qt in mingw-cross-env. [...]
There's only one interpretation: Q_WS_WIN is defined when building a
Windows executable. [...]
I fully agree.
However, AFAICS the constants Q_OS_WIN32 and Q_WS_WIN are already set
in mingw-cross-env's Qt, at least in our current development version.
To be sure, I just added some checks to our Qt test program:
http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/a6bfbbd775e9
These tests are based on the Qt documentation:
http://qt.nokia.com/doc/4.6/qtglobal.html
So I recommend to try our latest development version. Do you still
encounter the problem there?
http://www.nongnu.org/mingw-cross-env/#development