problem using qlineedit in qbytearray?
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 provided the answer,
Qt documentation has been helpfull, QLineEdit has method text() which gets the corresponding text from LineEdit,
Link for the answer