2021-01-31 21:23:42 +01:00
|
|
|
#include <QApplication>
|
|
|
|
|
#include <QPushButton>
|
|
|
|
|
|
|
|
|
|
int main(int argc, char *argv[]) {
|
|
|
|
|
QApplication a(argc, argv);
|
|
|
|
|
QPushButton button("Hello world!", nullptr);
|
|
|
|
|
button.resize(200, 100);
|
|
|
|
|
button.show();
|
|
|
|
|
return QApplication::exec();
|
|
|
|
|
}
|