Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
problem using qlineedit in qbytearray?
RIVOPICO last edited by
I have a qbytearray like this:
And i want in my qbyte array put the text of my qlineedit
i tried with:
example = ui->lineedit->toLatin1().
but didnt work. some idea how to do it?
Pradeep Kumar last edited by
@SGaist provided the answer,
Qt documentation has been helpfull, QLineEdit has method text() which gets the corresponding text from LineEdit,
Link for the answer