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

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