echoclient.pro Example File | Qt WebSockets 5.6

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

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