C++ QString to QByteArray Conversion
-
-
@RuWex said in C++ QString to QByteArray Conversion:
what wrond did I do?
How should we know?
You asked a question and got a link to a method which does what you asked - did you read it? -
@RuWex said in C++ QString to QByteArray Conversion:
what wrond did I do?
How should we know?
You asked a question and got a link to a method which does what you asked - did you read it?@jsulm
yes but @J-Hilk give me link :
Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conductQt Needs YOUR vote: https://bugreports.qt.io/browse/QTQAINFRA-4121
why:( -
@jsulm
yes but @J-Hilk give me link :
Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conductQt Needs YOUR vote: https://bugreports.qt.io/browse/QTQAINFRA-4121
why:(@RuWex said in C++ QString to QByteArray Conversion:
but @J-Hilk give me link
He did not. This link is part of his signature...
-
@RuWex said in C++ QString to QByteArray Conversion:
what wrong?
Your code.
toLating1() is not a static method... -
@RuWex said in C++ QString to QByteArray Conversion:
I tried it before but its not work too:(
It would be really nice if you would post the error you get instead of simply saying that it did not work...
-
a little question...
I did it:QString letter= (QString)line[i]; mainwind->WriteSerial(letter.toLatin1());there is better way to do it?