4Turn WAI applications into standalone GUIs using Qt WebKit.
10You'll need the appropriate system libraries, on Ubuntu:
12 apt-get install libqtwebkit-dev
14On Lucid, this required adding a PPA:
16 sudo add-apt-repository ppa:kubuntu-ppa/backports
22Install the Qt SDK from <http://qt.nokia.com/downloads/>
24Your application's Cabal file will require certain options for Windows,
25shown below. In particular, we need to link with `g++`, so make sure
26it's in your `PATH`. The option `-optl-mwindows` ensures that the
27application does not open a terminal.
30 ghc-options: -Wall -threaded -pgml g++ -optl-static -optl-mwindows
34Run `cabal-install` with the Qt `include` and `lib` directories.
36 export QT_PATH=c:/QtSDK/Desktop/Qt/4.7.3/mingw
39 --extra-include-dirs=$QT_PATH/include \
40 --extra-include-dirs=$QT_PATH/include/QtCore \
41 --extra-include-dirs=$QT_PATH/include/QtNetwork \
42 --extra-include-dirs=$QT_PATH/include/QtGui \
43 --extra-include-dirs=$QT_PATH/include/QtWebKit \
44 --extra-lib-dirs=$QT_PATH/lib
46You'll need to include these DLLs with your application:
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list