当前位置: 代码迷 >> QT开发 >> Could not parse stylesheet of widget 0x114e320,该如何处理
  详细解决方案

Could not parse stylesheet of widget 0x114e320,该如何处理

热度:628   发布时间:2016-04-25 05:09:53.0
Could not parse stylesheet of widget 0x114e320
如题
  Could not parse stylesheet of widget 0x10f5a40
  Could not parse stylesheet of widget 0xcecf50
  Could not parse stylesheet of widget 0x10b19b8
  Could not parse stylesheet of widget 0x12444c0
  Could not parse stylesheet of widget 0x114e320
  Could not parse stylesheet of widget 0x1150158
代码:
  this->setStyleSheet("font: 9pt;\nborder: 1px;\nborder-image:url(" + upGraph +");");
  this->setStyleSheet("font: "+size+"pt;\nborder: 1px;\nborder-image:url(" + dnGraph +");\ncolor:"+forcolor+"}");
【this指的是QPushButton】

可是我程序是正常运行的 样式什么的也没什么问题 但调试就出现上面的提示错误 是怎么回事....

------解决方案--------------------
没有遇到过……
你没有对widget setStyleSheet吗? 
  相关解决方案