Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: My bind of SFML into Qt5 (widget)  (Read 3057 times)

0 Members and 1 Guest are viewing this topic.

Arty.McLabin

  • Newbie
  • *
  • Posts: 3
  • Let the Kaki flood our souls (c)
    • View Profile
My bind of SFML into Qt5 (widget)
« 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
Let the Kaki flood our souls (c)

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: My bind of SFML into Qt5 (widget)
« Reply #1 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/
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Arty.McLabin

  • Newbie
  • *
  • Posts: 3
  • Let the Kaki flood our souls (c)
    • View Profile
Re: My bind of SFML into Qt5 (widget)
« Reply #2 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.
Let the Kaki flood our souls (c)

Lo-X

  • Hero Member
  • *****
  • Posts: 618
    • View Profile
    • My personal website, with CV, portfolio and projects
Re: My bind of SFML into Qt5 (widget)
« Reply #3 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.

Arty.McLabin

  • Newbie
  • *
  • Posts: 3
  • Let the Kaki flood our souls (c)
    • View Profile
Re: My bind of SFML into Qt5 (widget)
« Reply #4 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  :)
Let the Kaki flood our souls (c)