IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt WebChannel Standalone Example

A simple chat between a server and a remote client running in a browser.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt WebChannel Standalone Example

 
Sélectionnez
QT += gui webchannel widgets websockets

CONFIG += warn_on

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

HEADERS += \
    core.h \
    dialog.h \
    ../shared/websockettransport.h \
    ../shared/websocketclientwrapper.h

FORMS += \
    dialog.ui

DEFINES += "BUILD_DIR=\"\\\""$$OUT_PWD"\\\"\""

exampleassets.files += \
    index.html
exampleassets.path = $$[QT_INSTALL_EXAMPLES]/webchannel/standalone
include(../exampleassets.pri)

target.path = $$[QT_INSTALL_EXAMPLES]/webchannel/standalone
INSTALLS += target

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+