faster image rendering with Qt5