Unsolved 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?
SGaist Lifetime Qt Champion last edited by
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