<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">If you look in the resulting Makefile post qmake (even with CONFIG+=iphoneos set) we find:</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="color: rgb(0, 0, 0); margin: 0px;"><div id="bloop_customfont" style="margin: 0px;"><font face="Consolas">first: iphonesimulator</font></div><div id="bloop_customfont" style="margin: 0px;"><font face="Consolas">install: iphonesimulator-install</font></div><div id="bloop_customfont" style="margin: 0px;"><font face="Consolas">uninstall: iphonesimulator-uninstall</font></div></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Which obviously defaults the build to the simulator. How can I change this default behaviour?</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Cheers, Rob</div> <br> <div id="bloop_sign_1463744870635462912" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px"><br></div></div> <br><p class="airmail_on">On 20 May 2016 at 12:38:52, Robert Kent (<a href="mailto:rob@gulon.co.uk">rob@gulon.co.uk</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div></div><div>
<title></title>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
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:</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br></div>
<div id="bloop_customfont" style="color: rgb(0, 0, 0); margin: 0px;">
<p style="margin: 0px;"><!--StartFragment--><font face="Consolas">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</font></p>
<p style="margin: 0px;"><font face="Consolas">/Applications/Xcode.app/Contents/Developer/usr/bin/make
-f Makefile.Simulator</font><!--EndFragment--></p>
<p style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">
<br></p>
<p style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">And
from then on everything is built against the iphonesimulator SDK
and with -arch i386 and -arch x86_64 flags.</p>
<p style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">
<br></p>
<p style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">How
can I force it to ignore the simulator and build for the target? I
thought the simulator was optional?</p>
<p style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">
<br></p>
<p style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">
Cheers, Rob</p>
</div>
<br>
<div id="bloop_sign_1463744072421395968" class="bloop_sign">
<div style="font-family:helvetica,arial;font-size:13px">
<br></div>
</div>
<br>
<p class="airmail_on">On 20 May 2016 at 12:10:42, Robert Kent
(<a href="mailto:rob@gulon.co.uk">rob@gulon.co.uk</a>) wrote:</p>
<blockquote type="cite" class="clean_bq">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<span>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).</span></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<span><br></span></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<span>Is this something wrong with my Qt configuration, is so: how
do I change it?</span></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<span><br></span></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<span>Thanks, Rob</span></div>
<div id="bloop_sign_1463742349427881984" class="bloop_sign">
<div style="font-family:helvetica,arial;font-size:13px">
<span><br></span></div>
</div>
</div>
</div>
</blockquote>
</div></div></span></blockquote></body></html>