Solved Qt application never seems to start
-
Hello, i've been trying to display a "hello world" application on Ubuntu with Qt. However, after compiling (in Qt Creator), it doesn't show up, the program is running in the terminal but it never stops or displays any window. There is no error, just warnings on compilation. Code:
#include <QApplication> #include <QPushButton> int main(int argc, char *argv[]){ QApplication app(argc, argv); QPushButton button; button.setText("TEST"); return app.exec(); }
I installed Qt using this tutorial, the version i have is 5.12.10.
-
When you don't show anything you won't see anything.
-
When you don't show anything you won't see anything.