summaryrefslogtreecommitdiffstats
path: root/examples/network
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/CMakeLists.txt45
-rw-r--r--examples/network/bearermonitor/CMakeLists.txt33
-rw-r--r--examples/network/blockingfortuneclient/CMakeLists.txt18
-rw-r--r--examples/network/broadcastreceiver/CMakeLists.txt17
-rw-r--r--examples/network/broadcastsender/CMakeLists.txt17
-rw-r--r--examples/network/dnslookup/CMakeLists.txt27
-rw-r--r--examples/network/download/CMakeLists.txt18
-rw-r--r--examples/network/downloadmanager/CMakeLists.txt21
-rw-r--r--examples/network/fortuneclient/CMakeLists.txt17
-rw-r--r--examples/network/fortuneserver/CMakeLists.txt17
-rw-r--r--examples/network/googlesuggest/CMakeLists.txt18
-rw-r--r--examples/network/http/CMakeLists.txt20
-rw-r--r--examples/network/loopback/CMakeLists.txt17
-rw-r--r--examples/network/multicastreceiver/CMakeLists.txt17
-rw-r--r--examples/network/multicastsender/CMakeLists.txt17
-rw-r--r--examples/network/multistreamclient/CMakeLists.txt21
-rw-r--r--examples/network/multistreamserver/CMakeLists.txt24
-rw-r--r--examples/network/network-chat/CMakeLists.txt23
-rw-r--r--examples/network/securesocketclient/CMakeLists.txt26
-rw-r--r--examples/network/secureudpclient/CMakeLists.txt24
-rw-r--r--examples/network/secureudpserver/CMakeLists.txt24
-rw-r--r--examples/network/threadedfortuneserver/CMakeLists.txt19
-rw-r--r--examples/network/torrent/.prev_CMakeLists.txt42
-rw-r--r--examples/network/torrent/CMakeLists.txt44
24 files changed, 566 insertions, 0 deletions
diff --git a/examples/network/CMakeLists.txt b/examples/network/CMakeLists.txt
new file mode 100644
index 0000000000..af1f923dc6
--- /dev/null
+++ b/examples/network/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from network.pro.
+
+add_subdirectory(download)
+add_subdirectory(downloadmanager)
+
+if(NOT INTEGRITY)
+ add_subdirectory(dnslookup)
+endif()
+
+if(TARGET Qt::Widgets)
+ add_subdirectory(blockingfortuneclient)
+ add_subdirectory(broadcastreceiver)
+ add_subdirectory(broadcastsender)
+ add_subdirectory(http)
+ add_subdirectory(loopback)
+ add_subdirectory(threadedfortuneserver)
+ add_subdirectory(googlesuggest)
+ # add_subdirectory(torrent) FIXME: This does not find its ui file:-/
+ add_subdirectory(multicastreceiver)
+ add_subdirectory(multicastsender)
+
+ if(QT_FEATURE_bearermanagement)
+ add_subdirectory(bearermonitor)
+ add_subdirectory(fortuneclient)
+ add_subdirectory(fortuneserver)
+
+ if(QT_FEATURE_processenvironment)
+ add_subdirectory(network-chat)
+ endif()
+ endif()
+
+ if(QT_FEATURE_openssl)
+ add_subdirectory(securesocketclient)
+ endif()
+
+ if(QT_FEATURE_dtls)
+ add_subdirectory(secureudpserver)
+ add_subdirectory(secureudpclient)
+ endif()
+
+ if(QT_FEATURE_sctp)
+ add_subdirectory(multistreamserver)
+ add_subdirectory(multistreamclient)
+ endif()
+endif()
diff --git a/examples/network/bearermonitor/CMakeLists.txt b/examples/network/bearermonitor/CMakeLists.txt
new file mode 100644
index 0000000000..83c45fb21a
--- /dev/null
+++ b/examples/network/bearermonitor/CMakeLists.txt
@@ -0,0 +1,33 @@
+# Generated from bearermonitor.pro.
+
+#####################################################################
+## bearermonitor Binary:
+#####################################################################
+
+add_qt_executable(bearermonitor
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/bearermonitor"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/bearermonitor"
+ SOURCES
+ bearermonitor.cpp bearermonitor.h
+ bearermonitor_240_320.ui
+ bearermonitor_640_480.ui
+ main.cpp
+ sessionwidget.cpp sessionwidget.h sessionwidget.ui
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Network
+ Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
+
+#### Keys ignored in scope 1:.:.:bearermonitor.pro:<TRUE>:
+# CONFIG = "console"
+
+## Scopes:
+#####################################################################
+
+extend_target(bearermonitor CONDITION WIN32
+ PUBLIC_LIBRARIES
+ ws2_32
+)
diff --git a/examples/network/blockingfortuneclient/CMakeLists.txt b/examples/network/blockingfortuneclient/CMakeLists.txt
new file mode 100644
index 0000000000..bedbf2f607
--- /dev/null
+++ b/examples/network/blockingfortuneclient/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from blockingfortuneclient.pro.
+
+#####################################################################
+## blockingfortuneclient Binary:
+#####################################################################
+
+add_qt_executable(blockingfortuneclient
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/blockingfortuneclient"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/blockingfortuneclient"
+ SOURCES
+ blockingclient.cpp blockingclient.h
+ fortunethread.cpp fortunethread.h
+ main.cpp
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/network/broadcastreceiver/CMakeLists.txt b/examples/network/broadcastreceiver/CMakeLists.txt
new file mode 100644
index 0000000000..197e56cef0
--- /dev/null
+++ b/examples/network/broadcastreceiver/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from broadcastreceiver.pro.
+
+#####################################################################
+## broadcastreceiver Binary:
+#####################################################################
+
+add_qt_executable(broadcastreceiver
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/broadcastreceiver"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/broadcastreceiver"
+ SOURCES
+ main.cpp
+ receiver.cpp receiver.h
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/network/broadcastsender/CMakeLists.txt b/examples/network/broadcastsender/CMakeLists.txt
new file mode 100644
index 0000000000..8fd49d8578
--- /dev/null
+++ b/examples/network/broadcastsender/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from broadcastsender.pro.
+
+#####################################################################
+## broadcastsender Binary:
+#####################################################################
+
+add_qt_executable(broadcastsender
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/broadcastsender"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/broadcastsender"
+ SOURCES
+ main.cpp
+ sender.cpp sender.h
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/network/dnslookup/CMakeLists.txt b/examples/network/dnslookup/CMakeLists.txt
new file mode 100644
index 0000000000..6ffc633a96
--- /dev/null
+++ b/examples/network/dnslookup/CMakeLists.txt
@@ -0,0 +1,27 @@
+# Generated from dnslookup.pro.
+
+#####################################################################
+## dnslookup Binary:
+#####################################################################
+
+add_qt_executable(dnslookup
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/dnslookup"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/dnslookup"
+ SOURCES
+ dnslookup.cpp dnslookup.h
+ LIBRARIES
+ Qt::Network
+)
+
+#### Keys ignored in scope 1:.:dnslookup.pro:<NONE>:
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:dnslookup.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"
+
+#### Keys ignored in scope 3:.:dnslookup.pro:WIN32:
+# CONFIG = "console"
diff --git a/examples/network/download/CMakeLists.txt b/examples/network/download/CMakeLists.txt
new file mode 100644
index 0000000000..868685fd0a
--- /dev/null
+++ b/examples/network/download/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from download.pro.
+
+#####################################################################
+## download Binary:
+#####################################################################
+
+add_qt_executable(download
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/download"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/download"
+ SOURCES
+ main.cpp
+ LIBRARIES
+ Qt::Network
+)
+
+#### Keys ignored in scope 1:.:download.pro:<NONE>:
+# CONFIG = "-app_bundle"
diff --git a/examples/network/downloadmanager/CMakeLists.txt b/examples/network/downloadmanager/CMakeLists.txt
new file mode 100644
index 0000000000..a5ccac9178
--- /dev/null
+++ b/examples/network/downloadmanager/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from downloadmanager.pro.
+
+#####################################################################
+## downloadmanager Binary:
+#####################################################################
+
+add_qt_executable(downloadmanager
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/downloadmanager"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/downloadmanager"
+ SOURCES
+ downloadmanager.cpp downloadmanager.h
+ main.cpp
+ textprogressbar.cpp textprogressbar.h
+ LIBRARIES
+ Qt::Network
+)
+
+#### Keys ignored in scope 1:.:downloadmanager.pro:<NONE>:
+# CONFIG = "-app_bundle"
+# OTHER_FILES = "debian/changelog" "debian/compat" "debian/control" "debian/copyright" "debian/README" "debian/rules"
diff --git a/examples/network/fortuneclient/CMakeLists.txt b/examples/network/fortuneclient/CMakeLists.txt
new file mode 100644
index 0000000000..bbeecf9c64
--- /dev/null
+++ b/examples/network/fortuneclient/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from fortuneclient.pro.
+
+#####################################################################
+## fortuneclient Binary:
+#####################################################################
+
+add_qt_executable(fortuneclient
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/fortuneclient"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/fortuneclient"
+ SOURCES
+ client.cpp client.h
+ main.cpp
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/network/fortuneserver/CMakeLists.txt b/examples/network/fortuneserver/CMakeLists.txt
new file mode 100644
index 0000000000..299f43910f
--- /dev/null
+++ b/examples/network/fortuneserver/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from fortuneserver.pro.
+
+#####################################################################
+## fortuneserver Binary:
+#####################################################################
+
+add_qt_executable(fortuneserver
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/fortuneserver"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/fortuneserver"
+ SOURCES
+ main.cpp
+ server.cpp server.h
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/network/googlesuggest/CMakeLists.txt b/examples/network/googlesuggest/CMakeLists.txt
new file mode 100644
index 0000000000..ef5deedb80
--- /dev/null
+++ b/examples/network/googlesuggest/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from googlesuggest.pro.
+
+#####################################################################
+## googlesuggest Binary:
+#####################################################################
+
+add_qt_executable(googlesuggest
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/googlesuggest"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/googlesuggest"
+ SOURCES
+ googlesuggest.cpp googlesuggest.h
+ main.cpp
+ searchbox.cpp searchbox.h
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/network/http/CMakeLists.txt b/examples/network/http/CMakeLists.txt
new file mode 100644
index 0000000000..30f6b900e2
--- /dev/null
+++ b/examples/network/http/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from http.pro.
+
+#####################################################################
+## http Binary:
+#####################################################################
+
+add_qt_executable(http
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/http"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/http"
+ SOURCES
+ authenticationdialog.ui
+ httpwindow.cpp httpwindow.h
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
diff --git a/examples/network/loopback/CMakeLists.txt b/examples/network/loopback/CMakeLists.txt
new file mode 100644
index 0000000000..566b48a76e
--- /dev/null
+++ b/examples/network/loopback/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from loopback.pro.
+
+#####################################################################
+## loopback Binary:
+#####################################################################
+
+add_qt_executable(loopback
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/loopback"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/loopback"
+ SOURCES
+ dialog.cpp dialog.h
+ main.cpp
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/network/multicastreceiver/CMakeLists.txt b/examples/network/multicastreceiver/CMakeLists.txt
new file mode 100644
index 0000000000..11204015f2
--- /dev/null
+++ b/examples/network/multicastreceiver/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from multicastreceiver.pro.
+
+#####################################################################
+## multicastreceiver Binary:
+#####################################################################
+
+add_qt_executable(multicastreceiver
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multicastreceiver"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multicastreceiver"
+ SOURCES
+ main.cpp
+ receiver.cpp receiver.h
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/network/multicastsender/CMakeLists.txt b/examples/network/multicastsender/CMakeLists.txt
new file mode 100644
index 0000000000..e02a6b7145
--- /dev/null
+++ b/examples/network/multicastsender/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from multicastsender.pro.
+
+#####################################################################
+## multicastsender Binary:
+#####################################################################
+
+add_qt_executable(multicastsender
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multicastsender"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multicastsender"
+ SOURCES
+ main.cpp
+ sender.cpp sender.h
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/network/multistreamclient/CMakeLists.txt b/examples/network/multistreamclient/CMakeLists.txt
new file mode 100644
index 0000000000..b9f10f3fd5
--- /dev/null
+++ b/examples/network/multistreamclient/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from multistreamclient.pro.
+
+#####################################################################
+## multistreamclient Binary:
+#####################################################################
+
+add_qt_executable(multistreamclient
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multistreamclient"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multistreamclient"
+ SOURCES
+ chatconsumer.cpp chatconsumer.h
+ client.cpp client.h
+ consumer.h
+ main.cpp
+ movieconsumer.cpp movieconsumer.h
+ timeconsumer.cpp timeconsumer.h
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/network/multistreamserver/CMakeLists.txt b/examples/network/multistreamserver/CMakeLists.txt
new file mode 100644
index 0000000000..3475995178
--- /dev/null
+++ b/examples/network/multistreamserver/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from multistreamserver.pro.
+
+#####################################################################
+## multistreamserver Binary:
+#####################################################################
+
+add_qt_executable(multistreamserver
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multistreamserver"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multistreamserver"
+ SOURCES
+ chatprovider.cpp chatprovider.h
+ main.cpp
+ movieprovider.cpp movieprovider.h
+ provider.h
+ server.cpp server.h
+ timeprovider.cpp timeprovider.h
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:multistreamserver.pro:<NONE>:
+# EXAMPLE_FILES = "animation.gif"
diff --git a/examples/network/network-chat/CMakeLists.txt b/examples/network/network-chat/CMakeLists.txt
new file mode 100644
index 0000000000..d620d899d1
--- /dev/null
+++ b/examples/network/network-chat/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from network-chat.pro.
+
+#####################################################################
+## network-chat Binary:
+#####################################################################
+
+add_qt_executable(network-chat
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/network-chat"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/network-chat"
+ SOURCES
+ chatdialog.cpp chatdialog.h chatdialog.ui
+ client.cpp client.h
+ connection.cpp connection.h
+ main.cpp
+ peermanager.cpp peermanager.h
+ server.cpp server.h
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
diff --git a/examples/network/securesocketclient/CMakeLists.txt b/examples/network/securesocketclient/CMakeLists.txt
new file mode 100644
index 0000000000..fd9a12e4bb
--- /dev/null
+++ b/examples/network/securesocketclient/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Generated from securesocketclient.pro.
+
+#####################################################################
+## securesocketclient Binary:
+#####################################################################
+
+add_qt_executable(securesocketclient
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/securesocketclient"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/securesocketclient"
+ SOURCES
+ certificateinfo.cpp certificateinfo.h certificateinfo.ui
+ main.cpp
+ sslclient.cpp sslclient.h sslclient.ui
+ sslerrors.ui
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
+
+# Resources:
+add_qt_resource(securesocketclient "securesocketclient" FILES
+ encrypted.png)
+
diff --git a/examples/network/secureudpclient/CMakeLists.txt b/examples/network/secureudpclient/CMakeLists.txt
new file mode 100644
index 0000000000..5516b36cc3
--- /dev/null
+++ b/examples/network/secureudpclient/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from secureudpclient.pro.
+
+#####################################################################
+## secureudpclient Binary:
+#####################################################################
+
+add_qt_executable(secureudpclient
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/secureudpclient"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/secureudpclient"
+ SOURCES
+ addressdialog.cpp addressdialog.h addressdialog.ui
+ association.cpp association.h
+ main.cpp
+ mainwindow.cpp mainwindow.h mainwindow.ui
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
+
+#### Keys ignored in scope 1:.:.:secureudpclient.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/examples/network/secureudpserver/CMakeLists.txt b/examples/network/secureudpserver/CMakeLists.txt
new file mode 100644
index 0000000000..6d4968c9f7
--- /dev/null
+++ b/examples/network/secureudpserver/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from secureudpserver.pro.
+
+#####################################################################
+## secureudpserver Binary:
+#####################################################################
+
+add_qt_executable(secureudpserver
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/secureudpserver"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/secureudpserver"
+ SOURCES
+ main.cpp
+ mainwindow.cpp mainwindow.h mainwindow.ui
+ nicselector.cpp nicselector.h nicselector.ui
+ server.cpp server.h
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
+
+#### Keys ignored in scope 1:.:.:secureudpserver.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/examples/network/threadedfortuneserver/CMakeLists.txt b/examples/network/threadedfortuneserver/CMakeLists.txt
new file mode 100644
index 0000000000..124ac1d1cc
--- /dev/null
+++ b/examples/network/threadedfortuneserver/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from threadedfortuneserver.pro.
+
+#####################################################################
+## threadedfortuneserver Binary:
+#####################################################################
+
+add_qt_executable(threadedfortuneserver
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/threadedfortuneserver"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/threadedfortuneserver"
+ SOURCES
+ dialog.cpp dialog.h
+ fortuneserver.cpp fortuneserver.h
+ fortunethread.cpp fortunethread.h
+ main.cpp
+ LIBRARIES
+ Qt::Network
+ Qt::Widgets
+)
diff --git a/examples/network/torrent/.prev_CMakeLists.txt b/examples/network/torrent/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..5d23f5e74b
--- /dev/null
+++ b/examples/network/torrent/.prev_CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from torrent.pro.
+
+#####################################################################
+## torrent Binary:
+#####################################################################
+
+add_qt_executable(torrent
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/torrent"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/torrent"
+ SOURCES
+ addtorrentdialog.cpp addtorrentdialog.h
+ bencodeparser.cpp bencodeparser.h
+ connectionmanager.cpp connectionmanager.h
+ filemanager.cpp filemanager.h
+ forms/addtorrentform.ui
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ metainfo.cpp metainfo.h
+ peerwireclient.cpp peerwireclient.h
+ ratecontroller.cpp ratecontroller.h
+ torrentclient.cpp torrentclient.h
+ torrentserver.cpp torrentserver.h
+ trackerclient.cpp trackerclient.h
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
+
+# Resources:
+add_qt_resource(torrent "icons" PREFIX "/" FILES
+ icons/1downarrow.png
+ icons/1uparrow.png
+ icons/bottom.png
+ icons/exit.png
+ icons/peertopeer.png
+ icons/player_pause.png
+ icons/player_play.png
+ icons/player_stop.png)
+
diff --git a/examples/network/torrent/CMakeLists.txt b/examples/network/torrent/CMakeLists.txt
new file mode 100644
index 0000000000..448335e7aa
--- /dev/null
+++ b/examples/network/torrent/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from torrent.pro.
+
+#####################################################################
+## torrent Binary:
+#####################################################################
+
+add_qt_executable(torrent
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/torrent"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/torrent"
+ SOURCES
+ addtorrentdialog.cpp addtorrentdialog.h
+ bencodeparser.cpp bencodeparser.h
+ connectionmanager.cpp connectionmanager.h
+ filemanager.cpp filemanager.h
+ forms/addtorrentform.ui
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ metainfo.cpp metainfo.h
+ peerwireclient.cpp peerwireclient.h
+ ratecontroller.cpp ratecontroller.h
+ torrentclient.cpp torrentclient.h
+ torrentserver.cpp torrentserver.h
+ trackerclient.cpp trackerclient.h
+ INCLUDE_DIRECTORIES # special case
+ forms # special case
+ PUBLIC_LIBRARIES
+ Qt::Network
+ Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
+
+# Resources:
+add_qt_resource(torrent "icons" PREFIX "/" FILES
+ icons/1downarrow.png
+ icons/1uparrow.png
+ icons/bottom.png
+ icons/exit.png
+ icons/peertopeer.png
+ icons/player_pause.png
+ icons/player_play.png
+ icons/player_stop.png)
+