[Interest] Xcode 7 beta and Qt 5.5 ?
Federico Buti
bacarozzo at gmail.com
Thu Oct 8 02:50:18 CEST 2015
Thanks.
While I've solved the SDK issues with the desktop kit I had troubles with
making the mobile one working.
Following these steps easily solved my issue.
Thanks again.
F.
---
Federico Buti
On 20 September 2015 at 10:11, Robert Iakobashvili <coroberti at gmail.com>
wrote:
> Hi Ed,
> Since it works for me at Qt-5.4.2,
> please find more details:
>
> 1. Go Preferences->Build&Run -> Compilers
> 2. Select Add;
> 3. In the form fill the following:
>
> Name: iphoneos-clang
> Compiler path:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
> Platform codegen flags: -arch armv7
> Platform linker flags: -arch armv7
>
> After setting "-arch armv7" flags, the correct arm ABI is selected
> automatically,
> and you do not need there nothing manually (it's set to 32-bit, that's OK).
>
> 4. Go Preferences->Build&Run -> Kits
>
> Name - add the appropriate and clear for you name
> Device type - select iOS Device
> Sysroot -
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
>
> Compiler: select iphoneos-clang that you added;
> Debugger: select some lldb, i.e. from
> /Applications/Xcode.app/Contents/Developer/usr/bin/lldb
> Qt - select the qt-version compiled for iOS arm
>
> Mike Nelson has tested basically the same I think,
> but I hope that the above step-by-step could save some your time.
>
> Take care.
>
> Regards,
> Robert
>
>
> On Fri, Sep 18, 2015 at 5:54 PM, Robert Iakobashvili
> <coroberti at gmail.com> wrote:
> > On Fri, Sep 18, 2015 at 5:42 PM, Robert Iakobashvili
> > <coroberti at gmail.com> wrote:
> >> On Fri, Sep 18, 2015 at 6:00 AM, Edward Sutton
> >> <edward.sutton at subsite.com> wrote:
> >>> For those of you developing for Qt 5.5 and iOS, you may want to hold
> off on
> >>> Xcode 7 for now.
> >>>
> >>> Installing the released Xcode 7 on top of Xcode 6.4 + Qt 5.5 OS
> >>> X-Android-iOS Enterprise succeeded in building my app Android and OS X
> >>> targets. So far, so good.
> >>>
> >>> However my iOS kits disappeared from Qt Creator 3.4.2 after installing
> Xcode
> >>> 7. I did not know how to repair. I tried uninstalling Qt 5.5 and
> >>> reinstalling. The installer restored the iOS kit to Qt Creator.
> However
> >>> builds resulted in many errors about "std::" namespace.
> >>>
> >>> Fortunately I have an OS X build slave VM with Xcode 6.4 and Qt 5.5
> that I
> >>> hope to use as an example to get Xcode 7 and Qt 5.5 building targets
> for iOS
> >>> again.
> >>>
> >>> -Ed
> >>>
> >>
> >> Hi Ed,
> >> Thanks for the info.
> >>
> >> It appears that QtCreator-3.4.2 fails to detect the arm cross-compiler
> >> in the tool-chain.
> >>
> >> When adding it manually in Preferences->Build&Run -> Compilers, it
> >> does not offer any arm-abi to configure.
> >>
> >> It could be that newer QtCreator could be helpful.
> >>
> >> Regards,
> >> Robert
> >
> > Correction. After adding flags -arch armv7 to the both flag fields,
> > arm7 ABI appears correctly.
> >
> > Just now I need to quit; I will update you on Sunday whether
> > manual addition of compiler in QCreator-3.4.2 rectifies the issue with
> Xcode-7.
> >
> > Have a nice weekend.
> >
> > Regards,
> > Robert
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151008/270921d7/attachment.html>
More information about the Interest
mailing list