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
parent
87eb059ed3
commit
45211e947a
|
|
@ -50,8 +50,9 @@
|
|||
|
||||
//! [QApplication subclass]
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
#include <QFileOpenEvent>
|
||||
#include <QtDebug>
|
||||
#include <QPushButton>
|
||||
|
||||
class MyApplication : public QApplication
|
||||
{
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
TEMPLATE = lib
|
||||
TARGET = qfileopenevent_snippets
|
||||
QT += core gui widgets
|
||||
|
||||
SOURCES = \
|
||||
main.cpp
|
||||
|
||||
|
|
@ -14,6 +14,7 @@ contains(QT_BUILD_PARTS, tests) {
|
|||
picture \
|
||||
plaintextlayout \
|
||||
polygon \
|
||||
qfileopenevent \
|
||||
qfontdatabase \
|
||||
textblock-formats \
|
||||
textblock-fragments \
|
||||
|
|
|
|||
Loading…
Reference in New Issue