I wanted to back to my problem:
background-image: url(':/resources/assets/subaru.jpg');
It doesn't work. The background is just colored. When I add for example this .jpg resource as icon in PushButton it works welll. Doesn't want add as background, why? Can I set is as background in different way? I try
Q_ASSERT(QFileInfo( ":/resources/assets/subaru.jpg" ).exists() );
and program see this resource.