##// END OF EJS Templates
moved setupSharedLibrarySuffixes() to a place where PythonQt::self() is initialized...
florianlink -
r194:8882cfa60c6b
parent child
Show More
@@ -71,6 +71,8 void PythonQt::init(int flags, const QByteArray& pythonQtModuleName)
71 {
71 {
72 if (!_self) {
72 if (!_self) {
73 _self = new PythonQt(flags, pythonQtModuleName);
73 _self = new PythonQt(flags, pythonQtModuleName);
74
75 PythonQt::priv()->setupSharedLibrarySuffixes();
74
76
75 PythonQtMethodInfo::addParameterTypeAlias("QObjectList", "QList<QObject*>");
77 PythonQtMethodInfo::addParameterTypeAlias("QObjectList", "QList<QObject*>");
76 qRegisterMetaType<QList<QObject*> >("QList<void*>");
78 qRegisterMetaType<QList<QObject*> >("QList<void*>");
@@ -212,8 +214,6 PythonQt::PythonQt(int flags, const QByteArray& pythonQtModuleName)
212
214
213 initPythonQtModule(flags & RedirectStdOut, pythonQtModuleName);
215 initPythonQtModule(flags & RedirectStdOut, pythonQtModuleName);
214
216
215 _p->setupSharedLibrarySuffixes();
216
217 }
217 }
218
218
219 PythonQt::~PythonQt() {
219 PythonQt::~PythonQt() {
General Comments 0
You need to be logged in to leave comments. Login now