<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">In <span style="font-family: arial, sans-serif;">mkspecs/macx-ios-clang/default_pre.prf we set CONFIG -= neon for iphone simulator builds. You could try to set it for device build
 builds as well.</span>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">-Richard</font></div>
<div><font face="arial, sans-serif"><br>
</font>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF635459" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>Fra:</b> interest-bounces+richard.gustavsen=digia.com@qt-project.org [interest-bounces+richard.gustavsen=digia.com@qt-project.org] på vegne av Tom Ward [tward@thefoundry.co.uk]<br>
<b>Sendt:</b> 17. august 2014 02:40<br>
<b>Til:</b> interest@qt-project.org<br>
<b>Emne:</b> [Interest] Compiling 5.3.1 on iOS arm64<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr"><span style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px">Hello all,</span>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px">I'm currently trying to re-compile Qt 5.3.1 for iOS to support arm64, but am getting a compiler error that I'm unable to fathom.</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px">To build, I did the following:</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px">- Modified qtbase/mkspecs/macx-ios-clang/qmake.conf to change the deployment target to 7.1 (as I believe arm64 is only available on this version) and the QMAKE_IOS_DEVICE_ARCHS to arm64.</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px">- ran configure with the following arguments:</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
<i>./configure -xplatform macx-ios-clang -release -sdk iphoneos7.1 -no-framework -no-openssl -prefix /tmp/ios7.1-armv64<br>
</i></div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px">- run make</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px">Here's the compiler errors I get:</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px">
<div>image/qimage_neon.cpp:78:17: error: vector register expected</div>
<div>                "vld3.8     { d0, d1, d2 }, [%[SRC]] !\n\t"</div>
<div>                ^</div>
<div><inline asm>:1:15: note: instantiated into assembly here</div>
<div>        vld3.8     { d0, d1, d2 }, [x1] !</div>
<div>                     ^</div>
<div>image/qimage_neon.cpp:78:57: error: unrecognized instruction mnemonic</div>
<div>                "vld3.8     { d0, d1, d2 }, [%[SRC]] !\n\t"</div>
<div>                                                        ^</div>
<div><inline asm>:2:2: note: instantiated into assembly here</div>
<div>        vswp d0, d2</div>
<div>        ^</div>
<div>...</div>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px">I've done a load of googling, and all I can find is a gist that was posted by an apparent qt developer: <a href="https://gist.github.com/torarnv/6582663" target="_blank">https://gist.github.com/torarnv/6582663</a></div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px">Any help would be much appreciated! Am more than happy to help, but my neon-fu isn't good enough to figure this one out!</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px"><br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:13px">Thanks</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>