wai-handler-webkit: Turn WAI applications into standalone GUIs using QtWebkit.

[ library, mit, web ] [ Propose Tags ]
Versions 0.0.0, 0.1.0, 0.2.0, 0.3.0, 0.3.1, 1.0.0, 1.1.0, 1.2.0, 1.3.0,, 2.0.0,, 3.0.0,,,
Change log ChangeLog.md
Dependencies base (==4.*), wai (>=3.0 && <3.3), warp (>=3.0 && <3.3) [details]
License MIT
Author Michael Snoyman <michael@snoyman.com>
Maintainer Michael Snoyman <michael@snoyman.com>
Category Web
Home page https://github.com/yesodweb/wai/tree/master/wai-handler-webkit
Source repo head: git clone git://github.com/yesodweb/wai.git
Uploaded by MichaelSnoyman at Wed Dec 30 06:35:59 UTC 2015
Distributions NixOS:
Downloads 4811 total (62 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-29 [all 3 reports]
Hackage Matrix CI

API docs and the README are available at http://www.stackage.org/package/wai-handler-webkit.

[Skip to Readme]


  • Network
    • Wai
      • Handler
        • Network.Wai.Handler.Webkit


Maintainer's Corner

For package maintainers and hackage trustees

Readme for wai-handler-webkit-

[back to package description]


Turn WAI applications into standalone GUIs using Qt WebKit.


You'll need the appropriate system libraries, on Ubuntu:

apt-get install libqtwebkit-dev

On Lucid, this required adding a PPA:

sudo add-apt-repository ppa:kubuntu-ppa/backports


Install the Qt SDK from http://qt.nokia.com/downloads/

Your application's Cabal file will require certain options for Windows, shown below. In particular, we need to link with g++, so make sure it's in your PATH. The option -optl-mwindows ensures that the application does not open a terminal.

if os(windows)
  ghc-options: -Wall -threaded -pgml g++ -optl-static -optl-mwindows
  ghc-options: -Wall

Run cabal-install with the Qt include and lib directories.

export QT_PATH=c:/QtSDK/Desktop/Qt/4.7.3/mingw

cabal-dev install \
  --extra-include-dirs=$QT_PATH/include \
  --extra-include-dirs=$QT_PATH/include/QtCore \
  --extra-include-dirs=$QT_PATH/include/QtNetwork \
  --extra-include-dirs=$QT_PATH/include/QtGui \
  --extra-include-dirs=$QT_PATH/include/QtWebKit \

You'll need to include these DLLs with your application: