Am Sonntag, 27. August 2006 06:08 schrieb Enrico Forestieri: > The attached patch avoids the crash when quitting LyX. > > -- > Enrico > nostatic.diff > Index: src/frontends/qt4/lyx_gui.C > =================================================================== > --- src/frontends/qt4/lyx_gui.C (revision 14845) > +++ src/frontends/qt4/lyx_gui.C (working copy) > @@ -129,7 +129,7 @@ int exec(int & argc, char * argv[]) > // Force adding of font path _before_ QApplication is initialized > FontLoader::initFontPath(); > > -#ifdef Q_WS_WIN > +#if defined(Q_WS_WIN) && !defined(Q_CYGWIN_WIN) > static Application app(argc, argv); > #else > Application app(argc, argv);
Why Q_CYGWIN_WIN? Can't you use something predefined? Instead of extending this hack it would be great if somebody could find out what really goes wrong here. Georg
