[PyQt] Next Releases
Georg Brandl
g.brandl at gmx.net
Mon Sep 8 18:29:24 BST 2014
On 09/08/2014 07:01 PM, Phil Thompson wrote:
>> diff -u PyQt-x11-gpl-4.10.4/designer/pluginloader.cpp
>> PyQt-x11-gpl-4.11.1/designer/pluginloader.cpp
>> --- PyQt-x11-gpl-4.10.4/designer/pluginloader.cpp 2014-03-14
>> 15:19:06.000000000
>> +0100
>> +++ PyQt-x11-gpl-4.11.1/designer/pluginloader.cpp 2014-07-03
>> 16:00:24.000000000
>> +0200
>> @@ -131,17 +129,7 @@
>>
>> // Make sure the interpreter is loaded and initialised. Leave
>> this as
>> // late as possible.
>> - if (!Py_IsInitialized())
>> - {
>> - QLibrary library(PYTHON_LIB);
>> -
>> - library.setLoadHints(QLibrary::ExportExternalSymbolsHint);
>> -
>> - if (!library.load())
>> - return;
>> -
>> - Py_Initialize();
>> - }
>> + Py_Initialize();
>>
>> // Make sure we have sys.path.
>> if (!sys_path)
>
> The reason why that code was removed was because I couldn't see how it
> was having any affect - if Py_Initialized() could be called then the
> library must already be loaded. However if it fixes your problem then
> I'll revert it. The value of PYTHON_LIB should be
> "/path/to/libpython2.7".
I've just made a new build with the change reverted (with a hardcoded path
in place of PYTHON_LIB) and can confirm that it fixes the issue.
I won't pretend to understand it either...
cheers,
Georg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140908/70a03153/attachment.sig>
More information about the PyQt
mailing list