I wrote a pyqt5 app that uses QQmlApplicationEngine to load a qml file for the GUI. Now everything runs well on my PC and also on Raspberry Pi4b, but when I am trying to run it on Pi Zero W, it loads the GUI and then partially or fully goes black.
I can use ssh and also checked the task manager to see whether it's throttling the pi or not. But it does not look like an issue. and everything else works.
I am running the official 32-bit pi os.
I get this kind of error on the terminal when running the app. But it also appears on rpi 4.
qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 191, resource id: 0, major code: 140 (Unknown), minor code: 20