[SOLVED] How to add an icon to QIcon from resource file
General and Desktop
2
Posts
1
Posters
20.3k
Views
1
Watching
-
wrote on 15 Mar 2012, 06:44 last edited by
I tried adding an icon to QIcon from resource but didn't work; plz help
@ui->actionOpen->setIcon(QIcon("/icons/open_icon.png"));@
-
wrote on 15 Mar 2012, 06:49 last edited by
Syntax error: A colon is missing before the address
@ui->actionOpen->setIcon(QIcon(”:/icons/open_icon.png”));@
1/2