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

Author Topic: Qt + SFML: Blank widget?  (Read 7334 times)

0 Members and 1 Guest are viewing this topic.

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Qt + SFML: Blank widget?
« Reply #15 on: July 14, 2010, 08:21:54 pm »
Cocoa is in Objective-C, and Qt uses Cocoa to do the GUI stuff, as SFML does for the Mac OS X port.

Even if you only see the C++ SFML classes, the SFML windows
 are created through Cocoa.
Want to play movies in your SFML application? Check out sfeMovie!

Skomakar'n

  • Newbie
  • *
  • Posts: 25
    • View Profile
Qt + SFML: Blank widget?
« Reply #16 on: July 14, 2010, 08:32:38 pm »
Quote from: "Ceylo"
Cocoa is in Objective-C, and Qt uses Cocoa to do the GUI stuff, as SFML does for the Mac OS X port.

Even if you only see the C++ SFML classes, the SFML windows
 are created through Cocoa.

So how can I possibly make it work? I'm using qmake with G++, for C++, for this. I've manually edited the makefile to tell G++ that I'm using the SFML frameworks.

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Qt + SFML: Blank widget?
« Reply #17 on: July 14, 2010, 08:57:45 pm »
I already told you.

Quote from: "Ceylo"
Thus... the only thing you can do is separating the SFML window from the Qt stuff : make a SFML window for your drawing, and other windows for the Qt stuff.


There is no other solution for now.
Want to play movies in your SFML application? Check out sfeMovie!

Skomakar'n

  • Newbie
  • *
  • Posts: 25
    • View Profile
Qt + SFML: Blank widget?
« Reply #18 on: July 14, 2010, 09:06:53 pm »
Quote from: "Ceylo"
I already told you.

Quote from: "Ceylo"
Thus... the only thing you can do is separating the SFML window from the Qt stuff : make a SFML window for your drawing, and other windows for the Qt stuff.


There is no other solution for now.

Aw... Do tell when you've fixed it.

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Qt + SFML: Blank widget?
« Reply #19 on: July 14, 2010, 09:50:30 pm »
I'm sorry to disappoint you but I'm no more working on the Mac OS X port. This will have to be done by the next developers.

Besides, this is not really something you can fix on SFML's side. The only possibilities I could think of are : modify Qt source code to change the defering parameter, or wait for Apple to drop this limitation.
Want to play movies in your SFML application? Check out sfeMovie!

 

anything