Is it valid to call qApp->exec()
or QCoreApplication::exec()
if I'm using a QApplication
instance? Since it's a static function, in both cases QCoreApplication::exec()
will be called. However, it appears that even if I call one of them, my QApplication
based program works just fine - is this just luck/coincidence or is it ment to be valid?
Thanks for your help!