Back to Blog home

QtWebKit on Windows

Published on Tuesday July 31, 2007 by Simon Hausmann in Internet Labs KDE WebKit | Comments

Lars, Zack and I spent the last week making QtWebKit work on Windows. You may wonder why this is worth mentioning at all, since Apple released a WebKit based Safari for Windows not too long ago - and since QtWebKit uses Qt it shouldn't require any changes at all to work on Windows, right? Indeed, we did not have to change anything in the bits and pieces of WebKit that use Qt, but WebKit is bigger than that. It comes with a lot of build requirements, such as bash, perl, bison, flex, libxml/libxslt, sqlite and more. As a result of that the WebKit for Windows that Safari uses requires a full cygwin installation. That is something we want to avoid as we need to be able to build QtWebKit with minimum dependencies and within "native" Windows environments. So we worked on making it easier to compile the sources and integrate better with QMake for a more portable build process. Below is the obligatory screenshot:

Screenshot of QtLauncher on Windows

QtWebKit can be built with Microsoft's Visual Studio Compiler or with the MingW port of GCC and the Open Source Edition of Qt for Windows. We are collecting build instructions and help on the WebKit Wiki, so if you want to try to build it yourself I suggest to start there.

Subscribe to Our Blog

Stay up to date with the latest marketing, sales and service tips and news.