Doc: Make snippets Qt Network compilable

Task-number: QTBUG-81489
Change-Id: I43446c7dafe60bc735fe463f359467b889952082
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Nico Vertriest 2020-01-28 15:17:38 +01:00
parent 02eb9df851
commit 6fee92770d
2 changed files with 7 additions and 2 deletions

View File

@ -51,8 +51,6 @@
#include <QtGui>
#include <QTcpSocket>
#include "server.h"
int main(int argv, char **args)
{
QCoreApplication app(argv, args);

View File

@ -0,0 +1,7 @@
TEMPLATE = app
TARGET = network_cppsnippets
QT += network
SOURCES += network/tcpwait.cpp