Qt 5.6 | Qt Network | Threaded Fortune Server Example | threadedfortuneserver.pro Example File

Qt 5.6.2 Reference Documentation

# threadedfortuneserver.pro Example File

threadedfortuneserver/threadedfortuneserver.pro

      QT += network widgets

      HEADERS       = dialog.h \
                      fortuneserver.h \
                      fortunethread.h
      SOURCES       = dialog.cpp \
                      fortuneserver.cpp \
                      fortunethread.cpp \
                      main.cpp

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/network/threadedfortuneserver
      INSTALLS += target