Skip to content

mode89/reactive-banana-example-qt

Repository files navigation

Example that shows how to glue reactive-banana and qtah-qt5. This is a port (from wxWidgets to Qt5) of the reactive-banana-wx's counter example.

Source code of reactive-banana v1.2.1.0 has been copied into the repository, because stack couldn't pull it in due to problems with versions of dependencies.

Requirements

  • Haskell Stack
  • Qt5 (tested on Qt 5.12 and 5.15, might not work on earlier versions)
  • Tested on Linux. Might work on other platforms as well.

Usage

Clone the repository, build and run with stack:

$ git clone https://github.com/mode89/reactive-banana-example-qt
$ cd reactive-banana-example-qt
$ stack build
$ stack run

Should get something like this:

Screenshot