How to set QIcon::fromTheme() to a label?
-
So label uses <QPixmap> so i am not able to set it like this:
@ui->label->setPixmap(QIcon::fromTheme("folder"));@What can i do?
-
Have you tried "QIcon::pixmap()":http://doc.qt.nokia.com/4.7-snapshot/qicon.html#pixmap yet?