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

Author Topic: SFML and Qt  (Read 1861 times)

0 Members and 1 Guest are viewing this topic.

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
SFML and Qt
« on: February 07, 2010, 08:23:23 pm »
I am quite newb at Qt. I got it finally working with my IDE(VS2008). Now I would like to know if a could make a sf::RenderWindow (without the use of the QTSFML canvas) and a Qt window apart (something like a console with a Qt GUI). Thanks :-)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML and Qt
« Reply #1 on: February 07, 2010, 08:31:19 pm »
There should no problem. Why don't you just test it? :)
Laurent Gomila - SFML developer

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
SFML and Qt
« Reply #2 on: February 07, 2010, 08:38:58 pm »
Quote from: "Laurent"
There should no problem. Why don't you just test it? :)


I am doing this right now, but Qt and wxWidgets annoy (and scare) me a little with those macros and so. I am using sf::Thread to run the Qt window apart form SFML (since you must use QtApp.exec()). That's the right way I think.