Does the first snippet run before QApplication constructor or after it?