summaryrefslogtreecommitdiffstats
path: root/src/tools/controller/controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/controller/controller.cpp')
-rw-r--r--src/tools/controller/controller.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/controller/controller.cpp b/src/tools/controller/controller.cpp
index 48b0abe5..2fb3ed3b 100644
--- a/src/tools/controller/controller.cpp
+++ b/src/tools/controller/controller.cpp
@@ -345,6 +345,8 @@ int main(int argc, char *argv[])
QCoreApplication::setOrganizationDomain(u"qt-project.org"_s);
QCoreApplication::setApplicationVersion(QString::fromLatin1(QT_AM_VERSION_STR));
+ ensureLibDBusIsAvailable(); // this needs to happen before the QCoreApplication constructor
+
ThrowingApplication a(argc, argv);
QByteArray desc = "\n\nAvailable commands are:\n";