On Sunday 09 January 2005 9:41 pm, James Lamanna wrote: > Ok I see what you mean about SIP needing to know the type. > > Here's exactly what I'm trying to do: > I've compiled Qt for windows under the GPL license using the work from > the kde-cygwin project. > QWidget::create()'s first argument is of type WId. > This is typedefed in qwindowdefs_win.h as a HWND. > I _believe_ HWND is an unsigned long, but if I typedef WId to this, I > get compile errors saying that i either need a c-style cast or > reinterpret cast to convert the unsigned long to a HWND in all of the > sip generated .cpp files. > > I hope this helps you understand the problem better.
I understand the problem perfectly. SIP needs to know the underlying type. Phil _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
