extract: Fix Qt5 compilation failure, use QCoreApplication instead of QGui*