mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Qt built with mingw does not define Q_WS_WIN


From: Nikos Chantziaras
Subject: Re: [Mingw-cross-env-list] Qt built with mingw does not define Q_WS_WIN
Date: Sun, 28 Mar 2010 21:52:13 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100322 Thunderbird/3.0.3

On 03/28/2010 05:25 AM, Volker Grabsch wrote:
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

I installed the development version. I now get this error when trying to build a Qt app:

  make: /home/realnc/opt/mingw/usr/i686-pc-mingw32/bin/uic: Command
  not found
  make: *** [tmp/ui_qtadsconfdialog.h] Error 127

I don't why it's looking for uic in the above place.  It's actually in:

  /home/realnc/opt/mingw/usr/bin/i686-pc-mingw32-uic




reply via email to

[Prev in Thread] Current Thread [Next in Thread]