summaryrefslogtreecommitdiffstats
path: root/examples/network/secureudpclient/secureudpclient.pro
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2018-03-23 12:30:31 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2018-06-22 13:09:42 +0000
commit033a1a279311fd2eda02e4c90657542f688b5f8b (patch)
tree492cf80917e2ed9f5e5256d82b9ef21d0ae64b41 /examples/network/secureudpclient/secureudpclient.pro
parentf5fe9fc5a4136a696f07c4bd3567d85348ec42d9 (diff)
Add a secure UDP client example
A simple application that establishes DTLS connection(s) and sends/receives datagrams. Class DtlsAssociation is essentially a QUdpSocket|QDtls pair: it initiates a handshake, handles timeouts and errors. After establishing an encrypted connection it sends messages to the server and processes responses. Task-number: QTBUG-67596 Change-Id: I92d481b7dfd2459e6a93c754b338a2e897a7feaf Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'examples/network/secureudpclient/secureudpclient.pro')
-rw-r--r--examples/network/secureudpclient/secureudpclient.pro22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/network/secureudpclient/secureudpclient.pro b/examples/network/secureudpclient/secureudpclient.pro
new file mode 100644
index 0000000000..44e4200994
--- /dev/null
+++ b/examples/network/secureudpclient/secureudpclient.pro
@@ -0,0 +1,22 @@
+QT += widgets network
+
+TARGET = secureudpclient
+TEMPLATE = app
+
+SOURCES += \
+ main.cpp \
+ association.cpp \
+ mainwindow.cpp \
+ addressdialog.cpp
+
+HEADERS += \
+ association.h \
+ mainwindow.h \
+ addressdialog.h
+
+FORMS += \
+ mainwindow.ui \
+ addressdialog.ui
+
+target.path = $$[QT_INSTALL_EXAMPLES]/network/secureudpclient
+INSTALLS += target