1.1 Hello Qt!¶ 最初は画面にHello Qt!と表示するプログラムを作ることにします。 まずは何も考えず次のソースコードを入力し、実行できるかどうかのテストをしてみてください。 #include <QApplication> #include <QLabel> int main(int argc, char** argv) { QApplication app(argc, argv); QLabel* label = new QLabel("Hello Qt!"); label->show(); return app.exec(); }