Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
@FarukErat said in I cannot set QPixmap without passing the whole directory:
I wanna shorten tha path to ":/res/black.bmp".
Then you need to put them into a resource file: https://doc.qt.io/qt-5/resources.html