使用QT显示HelloWorld

4年以前  |  阅读数:332 次  |  编程语言: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界面
Kotlin版本的HelloWorld
使用QT显示HelloWorld
C++版HelloWorld
GTK+显示HelloWorld
C语言版本的HelloWorld
Python版HelloWorld
VB版本的HelloWorld
弹出HelloWorld对话框
Golang版HelloWorld
C#版HelloWorld
JavaScript版的HelloWorld
程序员的HelloWorld
C++版的HelloWorld
Golang官方的HelloWorld
HelloWorld级的Http服务器
Golang打印传说中的 "`hello world`"