Hello

I have buttons that i want to change the icon image file depending on some situations.
I use:
Qt Code:
  1. ui->objectname->setPixmap(QPixmap(":/prefix/alias"));
To copy to clipboard, switch view to plain text mode 
Is the a way to read the resource name into a QString (for instance)?

Thanks