⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

QGraphicsScene interferes with QNetworkManager

  • I am using QNetworkManager to download files. If I connect the downloadProgress signal of QNetworkManager object to a slot of Main Gui Thread which draws on QGraphicsView, the download speed decreases more than 10 times:
    // a custom progress bar
    void manager::showGProgress(int num, float prgrss) //slot
    for(float b=0;b<=x_coord;b=b+0.5)


  • I have introduced "code wrappings":http://qt-project.org/wiki/ForumHelp#e3f82045ad0f480d3fb9e0ac2d58fb01 Remember next time.

  • Is there any alternative way of doing this, i.e. custom progress bar which won't interfere with QNetworkManager. QNetworkManager runs in a separate thread of its own, such things shouldn't occur.

Log in to reply