Doc: compile qfileopenevent snippet

Done-with: Nico Vertriest <nico.vertriest@qt.io>
Task-number: QTBUG-81486
Change-Id: I28d7e9749b7a8feacd6b82abebcea462010caeba
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
bb10
Paul Wicking 2020-08-31 14:33:03 +02:00
parent 87eb059ed3
commit 45211e947a
3 changed files with 10 additions and 1 deletions

View File

@ -50,8 +50,9 @@
//! [QApplication subclass]
#include <QApplication>
#include <QDebug>
#include <QFileOpenEvent>
#include <QtDebug>
#include <QPushButton>
class MyApplication : public QApplication
{

View File

@ -0,0 +1,7 @@
TEMPLATE = lib
TARGET = qfileopenevent_snippets
QT += core gui widgets
SOURCES = \
main.cpp

View File

@ -14,6 +14,7 @@ contains(QT_BUILD_PARTS, tests) {
picture \
plaintextlayout \
polygon \
qfileopenevent \
qfontdatabase \
textblock-formats \
textblock-fragments \