Revert "Remove the qmake project files" for snippets

This reverts a limited part of commit ad2da2d27a
that deleted .pro files for snippets compilation.
Some .pro files which contain snippets used in the documentation
itself should be restored.

Task-number: QTBUG-90483
Change-Id: I1b03833c8ff17b5fca43a5b6c5417e8545b1711b
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Nico Vertriest 2021-01-22 16:18:42 +01:00
parent 5bd16f132d
commit 3183673303
7 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#! [qmake_use]
QT += concurrent
#! [qmake_use]

View File

@ -0,0 +1,4 @@
#! [3]
TEMPLATE = app
QTPLUGIN += qjpeg qgif # image formats
#! [3]

View File

@ -0,0 +1,5 @@
#! [0]
HEADERS += mycocoaeventfilter.h
OBJECTIVE_SOURCES += mycocoaeventfilter.mm
LIBS += -framework AppKit
#! [0]

View File

@ -0,0 +1,3 @@
#! [0]
RESOURCES = application.qrc
#! [0]

View File

@ -0,0 +1,3 @@
#! [1]
QT -= gui
#! [1]

View File

@ -0,0 +1,3 @@
#! [0]
QT += network
#! [0]

View File

@ -0,0 +1,3 @@
#! [qmake_use]
QT += opengl
#! [qmake_use]