Experimental Scala Native bindings for Qt.
WARNING: This project is still highly experimental! The API may change at any time without further notice!
SN-Qt uses swog to generate the required C++ wrappers on the fly from Scala classes. These wrappers must then be compiled and linked into the executable. For this to work you currently need to publish the following dependencies locally:
- SN-0.4.0-SNAPSHOT with this PR
- sbt-nbh master https://github.com/jokade/sbt-nbh
Furthermore you'll need pkg-config with the package Qt5Widgets installed. To check your configuration, run
pkg-config --cflags Qt5Widgets
This should list all the flags required to compile against Qt5Widgets.
To run this demo, first publishLocal the required Dependencies. Then you should be able to run the demo with
sbt demo/run