Skip to content

Commit

Permalink
Doc: Make network snippets a subdirs/lib project
Browse files Browse the repository at this point in the history
Task-number: QTBUG-86497
Pick-to: 5.15
Change-Id: I45eb22344beb777dd4ad20ba669b28e50cbfc3ec
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Tor Arne Vestbø <[email protected]>
  • Loading branch information
paulwicking committed Sep 23, 2020
1 parent f4ee893 commit 8333ff6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
6 changes: 6 additions & 0 deletions src/network/doc/snippets/network/network.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TEMPLATE = lib
TARGET = network_snippet
QT = core network

SOURCES = \
tcpwait.cpp
14 changes: 6 additions & 8 deletions src/network/doc/snippets/snippets.pro
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
TEMPLATE = app

TEMPLATE = subdirs
TARGET = network_cppsnippets
SUBDIRS =

# ![0]
QT += network
# ![0]

SOURCES += network/tcpwait.cpp
contains(QT_BUILD_PARTS, tests) {
SUBDIRS += \
network
}

load(qt_common)

0 comments on commit 8333ff6

Please sign in to comment.