[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] BUG: Header files that do not exist in iOS (PATCH included)
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2015-12-24 23:22:47
Message-ID: 43AA075F-BEC9-4A28-B3A4-1D450902B558 () riverbankcomputing ! com
[Download RAW message or body]
On 24 Dec 2015, at 9:00 pm, David Morris <othalan@othalan.net> wrote:
>
> I am attempting to add the Python "socket" module to my iOS application, however \
> compilation fails because of two missing header files:
> sys/sys_domain.h
> sys/kern_control.h
>
> Included from: socketmodule.h
>
> Build Environment:
>
> Xcode : 7.1
> Python : 3.4.3
> Qt : 5.5.1
> PyQt : 5.5.1
> pyqtdeploy: 1.1
>
> Compile OS: OSX Yosemite (10.10.5)
> Target : ios-64 (iPad mini 4)
> Target OS : 9.1
>
> These header files do not exist in Xcode for the iphoneos platform (though it does \
> exist for OSX and the iPhone Simulator). This can be verified with the following \
> command:
> find /Applications/Xcode.app -name sys_domain.h -o -name kern_control.h
>
> Examining source code for pyqtdeploy, I found the file \
> pyqtdeploy/python/pyconfig.py sets the #define which control these features for \
> each platform. Removing "ios=1" for each header file seems fixes the problem. See \
> the attached patch file.
> I have tested this patch both against the version 1.1 branch and against the latest \
> code in the tip of the mercurial repository.
> Can this patch please be included in the next release of pyqtdeploy?
Done.
Thanks,
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic