Skip to content

janderudder/SFML-in-Qt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFML 2.5 in Qt 5 Window

The main part consists of an interface: ISfQt_canvas, and a concrete class, SfQt_canvas. The later uses function objects as its on_init and on_update functions, so the entire behavior is set-up by client code.

An alternative would be to derive from ISfQt_canvas interface, overriding the virtual methods directly.

The interface code is heavily inspired by this article: http://becomingindiedev.blogspot.com/2013/10/qt-5-and-sfml-20-integration.html.

If you know a better, cleaner, simpler or more idiomatic way to mix SFML and Qt, please let me know.

About

SFML 2.5 rendering in a Qt 5 window

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published