How to set the QT_DLL macro?

Peter Kümmel syntheticpp at gmx.net
Fri Apr 22 18:27:42 CEST 2005


Ralf Habacker wrote:

> It is interesting that the problem is really the dll and not in the exe. 
> Seems that there is a seg fault in the dll startup code. Very difficult to 
> catch, because it is not clear from which part this comes. It may be a mingw 
> provided static lib or the mingw runtime library. 

There was a similarly bug with mingw under windows.
Mingw don't likes it when you use const static objects on startup ().

In the function qCreateCommandLine (qapplication.cpp) I've
disabled this faulty code in case of the macro __MINGW32_VERSION.
Is this macro also defined when cross compiling?


Peter


More information about the kde-cygwin mailing list