hello.cpp 228 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 #include <QApplication> #include <QPushButton> int main(int argc, char *argv[]) { QApplication app(argc, argv); QPushButton hello("Hello world!"); hello.resize(100, 30); hello.show(); return app.exec(); }