In my PyQt4 application I created a Panda3D window, next to the Qt window: code and screenshot.
My problem is that this code runs fine under Gentoo Linux (using Panda3D-1.5.2), but the Panda3D window doesn’t appear under Microsoft Windows (using Panda3D-1.6.2) on the same computer.
The full output:
The full installation instructions can be found here.
That’s a perfectly normal output. My guess is that Panda thinks it’s creating a window and parenting it normally; perhaps there is some Qt-specific reason that the window remains hidden under Qt/Win.
You could confirm that base.win exists and that base.win.getProperties() shows the parent window ID. You could also run PStats to see if it appears to be spending time rendering.
But so far, I don’t know what the problem could be.
Hmm, interesting. Same behavior on Windows and on Linux? That’s particularly strange, since the window creation code is completely different in both cases.
No, sorry. I haven’t had a chance to install PyQt4 yet and investigate. If anyone else has the time to look more deeply into it, we’d all certainly appreciate the contribution.
My problem is a bit different. There is no warning on my desktop(winXp) but there is a warning on my laptop(win7) and some gui objects(mostly geometry of gui objects) are also not loaded.