Skip to content

Commit

Permalink
Doc: compile qstatustipevent snippet
Browse files Browse the repository at this point in the history
Done-with: Nico Vertriest <[email protected]>
Task-number: QTBUG-81486
Change-Id: I44c7b31e0a99009f51f81e2c8d0e736e6eafd535
Reviewed-by: Topi Reiniö <[email protected]>
  • Loading branch information
paulwicking committed Sep 1, 2020
1 parent 5ee39fc commit 319e22c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/doc/snippets/qstatustipevent/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@
** $QT_END_LICENSE$
**
****************************************************************************/

#include <QtGui>
#include <QApplication>
#include <QMainWindow>
#include <QMenuBar>
#include <QStatusBar>

class MainWindow : public QMainWindow
{
Expand Down
7 changes: 7 additions & 0 deletions src/gui/doc/snippets/qstatustipevent/qstatustipevent.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
TEMPLATE = lib
TARGET = qstatustipevent_snippets
QT += core gui widgets

SOURCES = \
main.cpp

1 change: 1 addition & 0 deletions src/gui/doc/snippets/snippets.pro
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ contains(QT_BUILD_PARTS, tests) {
qfileopenevent \
qfontdatabase \
qimagewriter \
qstatustipevent \
textblock-formats \
textblock-fragments \
textdocument-blocks \
Expand Down

0 comments on commit 319e22c

Please sign in to comment.