Do not access QObject API before its private data is initialized.