#include "QApplication.h" // note: in for Qt stuff, you can also use #include format #include "QLabel.h" //#include // note: use this in Qt5, in Qt4, with this, //with above line, you don't need include each single element, just like in Python int main(int argc, char *argv[]) { QApplication app(argc, argv); QLabel *info_label = new QLabel("Hello Qt!"); info_label->show(); return app.exec(); }