network-chat.pro Example File | Qt Network 5.6

Qt 5.6 | Qt Network | Network Chat Example | network-chat.pro Example File

Qt 5.6.2 Reference Documentation

# 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