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:
Paul Wicking 2020-09-22 07:28:17 +02:00
parent f4ee89363e
commit 8333ff6414
2 changed files with 12 additions and 8 deletions

View File

@ -0,0 +1,6 @@
TEMPLATE = lib
TARGET = network_snippet
QT = core network
SOURCES = \
tcpwait.cpp

View File

@ -1,11 +1,9 @@
TEMPLATE = app
TEMPLATE = subdirs
TARGET = network_cppsnippets
SUBDIRS =
# ![0]
QT += network
# ![0]
contains(QT_BUILD_PARTS, tests) {
SUBDIRS += \
network
}
SOURCES += network/tcpwait.cpp
load(qt_common)