Import:
https://doc.qt.io/qt-6/resources.html#build-system-integration
use:
source: "qrc:/images/close2x.png"