Skip to content

Instantly share code, notes, and snippets.

@yunqu
Created October 21, 2020 18:14
Show Gist options
  • Save yunqu/8959ca5334618dbc96f2e01bb079af68 to your computer and use it in GitHub Desktop.
Save yunqu/8959ca5334618dbc96f2e01bb079af68 to your computer and use it in GitHub Desktop.
QT error message when running petalinux-config

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment