Can we see the code? By the way, adding qDebug() statements slows down the whole operation several times.