Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jokade/scalanative-qt5

ScalaNative bindings for Qt5
https://github.com/jokade/scalanative-qt5

qt5 scala-native

Last synced: 3 months ago
JSON representation

ScalaNative bindings for Qt5

Awesome Lists containing this project

README

        

===============
scalanative-qt5
===============

Experimental `Scala Native `_ bindings for `Qt `_.

**WARNING**: This project is still highly experimental! The API may change at any time without further notice!

Dependencies
------------
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 ``_

Furthermore you'll need `pkg-config` with the package `Qt5Widgets` installed. To check your configuration, run

.. code::

pkg-config --cflags Qt5Widgets

This should list all the flags required to compile against `Qt5Widgets`.

Demo
----
.. image:: docs/images/editor.png

To run this demo, first `publishLocal` the required Dependencies_.
Then you should be able to run the demo with

.. code::

sbt demo/run