Skip to content

Instantly share code, notes, and snippets.

@adam-lee
Created August 11, 2015 18:31
Show Gist options
  • Save adam-lee/634d9a442a753cbe9b48 to your computer and use it in GitHub Desktop.
Save adam-lee/634d9a442a753cbe9b48 to your computer and use it in GitHub Desktop.
HelloQt.cpp
/* 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