You need to clear these two flags IMF_DUALFONT and IMF_AUTOFONT to keep font unchanged.
Add following line at the top of your hello.pro. QT += widgets