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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - felipeota

Pages: [1]
1
SFML wiki / QT widget
« on: February 04, 2011, 03:08:02 pm »
You are right. I've been looking at the 1.3 version wiki, it's the first result google shows when searching for "sfml qt". I didn't notice it was an old version even though there's a warning at the top of the page.

2
SFML wiki / QT widget
« on: February 02, 2011, 09:45:51 pm »
I've tried the QT integration example from the wiki on Windows 7, Qt 4.7 and SFML 2 but it didn't work as expected. The screen flickered between the parent widget's background and the SFML graphics.
To fix it I added this to the QSFMLCanvas class:

Code: [Select]

QPaintEngine *paintEngine() const
{
  return 0;
}


I took the idea from an OGRE3D Qt widget.

Pages: [1]