For petalinux-config command, sometimes I see the following error:
QCoreApplication::arguments: Please instantiate the QApplication object first
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
And the petalinux-config command refuses to give me terminal window to configure the project.
To resolve this issue:
export $(dbus-launch) >& /dev/null