Qt 5.11 | Qt Network | Fortune Client Example | fortuneclient.pro Example File

Qt 5.11.3 Reference Documentation

# fortuneclient.pro Example File

fortuneclient/fortuneclient.pro

      QT += network widgets
      requires(qtConfig(combobox))

      HEADERS       = client.h
      SOURCES       = client.cpp \
                      main.cpp

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