Created
August 11, 2015 18:31
-
-
Save adam-lee/634d9a442a753cbe9b48 to your computer and use it in GitHub Desktop.
HelloQt.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* qt5-test.cpp */ | |
#include <QApplication> | |
#include <QLabel> | |
int main(int argc, char *argv[]) | |
{ | |
QApplication app(argc, argv); | |
QLabel label("Hello, World!"); | |
label.resize(400, 200); | |
label.show(); | |
return app.exec(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment