I have a QList list. I want to insert it on the database. I didn’t find any serializer method after some googling. If there any method / idea to serialize the list data for database?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How about using
QStringListinstead ofQList<QString>–Probably
QList<QString>should also work in place ofQStringList. If it doesn’t, well, you can convert it pretty easily toQStringList.QDataStream, QBuffer,
QByteArray and QStringList reference.