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.