Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
[Solved] Cant get SFML2 to work with Qt!
Print
Pages:
1
[
2
]
Author
Topic: [Solved] Cant get SFML2 to work with Qt! (Read 9611 times)
0 Members and 1 Guest are viewing this topic.
Laurent
Administrator
Hero Member
Posts: 32498
[Solved] Cant get SFML2 to work with Qt!
«
Reply #15 on:
April 07, 2011, 03:05:00 pm »
Are you sure that your class has the Q_OBJECT macro?
Logged
Laurent Gomila - SFML developer
hayer
Jr. Member
Posts: 58
[Solved] Cant get SFML2 to work with Qt!
«
Reply #16 on:
April 08, 2011, 12:05:13 am »
Solved;
Put the MyCanvas into a .cpp and .h file like any other class and add the Q_OBJECT.
If your using Qt Creator, Clean project, build -> works
Logged
dreamcycle
Newbie
Posts: 1
Linking
«
Reply #17 on:
April 09, 2011, 04:20:07 pm »
How did you manage to link the libraries in QT?
Regards,
Ivelin Penchev
Logged
Print
Pages:
1
[
2
]
SFML community forums
»
Help
»
Window
»
[Solved] Cant get SFML2 to work with Qt!