chatserver-cpp.pro Example File | Qt WebChannel 5.9

Qt 5.9 | Qt WebChannel | Qt WebChannel ChatServer Example | chatserver-cpp.pro Example File

Qt 5.9.9 Reference Documentation

# chatserver-cpp.pro Example File

chatserver-cpp/chatserver-cpp.pro

      TARGET = chatserver

      TEMPLATE = app

      QT       += core websockets webchannel
      QT       -= gui

      CONFIG   += console

      SOURCES += main.cpp \
          chatserver.cpp \
          ../shared/websocketclientwrapper.cpp \
          ../shared/websockettransport.cpp

      HEADERS += \
          chatserver.h \
          ../shared/websocketclientwrapper.h \
          ../shared/websockettransport.h

      target.path = $$[QT_INSTALL_EXAMPLES]/webchannel/chatserver-cpp
      INSTALLS += target