Skip to content

Instantly share code, notes, and snippets.

@Mashpy
Created August 13, 2012 00:33
Show Gist options
  • Select an option

  • Save Mashpy/3335785 to your computer and use it in GitHub Desktop.

Select an option

Save Mashpy/3335785 to your computer and use it in GitHub Desktop.
Hello Qt
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QLabel *label = new QLabel("<h2>Hello Qt!</h2>");
label->show();
return app.exec();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment