Warning: include(/home/bluesummergbflju3ewsauimlm6e6r/wwwroot/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home/bluesummerebalqugewsjuvmzm2eur/wwwroot/wp-content/plugins/wp-super-cache/wp-cache.php on line 99 Warning: include(): Failed opening '/home/bluesummergbflju3ewsauimlm6e6r/wwwroot/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='.:') in /home/bluesummerebalqugewsjuvmzm2eur/wwwroot/wp-content/plugins/wp-super-cache/wp-cache.php on line 99 Warning: include_once(/home/bluesummergbflju3ewsauimlm6e6r/wwwroot/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /home/bluesummerebalqugewsjuvmzm2eur/wwwroot/wp-content/plugins/wp-super-cache/wp-cache.php on line 122 Warning: include_once(): Failed opening '/home/bluesummergbflju3ewsauimlm6e6r/wwwroot/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='.:') in /home/bluesummerebalqugewsjuvmzm2eur/wwwroot/wp-content/plugins/wp-super-cache/wp-cache.php on line 122 Qt:无效样式表 – 追光者博客

Qt:无效样式表

新建的 Qt Widgets Application 项目,要给界面设置个背景图片。修改窗体的 styleSheet 属性的时候,出现了错误:无效的样式表

网上有人给出答案是在 url 前面加 “background:”,试了一下果然可以。

探索了一下,其实正确的操作是添加资源的时候,点击那个向下的小三角,会出来选项,选择想要的类型,就可以了。不必手动添加。

发表评论

Powered by WordPress | Theme Revised from Doo

苏ICP备18047621号

Copyright © 2017-2024 追光者博客