simplechat.pro Example File | Qt WebSockets 5.9

Qt 5.9 | Qt WebSockets | Simple Chat Example | simplechat.pro Example File

Qt 5.9.2 Reference Documentation

# simplechat.pro Example File

simplechat/simplechat.pro

      QT       += core websockets
      QT       -= gui

      TARGET = chatserver
      CONFIG   += console
      CONFIG   -= app_bundle

      TEMPLATE = app

      SOURCES += \
          main.cpp \
          chatserver.cpp

      HEADERS += \
          chatserver.h

      EXAMPLE_FILES += chatclient.html

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