From 319e22cb4af3b6b0ad42ed008a6bba3266b76dba Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Mon, 31 Aug 2020 14:38:22 +0200 Subject: [PATCH] Doc: compile qstatustipevent snippet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Done-with: Nico Vertriest Task-number: QTBUG-81486 Change-Id: I44c7b31e0a99009f51f81e2c8d0e736e6eafd535 Reviewed-by: Topi Reiniƶ --- src/gui/doc/snippets/qstatustipevent/main.cpp | 5 +++-- src/gui/doc/snippets/qstatustipevent/qstatustipevent.pro | 7 +++++++ src/gui/doc/snippets/snippets.pro | 1 + 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 src/gui/doc/snippets/qstatustipevent/qstatustipevent.pro diff --git a/src/gui/doc/snippets/qstatustipevent/main.cpp b/src/gui/doc/snippets/qstatustipevent/main.cpp index 6cf63fd8752..3022f852092 100644 --- a/src/gui/doc/snippets/qstatustipevent/main.cpp +++ b/src/gui/doc/snippets/qstatustipevent/main.cpp @@ -47,9 +47,10 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ - -#include #include +#include +#include +#include class MainWindow : public QMainWindow { diff --git a/src/gui/doc/snippets/qstatustipevent/qstatustipevent.pro b/src/gui/doc/snippets/qstatustipevent/qstatustipevent.pro new file mode 100644 index 00000000000..8f94f6ce287 --- /dev/null +++ b/src/gui/doc/snippets/qstatustipevent/qstatustipevent.pro @@ -0,0 +1,7 @@ +TEMPLATE = lib +TARGET = qstatustipevent_snippets +QT += core gui widgets + +SOURCES = \ + main.cpp + diff --git a/src/gui/doc/snippets/snippets.pro b/src/gui/doc/snippets/snippets.pro index 875fb1aeeb0..158fc0b36d9 100644 --- a/src/gui/doc/snippets/snippets.pro +++ b/src/gui/doc/snippets/snippets.pro @@ -17,6 +17,7 @@ contains(QT_BUILD_PARTS, tests) { qfileopenevent \ qfontdatabase \ qimagewriter \ + qstatustipevent \ textblock-formats \ textblock-fragments \ textdocument-blocks \