Raspberry Pi patches for Qt5