Panda in PyQt

Unfortunately, it didn’t worked. Regaining focus is (for now) a no-no. On Ubuntu everything is working fine from the beginning. Maybe I should post the question at PyQt forum (maybe it isn’t Panda-related). Anyway, thanks for trying. BTW, I’m using your code for a little project of mine (https://discourse.panda3d.org/viewtopic.php?t=5521)