Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString) error
Asked Answered
E

1

8

I was trying to follow a Qt tutorial but I get this error:

Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString) 

which I don't understand, my code seems fine enough so I believe there is a problem with my .pro file or with Qt Creator settings, and I don't have enough Qt experience to fix it.

I've tried googling the problem but found no solution.

This is my code:

#include <QApplication>

int main(int argc, char ** argv) {
  // Define the QApplication
  QApplication app (argc, argv);
  // Return the app exec
  return app.exec();
}

And this is my .pro file

QT += core gui

greaterThan(QT_MAJOR_VERSION, 4) : QT += widgets

SOURCES += \
    main.cpp

I'm not really doing anything complicated, so I must have missed something or done something wrong.

The tutorial I'm following is Qt Tutorials For Beginners 3 - First Qt Application, if it helps.

Epicedium answered 10/4, 2023 at 17:33 Comment(0)
T
5

If you don't need ibus, try purging it:

sudo apt purge ibus

This was tested on both Wayland and X11.

See this thread on Qt Forum: Qt6.5.0 and ibus (Ubuntu).

Issue has been addressed, see code qt io: qt/qtbase.git: IBus: fix missing Q_SLOTS.

Thoroughpaced answered 20/4, 2023 at 5:22 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.