Joost Verburg wrote: > Peter Kümmel wrote: >> When lyx is compiled with ENABLE_NLS it uses in message.C >> the LC_MESSAGES macro, which is not defined by msvc. > > Good work. Now the MSVC 2005 compiled version runs. The Qt4 user > interface looks a lot better! > > The issues I noticed: > > * Window resizing is broken. > * An infinite loop when I quit LyX, with the repeated console output: > QObject::killTimer: timers cannot be stopped from another thread
You could fix this with this (for windows only) with Index: lyx_gui.C =================================================================== --- lyx_gui.C (revision 14054) +++ lyx_gui.C (working copy) @@ -167,7 +167,7 @@ // Force adding of font path _before_ QApplication is initialized FontLoader::initFontPath(); - LQApplication app(argc, argv); + static LQApplication app(argc, argv); // install translation file for Qt built-in dialogs // These are only installed since Qt 3.2.x > * Toolbar icons are somewhat stretched > * Scrolling is slower compared to LyX 1.4 / Q../Free / MinGW. Here a line from the scons log: cl /nologo /TP /EHsc /wd4819 /wd4996 -DHAVE_CONFIG_H -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT3_SUPPORT /IC:\Programme\zlib\include no optimization is enabled, but it links against the release Qt4 libs: QtCore4.lib QtGui4.lib. Peter