Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

qstring to const char*

$
0
0
Hello. I’m trying to use QList to send data via serial port. QList<QString> command;   command << "ant.hold.az -60\n"                    << "ant.holding\n"; How should I convert qstring to send data with QIODevice::write(const char * data)? Thanks fot help.

Viewing all articles
Browse latest Browse all 13965

Trending Articles