The most important thing is that the default behavior for qt in the kernel is the default behavior for pyqt itself, whatever that may be, and that means *not* calling sip.setapi.