SFML community forums

General => SFML projects => Topic started by: korczurekk on May 03, 2016, 12:40:07 am

Title: QSFML – Nice SFML widget in Qt Window with basic events handling
Post by: korczurekk on May 03, 2016, 12:40:07 am
(https://raw.githubusercontent.com/KoczurekK/QSFML/master/logo/qsfml-small.png)

Hi!

Propably everyone interested in integrating Qt & SFML read that post: (http://becomingindiedev.blogspot.com/2013/10/qt-5-and-sfml-20-integration.html). Unfortunately, it's very basic widget, that doesn't allow writing complex applications too fast.

I decided to fork it and add some useful (IMO ofc) features, at this point i've added that:

Here's GitHub repo: https://github.com/KoczurekK/QSFML

What do you guys think? Btw in my country it's 0:30 AM, so don't blame me for my bad english.  ;)

EDIT: Propably every key event is handled (almost) ok, you can check out that: https://github.com/KoczurekK/QSFML/blob/master/QSFML/keyconverter.cpp and tell me if i made some mistake.

Update (21 August 2016):
- Working universal class compatybile with sf::String and QString.
- New logo, "highly" inspired by SFML's and Qt's ones.
Title: Re: QSFML – Nice SFML widget in Qt Window with basic events handling
Post by: eXpl0it3r on May 03, 2016, 10:18:54 am
Cool! :)

What OS has you tested this on?
Title: Re: QSFML – Nice SFML widget in Qt Window with basic events handling
Post by: korczurekk on May 03, 2016, 11:33:45 am
Ubuntu 16.04, i'm too lazy to install Windows, so somebody can test it on it.  ;)
Some new features:
Title: Re: QSFML – Nice SFML widget in Qt Window with basic events handling
Post by: korczurekk on May 17, 2016, 03:30:12 pm
Update:
Title: Re: QSFML – Nice SFML widget in Qt Window with basic events handling
Post by: korczurekk on November 06, 2016, 06:23:52 pm
It took me pretty much to draft new release on github.  ;D

A few features in v1.2.0:

Debian builds ship with precompiled SFML 2.4.1 (also debian package) in both release and debug versions.