Sandbox: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
(Add "cleanup" tag)
Line 1: Line 1:
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}
<code>
<code>
  #include <QApplication>
  #include <QApplication>

Revision as of 16:57, 3 March 2015

This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.
 #include <QApplication>
 #include <QPushButton>

int main(int argc, char *argv[])
 {
 QApplication app(argc, argv);

QPushButton hello("Hello world!");
 hello.resize(100, 30);

hello.show();
 return app.exec();
 }