[Interest] Xcode 7 beta and Qt 5.5 ?

Robert Iakobashvili coroberti at gmail.com
Sun Sep 20 10:55:00 CEST 2015


Gentlemen,
This is to confirm that QtCreator-3.5.0 works correctly and
do detects the compiler.

Rename <Your-app>.pro.user to force QtCreator make discovery and re-build kits.

Kind regards,
Robert


On Sun, Sep 20, 2015 at 5:01 AM, Liang Jian <jianliang79 at gmail.com> wrote:
>     To Michael R Nelson: I use qt creator 3.5 downloaded from qt.io, the
> qt-iOS version will not be detected automatically, I have to add a qt
> version by selecting qmake file path from the installed armv7 qt-5.5.0 iOS,
> after that the qt version will appear and press 'OK' button the build kit
> will also be created.
>     If that didn't work, please try to run the following command before you
> add the qt version:
>     sudo xcode-select -s <your/xocde/path>
>
>
> On Sat, Sep 19, 2015 at 10:21 PM, Michael R Nelson <mnelson at sutron.com>
> wrote:
>>
>> I have similar issues as Robert, regardless of whether I use Qt Creator
>> that came with Qt 5.5, or install and use Qt Creator 3.5. After new installs
>> of Qt 5.5 and XCode 7 on clean machine, Qt Creator doesn’t create a compiler
>> entry for iOS cross-compiler, does show a Qt Version entry for iOS but with
>> the warning “not all possible target environments can be supported due to
>> missing compilers”, and doesn’t create a Kit entry for iOS.
>>
>>
>>
>> Here’s what I did to get things working enough to build for iOS: I created
>> a new Compiler entry using “/usr/bin/clang++” for compiler path and “-arch
>> armv7” for both flags entries, and then added a Kit entry to use this
>> compiler and the existing iOS Qt Version, setting Sysroot to
>> “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS..sdk”.
>> With this setup in place, I was able to build, but did receive link warnings
>> about targeting iOS 5.1 vs. 5.1.1, apparently at different link stages. I
>> made these go away by opening the XCode project file and setting minimum
>> target to 6.0.
>>
>>
>>
>> Liang Jian: did you also have to follow these or similar steps to
>> configure Qt Creator 3.5, or did it “just work”?
>>
>>
>>
>> If someone believes I’ve missed something or taken an inappropriate detour
>> in my work-around, please let me know. I’m new to making these
>> configurations myself, and appreciate the insight of others.
>>
>>
>>
>> Mike
>>
>>
>>
>> From: interest-bounces+mnelson=sutron.com at qt-project.org
>> [mailto:interest-bounces+mnelson=sutron.com at qt-project.org] On Behalf Of
>> Liang Jian
>> Sent: Saturday, September 19, 2015 8:12 AM
>> To: Robert Iakobashvili <coroberti at gmail.com>
>> Cc: interest at qt-project.org
>> Subject: Re: [Interest] Xcode 7 beta and Qt 5.5 ?
>>
>>
>>
>>     I use qt5.5.0-iOS with qtcreator 3.5, xcode-7.0 without any problem
>>
>>
>>
>> On Fri, Sep 18, 2015 at 10: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
>>
>>
>>
>>
>> ________________________________
>> Please be advised that this email may contain confidential information. If
>> you are not the intended recipient, please notify us by email by replying to
>> the sender and delete this message. The sender disclaims that the content of
>> this email constitutes an offer to enter into, or the acceptance of, any
>> agreement; provided that the foregoing does not invalidate the binding
>> effect of any digital or other electronic reproduction of a manual signature
>> that is included in any attachment.
>
>



More information about the Interest mailing list