Re: How to set the QT_DLL macro?
Peter Kümmel <[email protected]>
| Newsgroups | gmane.comp.kde.devel.cygwin |
|---|---|
| Message-ID | <[email protected]> |
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