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

Blocking Slave Example

Shows how to use the synchronous API of QSerialPort in a non-GUI thread.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Blocking Slave Example

 
Sélectionnez
QT += widgets serialport
requires(qtConfig(combobox))

TARGET = blockingslave
TEMPLATE = app

HEADERS += \
    dialog.h \
    slavethread.h

SOURCES += \
    main.cpp \
    dialog.cpp \
    slavethread.cpp

target.path = $$[QT_INSTALL_EXAMPLES]/serialport/blockingslave
INSTALLS += target

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