2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2022-11-14 13:49:32 +00:00
|
|
|
if(NOT TARGET Qt6::Network)
|
2020-07-07 13:24:45 +00:00
|
|
|
return()
|
|
|
|
endif()
|
2021-05-24 06:35:39 +00:00
|
|
|
qt_internal_add_example(download)
|
|
|
|
qt_internal_add_example(downloadmanager)
|
2019-03-18 18:26:24 +00:00
|
|
|
if(NOT INTEGRITY)
|
2021-05-24 06:35:39 +00:00
|
|
|
qt_internal_add_example(dnslookup)
|
2019-03-18 18:26:24 +00:00
|
|
|
endif()
|
2022-11-14 13:49:32 +00:00
|
|
|
if(TARGET Qt6::Widgets)
|
2021-05-24 06:35:39 +00:00
|
|
|
qt_internal_add_example(blockingfortuneclient)
|
|
|
|
qt_internal_add_example(broadcastreceiver)
|
|
|
|
qt_internal_add_example(broadcastsender)
|
|
|
|
qt_internal_add_example(http)
|
|
|
|
qt_internal_add_example(loopback)
|
|
|
|
qt_internal_add_example(threadedfortuneserver)
|
|
|
|
qt_internal_add_example(googlesuggest)
|
|
|
|
qt_internal_add_example(torrent)
|
|
|
|
qt_internal_add_example(multicastreceiver)
|
|
|
|
qt_internal_add_example(multicastsender)
|
|
|
|
qt_internal_add_example(fortuneclient)
|
|
|
|
qt_internal_add_example(fortuneserver)
|
2020-07-07 13:24:45 +00:00
|
|
|
endif()
|
2022-11-14 13:49:32 +00:00
|
|
|
if(QT_FEATURE_processenvironment AND TARGET Qt6::Widgets)
|
2021-05-24 06:35:39 +00:00
|
|
|
qt_internal_add_example(network-chat)
|
2020-07-07 13:24:45 +00:00
|
|
|
endif()
|
2022-11-14 13:49:32 +00:00
|
|
|
if(QT_FEATURE_ssl AND TARGET Qt6::Widgets)
|
2021-05-24 06:35:39 +00:00
|
|
|
qt_internal_add_example(securesocketclient)
|
2020-07-07 13:24:45 +00:00
|
|
|
endif()
|
2022-11-14 13:49:32 +00:00
|
|
|
if(QT_FEATURE_dtls AND TARGET Qt6::Widgets)
|
2021-05-24 06:35:39 +00:00
|
|
|
qt_internal_add_example(secureudpserver)
|
|
|
|
qt_internal_add_example(secureudpclient)
|
2020-07-07 13:24:45 +00:00
|
|
|
endif()
|
2022-11-14 13:49:32 +00:00
|
|
|
if(QT_FEATURE_sctp AND TARGET Qt6::Widgets)
|
2021-05-24 06:35:39 +00:00
|
|
|
qt_internal_add_example(multistreamserver)
|
|
|
|
qt_internal_add_example(multistreamclient)
|
2019-03-18 18:26:24 +00:00
|
|
|
endif()
|