Qt 4 Work

Some progress has been made on the Qt 4 front this week. I've implemented a simple QHttp based version of XMLHttpRequest that will ultimately be bound to KJSEmbed/Qt4. This will mean that the scripts will be able to access web based XML services such as news feeds, weather reports etc. I've now also got a working build environment to begin helping with the kdelibs porting effort.

A couple of hints for getting Qt 4 working with the KDE 4 branch:

  • After building Qt in debug mode you need to symlink all the libs to for the kdelibs configure to find them.
  • You need to use the version of unsermake that is in the KDE 4 branch (and also use qt-copy) for things to work properly.

The end result is a nice kdelibs that doesn't build. :-)


Isn't this already implemented in KDE 3? I've been implementing webpages that use this for a while now.

XMLHttpRequest is really cool, BTW.

By jvdoever at Wed, 05/18/2005 - 15:33

It's support in KHTML, but KJSEmbed is also used without KHTML. Having a QHttp version means that scripts can use it even if they're not embedded in KHTML, so for example a standalone script running on the Win32 version of KJSEmbed, or the MacOS version (which both only link to Qt) can still use XMLHttpRequest. It should also help for things like kicker applets where the overhead of KHTML and all the DOM bindings is excessive.

By Richard Moore at Wed, 05/18/2005 - 16:53

wildfox should make this possible in khtml. ideally we can get some more KDOM stuff in kjsembed for the KDE 4 release.

By Ian Reinhart Geiser at Wed, 05/18/2005 - 20:18

Don't forget to honour the KDE proxy settings...

By Waldo Bastian at Sun, 05/22/2005 - 18:00