From: Angus L. <le...@ly...> - 2004-12-20 19:23:30
|
Earnie Boyd wrote: >>>>Dear all, >>>> >>>>I have just succeeded in compiling LyX (www.lyx.org) under MinGW, >>>>MinSYS, using the port of Qt to Win32 by the cygwin-kde people. >>>>http://kde-cygwin.sourceforge.net/qt3-win32 >>>> >>> >>>So, does this require Cygwin? >> >>Nope. >> >>The build environment (the GNU autotools, configure, make) requires >>MinSYS. >>I've also been using MinGW to provide the compiler (soooo slow coming from >>the linux world, but working). >> >>However, others are reporting success in compiling with MSVC. They've had >>to use a wrapper to invoke the compiler but, hey!, this is early days for >>us ;-) >> >> >>>Does it require X Windows? >> >>Nope. The cygwin-kde people are writing a Qt/Win32 native port of the >>GPL-ed Qt/unix libraries. They certainly haven't finished, but LyX >>requires only the GUI parts of Qt and this stuff appears to work. >> >>None of this is mainstream yet of course. >> > > > This is great news. I'll be looking more into the cygwin-kde project. > Earnie One caveat. I find that whilst the g++ that ships with the vanilla mingw (3.2.x?) will compile the Qt library out of the box, it subsequently ICEs when compiling the LyX Qt frontend. The g++ 3.4 that you package, however, works fine although it produces tons of warnings about dllimport problems in the Qt headers. Also, be prepared to wait. It takes 3 hours to compile the Qt libraries using mingw on a 2.7GHz box. Regards, Angus |