SFML community forums

Help => General => Topic started by: Laguna on May 11, 2009, 08:33:43 pm

Title: Flickering SFML-View with Qt
Post by: Laguna on May 11, 2009, 08:33:43 pm
Hi,

System:
Win Xp SP3
Visual studio 2008
SFML 1.4
QT 4.5.1

Intel T7200 Dual Core
2Gb Dual Channel Ram
GeforceGo 7900


I tried to finish the qt tutorial. Everything's fine, the qt Window is there sfml-widget is initialized and there there, the loaded image is there, but I have one problem:
The sfml-widget is flickering. The green( clear()) against the grey window-background.
The source ode is exactly copied from the given sample files. (The Qt::WA_NoSystemBackground attribute is set.)

I suppose this is somehow connected with the use of QTimer.

Do I have to set some additional compiler, qt or sfml options?
Could this be some crippling with a dual core processor? Do I have to activate some Buffers?

When I set a frameratelimit with sfml the interval changes but the flickering still exists.
Vsync doestn make the problem any better.
The Problem occurs in Debug and Release. Uninitialized variables shouldnt be the problem.


thx for help
So Far...

Laguna
Title: Flickering SFML-View with Qt
Post by: Hiura on May 11, 2009, 09:15:56 pm
http://www.sfml-dev.org/forum/viewtopic.php?t=1200  :wink:
Title: Flickering SFML-View with Qt
Post by: Laguna on May 11, 2009, 09:36:05 pm
Thx you are great!  :D
It's working now

Somethings must be wrong with the search, because typing qt didn't bring any results.


So Far...

Laguna
Title: Flickering SFML-View with Qt
Post by: Lokk on May 11, 2009, 09:38:27 pm
Yeah, in my opinion, search requests are not very relevant...
Title: Flickering SFML-View with Qt
Post by: Hiura on May 12, 2009, 04:50:13 pm
but "Flickering" works  :P
Title: Flickering SFML-View with Qt
Post by: Laguna on May 12, 2009, 07:38:18 pm
Yes... but then I'd have to be extremely carefull about epilepsy...  :roll: