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

Qt 5.9.9 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