diff options
author | Nico Vertriest <[email protected]> | 2020-08-05 11:41:42 +0200 |
---|---|---|
committer | Paul Wicking <[email protected]> | 2020-09-01 06:13:06 +0200 |
commit | 69b622cb3d1810c0887b94e6cb177ca4d7a8b080 (patch) | |
tree | bdc94802072236d23a46da97977cb9b5352c706e /src/gui/doc/snippets/textdocument-printing/main.cpp | |
parent | fcea9d4b72a207f1a416a8f11c74b99e1a1b1078 (diff) |
Doc: Make Qt Gui snippets compilable - textdocument-printing
Task-number: QTBUG-81486
Change-Id: If811ac26eebbd6b3f9fd20e2b3fb29d3be24d1cb
Reviewed-by: Topi Reiniƶ <[email protected]>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-printing/main.cpp')
-rw-r--r-- | src/gui/doc/snippets/textdocument-printing/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/doc/snippets/textdocument-printing/main.cpp b/src/gui/doc/snippets/textdocument-printing/main.cpp index 60afcac7b55..cb8158adf9d 100644 --- a/src/gui/doc/snippets/textdocument-printing/main.cpp +++ b/src/gui/doc/snippets/textdocument-printing/main.cpp @@ -47,11 +47,10 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ - -#include <QtGui> - #include "mainwindow.h" +#include <QApplication> + int main(int argc, char *argv[]) { QApplication app(argc, argv); |