Mega Code Archive

 
Categories / C++ / Qt
 

Create a Label and show

#include <QApplication> #include <QLabel> int main(int argc, char *argv[]) {     QApplication a(argc, argv);     QLabel label("Hello World");     label.show();     return a.exec(); }