If I modify qaxbase.h to make QAxBase::staticMetaObject public, rebuild Qt, and then change the generated QAxContainer/ sipQAxContainerQAxWidget.cpp so that the td_qt data member is initialized to the address of QAxBase::staticMetaObject, then the crash is fixed. However, I get the following warnings at run time from Qt:
Object::connect: No such slot QWidget::GoBack() Object::connect: (sender name: 'actionBack') Object::connect: (receiver name: 'WebBrowser') Object::connect: No such slot QWidget::GoForward() Object::connect: (sender name: 'actionForward') Object::connect: (receiver name: 'WebBrowser') Object::connect: No such slot QWidget::Stop() Object::connect: (sender name: 'actionStop') Object::connect: (receiver name: 'WebBrowser') Object::connect: No such slot QWidget::Refresh() Object::connect: (sender name: 'actionRefresh') Object::connect: (receiver name: 'WebBrowser') Object::connect: No such slot QWidget::GoHome() Object::connect: (sender name: 'actionHome') Object::connect: (receiver name: 'WebBrowser') Object::connect: No such slot QWidget::GoSearch() Object::connect: (sender name: 'actionSearch') Object::connect: (receiver name: 'WebBrowser')That suggests that I am still not quite on the right track. I also tried using the address of QWidget::staticMetaObject, and that gives the same results. It has the benefit of not requiring a modification to the Qt source.
I realize that this is a lot of conjecture on my part. Has anyone seen problems with QAxContainer.QAxWidget? Is there some other way of handling the problem that I described above with the initialization of the sipTypeDef in QAxContainer/sipQxContainerQAxWidget.cpp?
-Patrick -- Patrick L. Hartling Senior Software Engineer, Priority 5 http://www.priority5.com/ The information transmitted in this communication is intended only for the person or entity to which it is addressed and contains proprietary material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer.
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
