HsQML returns: updated Qt Quick binding for Haskell

HsQML — a Haskell binding to Qt Quick, the cross-platform GUI framework — has been revived after 7 years of inactivity.

Alongside the library, four demo projects have also been updated and released:

  • hsqml-demo-notes
  • hsqml-demo-morris
  • hsqml-demo-manic
  • hsqml-demo-samples

Highlights of the revival include:

  • Compatibility with modern GHC and Cabal versions
  • Proper decoding of UTF-16 text
  • New ClipboardHelper module
  • Support for setting application window icons
  • Integrated QML debugger
  • Windows build improvements (using ar for linking)
  • Better error handling during marshalling with detailed warnings
  • Support for text < 2.2
  • High-DPI scaling support
  • CI testing on Linux and Windows
20 Likes

Thank you! I will be reading this library and using them. I want to get to know the internals!

Yes, please send your feedback, open an issue or send me an email, whatever works best for you. I’m using it for a nostr client written in Haskell and it works great, but honestly some internals may need some improvements, especially to reduce some boilerplate required.