Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我浏览了文档,寻找一种将主窗口的背景更改为我在项目文件中找到的图像的方法。我尝试使用没有运气的调色板。我的问题是,如何以及改变窗口背景的最简单方法是什么?
谢谢你的帮助,扎克·史密斯
您是否尝试过使用 Qt StyleSheet ?
例子 :
QMainWindow{ background-image: url(:/images_section/application_icon); }