I have a slot in my application backend which requires a QImage or QPixmap.
Now I want to call it from my QML frontend by providing a png from the resource file:
sessionManager.createUser("user", "qrc:///src/sessionManager/qml/Assets/user.png")
But if I set a breakpoint in createUser I can see that the passed image is null.
How is the correct way to do this?