Doc: Make network snippets a subdirs/lib project
Task-number: QTBUG-86497 Pick-to: 5.15 Change-Id: I45eb22344beb777dd4ad20ba669b28e50cbfc3ec Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
f4ee89363e
commit
8333ff6414
6
src/network/doc/snippets/network/network.pro
Normal file
6
src/network/doc/snippets/network/network.pro
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
TEMPLATE = lib
|
||||||
|
TARGET = network_snippet
|
||||||
|
QT = core network
|
||||||
|
|
||||||
|
SOURCES = \
|
||||||
|
tcpwait.cpp
|
@ -1,11 +1,9 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
TARGET = network_cppsnippets
|
TARGET = network_cppsnippets
|
||||||
|
SUBDIRS =
|
||||||
|
|
||||||
# ![0]
|
contains(QT_BUILD_PARTS, tests) {
|
||||||
QT += network
|
SUBDIRS += \
|
||||||
# ![0]
|
network
|
||||||
|
}
|
||||||
|
|
||||||
SOURCES += network/tcpwait.cpp
|
|
||||||
|
|
||||||
load(qt_common)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user