Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.5.0
-
None
-
MSWindows 7 64bits with Qt 5.5 community and MinGW 4.9.2 32bit
Description
Why under Qt 5.5 the creation of QPrint object is very slow:
QElapsedTimer timer; timer.start(); QPrinter printer; qint64 elapsed = timer.nsecsElapsed(); qDebug() << "The operation took" << elapsed << "ns";
Result:
Qt4.8.7
MSWindows 7 64bit (bin 32bit): The operation took 683 835637 ns
(683 ms)
Qt5.5
MSWindows 7 64bit (bin 32bit): The operation took 2423 792254 ns (2423 ms)
Ubuntu 14.04.3 LTS 64bits: The operation took 17 481614 ns (17 ms)
Big difference with Linux system...
https://forum.qt.io/topic/60815/create-qprinter-is-very-slow-under-qt5