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