network-chat.pro Example File

network-chat/network-chat.pro
HEADERS       = chatdialog.h \
                client.h \
                connection.h \
                peermanager.h \
                server.h
SOURCES       = chatdialog.cpp \
                client.cpp \
                connection.cpp \
                main.cpp \
                peermanager.cpp \
                server.cpp
FORMS         = chatdialog.ui
QT           += network widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/network/network-chat
INSTALLS += target