[PyQt] Static iOS builds for x86_64

Robert Kent rob at gulon.co.uk
Fri May 20 12:50:07 BST 2016


If you look in the resulting Makefile post qmake (even with CONFIG+=iphoneos set) we find:

first: iphonesimulator
install: iphonesimulator-install
uninstall: iphonesimulator-uninstall

Which obviously defaults the build to the simulator. How can I change this default behaviour?

Cheers, Rob



On 20 May 2016 at 12:38:52, Robert Kent (rob at gulon.co.uk) wrote:

For example, with SIP, even if I add CONFIG+=iphoneos to the .pro files, its still defaults to the Makefile.Simulator makefile when I run make:

cd siplib/ && ( test -e Makefile || /Users/rob/Qt5/5.6/ios/bin/qmake /Users/rob/Downloads/sip-4.18/siplib/siplib.pro SYSROOT=/Users/rob/Documents/pydsysroot-ios64-2 CONFIG+=iphoneos -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Simulator

And from then on everything is built against the iphonesimulator SDK and with -arch i386 and -arch x86_64 flags.

How can I force it to ignore the simulator and build for the target? I thought the simulator was optional?

Cheers, Rob



On 20 May 2016 at 12:10:42, Robert Kent (rob at gulon.co.uk) wrote:

For some reason, when I’ve used pyqtdeploy (1.2.1 and the repo version) to build the requisite static packages for iOS, its building them for the iPhone simulator (x86_64), rather than for the target (armv7/arm64).

Is this something wrong with my Qt configuration, is so: how do I change it?

Thanks, Rob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160520/3fd36103/attachment.html>


More information about the PyQt mailing list