On Fri, 7 Jun 2013 23:44:17 +0200, Johan Thelin <johan.the...@pelagicore.com> wrote: > Hi, > > I've been experimenting with using PyQt and SIP from a Python > interpreter embedded into a larger C++ application. I do this on Linux > (Kubuntu 13.04), Qt 5 and PyQt/SIP from last Wednesday (June 5th). > This gives me an unresolved symbol, _Py_NoneStruct, when importing > PyQt5.QtCore. However, adding -lpython2.7 to sip and QtCore, it works. > I guess the import statement does a dlopen, and it fails to resolve > the symbols, despite them being linked into my host application for > some odd reason. > > So, to the point. Am I doing something wrong here? Should things just > work? I've tried the -Wl,-E and -rdynamic, which was what Google > indicated could help. Alas, no luck with them.
You could look at how the Designer plugin is built as that is doing something similar. > If I'm not doing something wrong, do you want my patches to SIP and PyQt5? Always happy to consider patches. Phil _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt