actually create the QCoreApplication instance