Home > Back-end >  Qt widgets after ascension cannot display the background image
Qt widgets after ascension cannot display the background image

Time:10-26

In the designer, I began to ascend the widget, and then run cannot display the background image, no ascension, still can normal display images, I watched as the header file, the code is loaded inside my pictures, such as:
ClockWgt - & gt; SetStyleSheet (QStringLiteral (" background - image: url (/nineCells/image/clock. PNG);" ));
But is shown not to come out at run time, what's the problem
  • Related