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

Author Topic: Flickering SFML-View with Qt  (Read 3448 times)

0 Members and 1 Guest are viewing this topic.

Laguna

  • Newbie
  • *
  • Posts: 11
    • View Profile
Flickering SFML-View with Qt
« 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

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Flickering SFML-View with Qt
« Reply #1 on: May 11, 2009, 09:15:56 pm »
SFML / OS X developer

Laguna

  • Newbie
  • *
  • Posts: 11
    • View Profile
Flickering SFML-View with Qt
« Reply #2 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

Lokk

  • Full Member
  • ***
  • Posts: 228
    • View Profile
    • http://betadineproject.wordpress.com/
Flickering SFML-View with Qt
« Reply #3 on: May 11, 2009, 09:38:27 pm »
Yeah, in my opinion, search requests are not very relevant...

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Flickering SFML-View with Qt
« Reply #4 on: May 12, 2009, 04:50:13 pm »
but "Flickering" works  :P
SFML / OS X developer

Laguna

  • Newbie
  • *
  • Posts: 11
    • View Profile
Flickering SFML-View with Qt
« Reply #5 on: May 12, 2009, 07:38:18 pm »
Yes... but then I'd have to be extremely carefull about epilepsy...  :roll:

 

anything