Qt5 test code