hello world簡單程式
阿新 • • 發佈:2018-12-10
檔名:hello.cpp
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QLabel *label = new QLabel("hello QT!");
label->show();
return app.exec();
}