Qt4 on Cygwin

Yaakov (Cygwin Ports) yselkowitz at users.sourceforge.net
Wed Jul 25 01:32:04 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Enrico Forestieri wrote:
> I still have not published my patch. It is my intention to update the
> wiki page http://wiki.lyx.org/LyX/LyXOnCygwin to Qt4 in the near future.

I'm only looking for a patch which fixes the code wrt the .rdata issue,
without using the i386pe.x-no-rdata script workaround.  For Qt3 this was
 simply a matter of patching src/moc/moc.y; with Qt4 moc has changed and
this doesn't appear to be so simple.

> However, note that my Qt4/Cygwin is a sort of hybrid, as X11 is not used
> for the display but directly the Windows native APIs. Everything else
> is posix (threads, filesystem, sockets, ...). In order to obtain this
> result I have to merge the two distributions for win and x11 by Trolltech.

This part doesn't interest me, as I'm looking for a pure unix/X11 Qt4.
If you want to use the Windows APIs, why not just use MinGW?

> Anyway, I build a static library (so the aforementioned patch is not
> needed) and only used this hybrid for building LyX. I am using Qt 4.1.5 by
> almost a year now, without any problem. Recently, I also updated the patch
> to Qt 4.3.0 and LyX seems still working flawlessly.
> 
> Just for fun, I tried building a static Qt 4.3.0 for X11 on cygwin with
> my patches applied and it is seemingly working (only tried it with some
> examples, though).

As it should, as static library linkage aren't affected by the .rdata issue.


Yaakov
Cygwin Ports
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGpovzpiWmPGlmQSMRCItxAKDvBMzN7UD/mlBVTa7GxMMZpHy/nACdGwVi
+obEE9iJuBClCgggk1UfpXc=
=knkT
-----END PGP SIGNATURE-----


More information about the kde-cygwin mailing list