Some more thoughts on khtml

fenix at club-internet.fr fenix at club-internet.fr
Mon Jan 20 14:59:36 CST 2003


>
>--- fenix at club-internet.fr wrote:
>> Hi,
>> 
>> >Just two things for those thinking about khtml:
>> >
>> >1) The kdebindings package contains C-language bindings for khtml
>> > (kde_HTML*), so C++ wouldn't be a requirement for calling khtml
>> > (this does not affect the qt-replacement api of course).
>> 
>> yes, as qtc in kdebindings is for qt :)
>> 
>> >2) There is a project to port KWC to win32: KHTML Win32 Native, see
>> > http://sourceforge.net/projects/khtml-win32/ Maybe it is possible to
>> > use that.
>> 
>> yes, but it's a really slow project (no cvs access, and only one guy). Maybe we have to help
>> this project 
>
>Why not just port the GPL version of Qt to Windows?  The kde-cygwin project is doing that right
>now and it isn't terribly hard (if you know the Windows API ;).  I think if some wine developers
>got involved it could be accomplished very quickly as Qt is almost completely platform agnostic
>.... it only would require a port of 10 files or so...
>
>See:
>1. http://lists.kde.org/?l=kde-core-devel&m=104072112729044&w=2
>2. http://lists.kde.org/?l=kde-cygwin&m=104273412430620&w=2
>3. http://lists.kde.org/?l=kde-cygwin&m=104273881706572&w=2

I don't think it's a good idea :(
Now, we only need a few classes and code for porting KWQ to windows specific code (and more platform optimised than Qt).
While Qt need 10-15 huge base classes to be ported, and platform "tuning " on top level code (platform independent).

And, i don't like the port idea, because trolltech use Qt under windows as main product, and porting the GPL version to windows ...

In past, i have already done much of Qt (2.x version) porting under windows for a personal project. 
A first implementation is really easy but for a real industrial one, you need too much code with too much problems (you have to understand well what the top levels classes do, etc...)

>BTW, I have setup a project and already started porting the build stuff to use mingw32. 

The mingw32 guy use a mix of win32 and unix compat layers (yakk) :(

>Currently, am stuck in the qfile_win.cpp and qdir_win.cpp (copies of the qfile_unix.cpp and
>qdir_unix.cpp) with the general functions that abstract file creation/deletion for windows ... but
>then I don't know any Windows API ;)

lol
as i said before, i think helping the kwq-win32 project is the right way

>Cheers,
>
>Adam
>

regards,
Raphael




More information about the wine-devel mailing list