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.