The wai-handler-webkit package

[Tags: library, mit]

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


[Skip to ReadMe]

Properties

Versions0.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, 1.3.0.1, 2.0.0, 2.0.0.1, 3.0.0, 3.0.0.1
Change logChangeLog.md
Dependenciesbase (==4.*), wai (==3.0.*), warp (==3.0.*) [details]
LicenseMIT
AuthorMichael Snoyman <michael@snoyman.com>
MaintainerMichael Snoyman <michael@snoyman.com>
Stabilityunstable
CategoryWeb
Home pagehttps://github.com/yesodweb/wai/tree/master/wai-handler-webkit
Source repositoryhead: git clone git://github.com/yesodweb/wai.git
UploadedSun Dec 21 09:31:24 UTC 2014 by MichaelSnoyman
DistributionsNixOS:3.0.0.1
Downloads1794 total (123 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-05-21 [all 2 reports]

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for wai-handler-webkit-3.0.0.1

wai-handler-webkit

Turn WAI applications into standalone GUIs using Qt WebKit.

Linux

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

Windows

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
else
  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 \
  --extra-lib-dirs=$QT_PATH/lib

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

phonon4.dll
libgcc_s_dw2-1.dll
QtCore4.dll
QtGui4.dll
QtNetwork4.dll
QtWebKit4.dll