LWN.net Logo

Trolltech Released Qt 4.0 (KDE.News)

Trolltech Released Qt 4.0 (KDE.News)

Posted Jun 29, 2005 23:00 UTC (Wed) by jd (guest, #26381)
In reply to: Trolltech Released Qt 4.0 (KDE.News) by boudewijn
Parent article: Trolltech Released Qt 4.0 (KDE.News)

It should be easier than that. All you need to do is reverse-engineer the DLL that handles the underlying window management, write a GPLed clone of it, and have it support the X protocol as a wrapper. Then, you add a new DLL which provides an IBCS wrapper to translate Linux system calls into Windows system calls. Finally, you compile a copy of glibc to use the IBCSed Unix-like API. Then, KDE and friends should run natively without any further changes.


(Log in to post comments)

Trolltech Released Qt 4.0 (KDE.News)

Posted Jul 1, 2005 10:40 UTC (Fri) by xoddam (subscriber, #2322) [Link]

That doesn't sound easy at all. Are you a Troll™?

Building KDE on Qt4 to run on Windows will be a matter of weeding out Windows-incompatible Unix-isms, which should(!) all be concentrated in the lowest-level libraries. Reverse-enginering the Windows 'window management DLL' sounds scary :-).

"... a new DLL which provides an IBCS wrapper to translate Linux system calls into Windows system calls ..."

This is what Cygwin tries to do (without the 'IBCS' buzzword). It's a *hard* problem.

In the meantime Cygwin supports many KDE apps. That's about as 'native' as what you're suggesting.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds