dear all,
i have some problem, which is described by code below :
Qt Code:
void lists::removeList() { //this->ui->ListPic->clear(); }To copy to clipboard, switch view to plain text mode
ListPic is a QListWidget, and the function selectedItems() suppose to return a QList<QListWidgetItem*>. The problem is i want to use QList<QListWidgetItem*> as a QStringList.
the error give statement like this
conversion from 'QList<QListWidgetItem*>' to non-scalar type 'QStringList' requested.
how i can solve this problem?
Bookmarks