QSFML icon indicating copy to clipboard operation
QSFML copied to clipboard

SFML 2.x.x / Qt 5.x.x integration

QSFML

Library that integrates SFML 2.3.x; 2.4.1+ (2.4.0 causes a X11-related problem) and Qt 5, includes event handling, universal types, useful functions (eg. key code converter) etc.

Installation

Source code

$ git clone https://github.com/kamirr/QSFML.git
$ cd QSFML/QSFML/src
$ qmake
$ make

Then copy .dll/.so and include directory wherever you want to.

Deb packages

Download .deb packages from last release and install them.

Compilation

All header files are in QSFML subdirectory, include useful ones and remember to link with -lQSFML.

Documentation

You can find docs here.
Generated using doxygen, It's not good-looking, but I don't have time to change doxygen's .css files.

Origins

Basic code, on top of which im writing QSFML, was created by "jueves", you can find original post here: http://becomingindiedev.blogspot.com/2013/10/qt-5-and-sfml-20-integration.html