To Enrico and whoever else is interested: Attached is a Cygwin source package which generates the Qt libraries required for compiling LyX. I hope that eventually this will become a component of an official (modern) LyX source package for Cygwin.
The result of building the attached package is: http://tensorial.com/special/cygwin/lyxqt/lyxqt-4.5.2-1.tar.bz2 which installs to /usr/lib/lyxqt/4.5.2 . A few notes: * I used the cygport packaging system described in "Method 3" of http://cygwin.com/setup.html#srcpackage_contents . Since cygport is an official package, you can get it with "apt-cyg install cygport" if you have apt-cyg. * Since the original Qt source package is about 125MB, I didn't include it. But cygport can download it (see lyxqt.README). * The way qmake handles relative paths seems screwy, resulting in missing includes which necessitated the qt-copy-includes script. This might be due to our qt452-cygwin.patch which modifies a counter in src/bin/syncqt. These might also have something to do with the bug report https://edit.qt.troll.no/developer/task-tracker/index_html?method=entry&id=258307 . Whatever the cause, I "fixed" it by using absolute paths for all headers.pri. To implement absolute paths, I simply removed a few fixPaths calls from syncqt. * If you want to see how this looks under Cygwin's setup.exe, you can add the repository http://tensorial.com/special/cygwin . Since my repository doesn't have a signature, you must use the argument "setup.exe -X". (You'll also see lyxsvn, which isn't yet connected with lyxqt.) I hope this is helpful! -Ben
lyxqt-4.5.2-1-src-small.tar.bz2
Description: BZip2 compressed data