0

I just started my first project in Qt and I have problem with setting background for my QWidget. I added my photo to resources of project in qrc file. After that i edited my widget stylesheets and added there:

background-image: url('://resources/assets/subaru.jpg');

Unfortunately, I see my background only in preview editor ui, after compiled background is empty, without image.

demonplus
  • 5,613
  • 12
  • 49
  • 68
Kriss McCone
  • 24
  • 1
  • 10

0 Answers0