Oops, my mistake. I was used to looking up QApplication, didn't notice that it was QCoreApplication. Thanks!