On Fri, Oct 10, 2008 at 03:23:11PM +0200, Jean-Marc Lasgouttes wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > That didn't help, but looking at the code I saw that the contents of > > PRL_EXPORT_DEFINES get output to pkg-config files. So, adding the line > > > > cygwin-g++-win32:PRL_EXPORT_DEFINES += Q_CYGWIN_WIN > > > > to qbase.pri did the trick! > > Very good. This means that we can remove some special cygwin code from > our configure stuff, right?
Yes, from qt4.m4. While you are it, you can also get rid of the mingw case, which is more harmful, as defining QT_DLL would cause failure when linking to a static lib. -- Enrico