SFML community forums

Help => Window => Topic started by: Anteara on July 12, 2013, 05:52:24 pm

Title: SFML 2.0 and QT 5 Integration
Post by: Anteara on July 12, 2013, 05:52:24 pm
Hi all, I've been trying to integrate SFML 2 with QT 5, but the only tutorial I found was the SFML 1.6 tutorial, with regards to QT. I tried it anyway but couldn't get it working.

Does anyone have a tutorial/guide for SFML 2 and QT 4 or 5?

Thanks.
Title: Re: SFML 2.0 and QT 5 Integration
Post by: The Terminator on July 12, 2013, 08:16:49 pm
There's none that I know of. QT Creator is an IDE just like Codeblocks, visual studio, etc, therefore the same rules apply. Either download the precompiled binaries, or use cmake to compile the source. Then, all you have to do is find out how to link the libraries to QT.
Title: Re: SFML 2.0 and QT 5 Integration
Post by: Nexus on July 12, 2013, 08:38:10 pm
QT is an IDE just like Codeblocks, visual studio, etc, therefore the same rules apply.
Don't you mean Qt Creator?

Qt is a framework for GUI and various other stuff.
Title: AW: Re: SFML 2.0 and QT 5 Integration
Post by: eXpl0it3r on July 12, 2013, 08:40:38 pm
QT is an IDE just like Codeblocks, visual studio, etc, therefore the same rules apply.
You have mixed something right there. Qt (yes lower case t and it's pronounced "cute") is a collection of libraries, best known for its free and crossplatform GUI system.
What you had in mind is the Qt creator which is an IDE and comes with a visual UI designing tool. ;)

As for the OP, no there's no such guide and from what I've heard it's a bit more tricky than in the past... :-
Title: Re: SFML 2.0 and QT 5 Integration
Post by: The Terminator on July 12, 2013, 09:22:58 pm
QT is an IDE just like Codeblocks, visual studio, etc, therefore the same rules apply.
Don't you mean Qt Creator?

Qt is a framework for GUI and various other stuff.

Yes, I meant that. Silly mistake by me, thanks for catching it.
Title: Re: SFML 2.0 and QT 5 Integration
Post by: cpolymeris on July 13, 2013, 01:11:20 am
I tried it anyway but couldn't get it working.

If you were more specific maybe someone could help.
Title: Re: SFML 2.0 and QT 5 Integration
Post by: Francismoy on October 24, 2013, 11:16:25 am
Hi,

I've been playing around with this issue and I got to make the integration :). However, I did it only for Mac OS, but anyway I guess it could be of help even if you use Windows or Linux. I posted the details on my blog: http://becomingindiedev.blogspot.fr/2013/10/qt-5-and-sfml-20-integration.html

Hope it helps a little bit! And ask me if you have any questions.
FM