#include #include int main(int argc, char *argv[]) { QApplication a(argc, argv); /** Create QLabel to stack * so we don't have to delete it. */ QLabel label("Hello World"); /** Show it! */ label.show(); /** Kick off the event loop. */ return a.exec(); }