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:
parent
5bd16f132d
commit
3183673303
3
src/concurrent/doc/snippets/snippets.pro
Normal file
3
src/concurrent/doc/snippets/snippets.pro
Normal file
@ -0,0 +1,3 @@
|
||||
#! [qmake_use]
|
||||
QT += concurrent
|
||||
#! [qmake_use]
|
4
src/corelib/doc/snippets/code/doc_src_qplugin.pro
Normal file
4
src/corelib/doc/snippets/code/doc_src_qplugin.pro
Normal file
@ -0,0 +1,4 @@
|
||||
#! [3]
|
||||
TEMPLATE = app
|
||||
QTPLUGIN += qjpeg qgif # image formats
|
||||
#! [3]
|
@ -0,0 +1,5 @@
|
||||
#! [0]
|
||||
HEADERS += mycocoaeventfilter.h
|
||||
OBJECTIVE_SOURCES += mycocoaeventfilter.mm
|
||||
LIBS += -framework AppKit
|
||||
#! [0]
|
3
src/corelib/doc/snippets/resource-system/application.pro
Normal file
3
src/corelib/doc/snippets/resource-system/application.pro
Normal file
@ -0,0 +1,3 @@
|
||||
#! [0]
|
||||
RESOURCES = application.qrc
|
||||
#! [0]
|
3
src/gui/doc/snippets/code/doc_src_qtgui.pro
Normal file
3
src/gui/doc/snippets/code/doc_src_qtgui.pro
Normal file
@ -0,0 +1,3 @@
|
||||
#! [1]
|
||||
QT -= gui
|
||||
#! [1]
|
3
src/network/doc/snippets/network/network.pro
Normal file
3
src/network/doc/snippets/network/network.pro
Normal file
@ -0,0 +1,3 @@
|
||||
#! [0]
|
||||
QT += network
|
||||
#! [0]
|
3
src/opengl/doc/snippets/snippets.pro
Normal file
3
src/opengl/doc/snippets/snippets.pro
Normal file
@ -0,0 +1,3 @@
|
||||
#! [qmake_use]
|
||||
QT += opengl
|
||||
#! [qmake_use]
|
Loading…
Reference in New Issue
Block a user