On Thu, Nov 09, 2006 at 09:23:34AM +0100, Peter Kümmel wrote: > Enrico Forestieri wrote: > > On Wed, Nov 08, 2006 at 11:28:49PM +0100, Peter Kümmel wrote: > >> Attached a patch to restore the > >> windows position correctly. > > > > Please Peter, use Q_WS_WIN instead of Q_OS_WIN, as this is also relevant > > to a cygwin build without X11, where the former is defined but not the > > latter. > > > > Ah, therefore the Q_WS_WIN, I forgot cygwin. > I always thought the cygwin build uses the X11 Qt. > How do you build Qt with cygwin not using X11?
I build my own Qt cygwin version from the opensource versions. Yes, versions, because I have to merge the unix and win32 releases to be able to compile without X11. The patches I have to apply are not extensive and I remember that bringing up 4.1.4 took me only two days. The only thing that I still have no time to do is patching the socket code, as I have to use the win32 event loop which uses winsock, or whatever it is called. I did that in the 3.x series, but the patch cannot be forward ported straightly because they changed the API. I think I will need almost a day there, perhaps this Christmas ;-) Everything works fine and LyX has the same appearance of a native win32 build, but a posix engine ;-) I have already published my patches for Qt3 here: http://wiki.lyx.org/LyX/LyXOnCygwin and I plan to update that for Qt4 when 1.5 will be released. -- Enrico