HQK is an effort to provide Haskell bindings to large parts of the Qt and KDE libraries. The project may also be useful for bindings to other C++ libraries.
We have developed a generator which produces binding code mostly automatically. In addition, we have developed a small Haskell module for accessing object-oriented libraries in a convenient way. This module also supports parts of Qt’s signal-slot mechanism. In contrast to the original C++-based solution, type correctness of signal-slot connections is checked at compile time with our library.
The binding generator was developed by Thomas Mönicke under the supervision of Wolfgang Jeltsch.
We try to release our binding generator as soon as possible. If you want to have a look at it before the release, please contact Wolfgang Jeltsch.
We plan to develop a HQK-based UI backend for the Functional Reactive Programming library Grapefruit, thereby making Grapefruit multi-platform.