[Qt-interest] GUI separate threads problem
Marek Bronowicki
marek at cyberdeus.pl
Fri Apr 23 14:45:29 CEST 2010
Hello
I'm writing a multimedia player with several addons. It has to show the
main movie (advertisement) with RSS feeds at top and bottom of movie.
Everything is working just perfect when the ad is an avi or mpeg or any
other movie format supported by Phonon. The problem with painting is
when I use QWebkit to show flash (swf) ad.
Some SWF files are just too big, and I then I have a problem with rss
feeds shown in QGraphicsView. As I know from the docs there is no way to
repaint widgets from other than main thread.
When the SWF file is "eating" whole processor, the move of RSS feed text
is slowing down even if I do a new QThread inherited class with
QGraphicsView inside.
My question is that I must make 3 independent applications or maybe
someone knows another way to solve this?
Now I have one main window with layouts having phonon or qwebkit and two
qgraphicsview. QGraphicsView makes the move of the RSS choppy when the
SWF is played.
When I'm running 3 apps where one is top QGraphicsView, second is bottom
QGraphicsView and third is a QWebView everything is going smooth and fine.
I hope that everything is understandable, because I always have a
problem to describe my needs:-)
Regards,
Marek Bronowicki
More information about the Qt-interest-old
mailing list