echoclient.pro Example File | Qt WebSockets 5.9

Qt 5.9 | Qt WebSockets | Echo Client Example | echoclient.pro Example File

Qt 5.9.3 Reference Documentation

# echoclient.pro Example File

echoclient/echoclient.pro

      QT       += core websockets
      QT       -= gui

      TARGET = echoclient
      CONFIG   += console
      CONFIG   -= app_bundle

      TEMPLATE = app

      SOURCES += \
          main.cpp \
          echoclient.cpp

      HEADERS += \
          echoclient.h

      target.path = $$[QT_INSTALL_EXAMPLES]/websockets/echoclient
      INSTALLS += target