Note the :/ part in url(:/resources/pixmaps/close.png). That's needed for embedded resources.
:/
url(:/resources/pixmaps/close.png)
https://stackoverflow.com/questions/22109342/background-image-in-qt-stylesheet-doesnt-work
posted on 2020-12-18 18:15 liujx2019 阅读(134) 评论(0) 编辑 收藏 举报