echoserver.pro Example File | Qt WebSockets 5.9

Qt 5.9 | Qt WebSockets | Echo Server Example | echoserver.pro Example File

Qt 5.9.2 Reference Documentation

# echoserver.pro Example File

echoserver/echoserver.pro

      QT       += core websockets
      QT       -= gui

      TARGET = echoserver
      CONFIG   += console
      CONFIG   -= app_bundle

      TEMPLATE = app

      SOURCES += \
          main.cpp \
          echoserver.cpp

      HEADERS += \
          echoserver.h

      EXAMPLE_FILES += echoclient.html

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