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:
parent
02eb9df851
commit
6fee92770d
@ -51,8 +51,6 @@
|
|||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
#include <QTcpSocket>
|
#include <QTcpSocket>
|
||||||
|
|
||||||
#include "server.h"
|
|
||||||
|
|
||||||
int main(int argv, char **args)
|
int main(int argv, char **args)
|
||||||
{
|
{
|
||||||
QCoreApplication app(argv, args);
|
QCoreApplication app(argv, args);
|
||||||
|
7
src/network/doc/snippets/snippets.pro
Normal file
7
src/network/doc/snippets/snippets.pro
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
TEMPLATE = app
|
||||||
|
|
||||||
|
TARGET = network_cppsnippets
|
||||||
|
|
||||||
|
QT += network
|
||||||
|
|
||||||
|
SOURCES += network/tcpwait.cpp
|
Loading…
Reference in New Issue
Block a user