SFML community forums

General => SFML projects => Topic started by: Arty.McLabin on April 06, 2015, 06:07:57 pm

Title: My bind of SFML into Qt5 (widget)
Post by: Arty.McLabin on April 06, 2015, 06:07:57 pm
Hey fellas, i was very unhappy about the little info in the internet about connecting SFML and Qt,
so much unhappy that i made a raw bind version o' mine based on some old Gnuk's (big thanks) from 2013.
i think some of you guys might as well find this stuff useful if you love the Qt idea ::)

the thing is - i've thrown SFML into a Qt widget, which can be very easily created and accessed inside any Qt application,
just like any other Qt widget.

just edit qsfmlwidget.cpp and qsfmlwidget.h according to your (game?) needs by adding SFML code functions into it, and accessing them from the standard/mainwindow widget.cpp (or whatever you called it).

here's the github source repository:
https://github.com/ArtyMcLabin/QSFMLWidget

hope somebody will find it useful :)
good day
Title: Re: My bind of SFML into Qt5 (widget)
Post by: zsbzsb on April 06, 2015, 10:56:53 pm
I haven't really looked at it, but one thing I would suggest you do is add a license to your code.   ;)

http://blog.codinghorror.com/pick-a-license-any-license/
Title: Re: My bind of SFML into Qt5 (widget)
Post by: Arty.McLabin on April 07, 2015, 01:26:01 pm
I haven't really looked at it, but one thing I would suggest you do is add a license to your code.   ;)

http://blog.codinghorror.com/pick-a-license-any-license/

i kinda did it tho lol. thanks anyway.
Title: Re: My bind of SFML into Qt5 (widget)
Post by: Lo-X on April 07, 2015, 02:18:41 pm
http://blog.codinghorror.com/pick-a-license-any-license/

i kinda did it tho lol. thanks anyway.

I think you are my licensing soulmate. Thanks for the WTFPL link :)

I can't test the Qt bind right now, I starred you and I'LL BE BACK.
Title: Re: My bind of SFML into Qt5 (widget)
Post by: Arty.McLabin on April 08, 2015, 08:49:42 pm
http://blog.codinghorror.com/pick-a-license-any-license/

i kinda did it tho lol. thanks anyway.

I think you are my licensing soulmate. Thanks for the WTFPL link :)

I can't test the Qt bind right now, I starred you and I'LL BE BACK.

Thanks, an opinion and critics will be highly appreciated  :)