fix for AC lack of QCoreApplication
Merge pull request #1217 from birarda/master

fix for AC lack of QCoreApplication