fix for AC lack of QCoreApplication