How can I load an image to QPixmap without specifying the full path?

前端 未结 0 1056
遇见更好的自我
遇见更好的自我 2020-12-11 00:54

I\'m using Qt Creator on Windows and trying to add an image to an icon.

The only way I can get it to work is by specifying the full path:

QPixmap newIc         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题