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

Author Topic: QT and SFML editor for the game  (Read 4081 times)

0 Members and 1 Guest are viewing this topic.

felaugmar

  • Guest
QT and SFML editor for the game
« on: May 11, 2016, 12:53:23 am »
I'm thinking about creating an Editor using QT for my SFML game,
But i won't pay $350,00 per month,
Well, my idea is create the Editor and put it Open-Source, while my game isn't open source.

The editor will be a map editor with creation and configuration of entities.

Can I do it and use the QT freely?

ratzlaff

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: QT and SFML editor for the game
« Reply #1 on: May 11, 2016, 01:14:30 am »
This seems like a better question for the QT community...

felaugmar

  • Guest
Re: QT and SFML editor for the game
« Reply #2 on: May 11, 2016, 01:33:39 am »
This seems like a better question for the QT community...

Hmm, I think you're right  :-\

felaugmar

  • Guest
Re: QT and SFML editor for the game
« Reply #3 on: May 11, 2016, 04:18:58 am »
I'm thinking about creating an Editor using QT for my SFML game,
But i won't pay $350,00 per month,
Well, my idea is create the Editor and put it Open-Source, while my game isn't open source.

The editor will be a map editor with creation and configuration of entities.

Can I do it and use the QT freely?

I did some researches and yes,
I can use the Qt freely, following some rules about licensing (GPL, LGPL) https://www.qt.io/faq/.

Well, I can even use that for commercial purposes since I follow those rules.

I'll study deep into LGPL, but, i'm almost sure I'll use Qt.

PS: The Qt forum is awesome, just like this one :)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: QT and SFML editor for the game
« Reply #4 on: May 11, 2016, 06:24:19 am »
This is definitely not the right place for this question, but it can easily be answered: with LGPL, you can keep your program closed as long as you link Qt dynamically (which is the default).
Laurent Gomila - SFML developer

felaugmar

  • Guest
Re: QT and SFML editor for the game
« Reply #5 on: May 11, 2016, 01:53:28 pm »
This is definitely not the right place for this question, but it can easily be answered: with LGPL, you can keep your program closed as long as you link Qt dynamically (which is the default).

Yep, you're right, otherwise (linking statically), the code must be delivered together with the application.

Kiecker

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: QT and SFML editor for the game
« Reply #6 on: July 03, 2016, 04:50:04 am »
I will say this, getting SFML to work in qt creator is a pain in the butt. But lucky for you I made a tutorial on how to build and add SFML to qt creator () *Also I am not self promotioning, I know the video is very bad but sadly it isn't well documented how to do this*. And finally here is a tutorial on how to create an SFML Widget in qt creator (http://becomingindiedev.blogspot.com/2013/10/qt-5-and-sfml-20-integration.html) *There is a bug associated with the code presented but he does post a fix in the bottom, however personally the code does work*. And finally as a sidenote if you want to put this editor in a .ui layout what you will want to do is create the widget and then promote a Widget to it in the designer.

Any Questions leave a comment.

 

anything