[PyQt] pyqtdeployed app works on osx, crashes iOS and android
Ilya Kulakov
kulakov.ilya at gmail.com
Fri Jan 2 07:14:15 GMT 2015
See http://www.riverbankcomputing.com/pipermail/pyqt/2014-December/035178.html
> On 2 янв. 2015 г., at 13:12, Ilya Kulakov <kulakov.ilya at gmail.com> wrote:
>
> Hi,
>
> 1. Path should be ‘../PlugIns/%1’, not 'PlugIns/%1’. I posted a patch to this list but cannot find in in archives for some reason. See my fork at https://github.com/GreatFruitAndy/pyqtdeploy
> 2. You need to figure out why em_name is NULL
>
>> On 2 янв. 2015 г., at 7:47, lloyd konneker <bootch at nc.rr.com> wrote:
>>
>> I am using PyQt, SIP, and pyqtdeploy (the latest releases, maybe a snapshot of pyqtdeploy.) Host is OSX. The same .pdy works for target OSX but crashes on iOS and seemingly the same crash on Android.
>>
>> The exception: EXC_BAD_ACCESS(code=1, address=0x0)
>>
>> The stack trace:
>>
>> #0 0x011d1e32 in QSharedDataPointer<QDirPrivate>::constData() const at /work/build/qt5_workdir/w/s/qtbase/src/corelib/../../include/QtCore/../../src/corelib/tools/qshareddata.h:74
>> #1 0x011cd4ea in QDir::filePath(QString const&) const at /work/build/qt5_workdir/w/s/qtbase/src/corelib/io/qdir.cpp:683
>> #2 0x0003234c in find_module(_qrcimporter*, QString const&, QString&, QString&) at /Users/bootch/pensoolpyqtdeploy/build/pdytools_module.cpp:571
>> #3 0x0003142e in qrcimporter_find_loader(_object*, _object*) at /Users/bootch/pensoolpyqtdeploy/build/pdytools_module.cpp:271
>>
>> This is line 571 in pdytool_module.cpp:
>>
>> // The PlugIns directory is the prefered location for dynamic modules.
>> filename = exec_dir.filePath(QString("PlugIns/%1").arg(em_name));
>>
>> I am not proficient with the Xcode debugger, but it seems like the actual parameter for formal parameter fqmn of find_module() is NULL (or at least its d(Data*) component is?) but shouldn’t be (its an IN parameter?)
>>
>> I’ve just started reading the code, debugging. I might harness the code to print module names as they are imported?
>>
>> Qt5.4
>> Python3.4.2
>> OSX 10.9.5
>> Xcode6.1.1
>> a real iPad device with iOS 7
>> _______________________________________________
>> PyQt mailing list PyQt at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
More information about the PyQt
mailing list