[Qt-interest] QNetworkAccessManager does not work in multi-threaded apps on N900

Jochen Becher jochen_becher at gmx.de
Fri Nov 5 20:55:15 CET 2010


Hi,

I already filed bug report QTBUG-15004 in between. It is linked to
similar bug report about failing QML examples.

Regards, Jochen 


Am Freitag, den 05.11.2010, 11:48 +0100 schrieb Markus Goetz:
> On Monday, November 01, 2010 11:19:33 pm ext Jochen Becher wrote:
> > I attached a minimal program that shows the problem why MovieSchedule
> > fails with new Qt 4.7.0 on N900.
> > 
> > If one builds and deploys the attached program with Qt Creator (I am
> > using an actual 2.0.93 snapshot) the programs "hangs" or is very slow -
> > at least on my N900.
> > 
> > In mainwindow.cpp line 90 is the key statement: the network access is
> > done from within a QObject which is moved to another thread. If you
> > disable that line the network access will be done in the main thread and
> > everything is fine. As soon as the network access is done from a
> > different thread the program fails. The first network request is still
> > o.k. but the second and all later requests will be very slow or even
> > crash.
> > 
> > If I run the program on my Ubuntu 10.04 desktop everything is fine. Also
> > if I run it from scratchbox/X86 it is fine.
> > 
> > Could someone please reproduce this issue before I file a bug report?
> > (Possibly I did something horrible wrong with that example...)
> 
> Please file a bugreport, I heard that other people had also issues.
> This will make finding the source of the bug easier.
> 
> Markus





More information about the Qt-interest-old mailing list