Can anyone tell me how to assign all stuff in lineEdit to a QStringList variable? Suppose I have xyz typed in a QLineEdit and I want to shift it to QstringList variable, how can i do that E.g
QStringList abc;
How can I take all typed stuff from lineEdit to abc?
You can simply add the value of the QLineEdit to QStringList:
Or create new QStringList with text from QLineEdit: