Hello,
I'm trying to convert a QString into a QStringList using the split function, but i don't seem to get what's missing in this simple code :
for (int i = 0; i < stringList.size(); i++){
qDebug(stringList.at(i));
}
QString string = "a,b,c,d";
QStringList stringList= string.split(",",QString::SkipEmptyParts);
for (int i = 0; i < stringList.size(); i++){
qDebug(stringList.at(i));
}
To copy to clipboard, switch view to plain text mode
i get the error : no matching function for call to ‘qDebug(const QString&)’
any one got an idea !!.
K|Z
Bookmarks