使用QT显示HelloWorld

4年以前  |  阅读数:295 次  |  编程语言:C++ 
#include <QApplication>
#include <QLabel>

int main(int argc, char *argv[])
{
 QApplication app(argc, argv);
 QLabel label("Hello, world!");
 label.show();
 return app.exec();
}
 相关文章:
Java版本Helloworld
使用AWT显示HelloWorld界面
PHP版HelloWorld
用C++和gtkmm 2显示HelloWorld界面
使用QT显示HelloWorld
Kotlin版本的HelloWorld
C++版HelloWorld
C语言版本的HelloWorld
Python版HelloWorld
弹出HelloWorld对话框
GTK+显示HelloWorld
Golang版HelloWorld
C#版HelloWorld
VB版本的HelloWorld
C++版的HelloWorld
JavaScript版的HelloWorld
程序员的HelloWorld
Golang官方的HelloWorld
HelloWorld级的Http服务器
Golang打印传说中的 "`hello world`"