SFML community forums
Help => Window => Topic started 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.
-
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.
-
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.
-
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... :-
-
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.
-
I tried it anyway but couldn't get it working.
If you were more specific maybe someone could help.
-
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