Qt 5.6 | Qt Network | Blocking Fortune Client Example | blockingfortuneclient.pro Example File

Qt 5.6.2 Reference Documentation

# blockingfortuneclient.pro Example File

blockingfortuneclient/blockingfortuneclient.pro

      QT += network widgets

      HEADERS       = blockingclient.h \
                      fortunethread.h
      SOURCES       = blockingclient.cpp \
                      main.cpp \
                      fortunethread.cpp

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