[Interest] Building Qt from source for iOS - make install fails

bralchenko at ics.com bralchenko at ics.com
Tue Nov 22 22:16:09 CET 2016


Thanks Jake for your response.

5.8 did not work for me either, but I did not capture the exact error, it was related to signing, similar to 5.7.1. 

I have tried to build 5.8 something like 5 days ago, may have changed since. 

 
Regards,
    Boris Ralchenko.





> On Nov 22, 2016, at 4:12 PM, Jake Petroules <Jake.Petroules at qt.io> wrote:
> 
> Responses inline. Did 5.8 work for you? You didn't specify.
> 
>> On Nov 22, 2016, at 12:59 PM, bralchenko at ics.com wrote:
>> 
>> Hi,
>> 
>> I was trying to build Qt from source specifically for iOS, I wanted to check something. The build succeeds, but make install fails on number of version, I tried 5.6.2, 5.7.1 and 5.8. Interesting thing is that errors are different for each one. I tried to build and to install without any changes, just source from qt.io first.
>> 
>> I am building in on MacOS 10.12.1, Xcode 8.1 (8B62). 
>> 
>> There are my config parameters:
>> 
>> ../qt-everywhere-opensource-src-5.7.1/configure -prefix /opt/Qt-5.7-src -sdk iphoneos -xplatform macx-ios-clang -release -nomake examples -nomake tests
>> 
>> They are the same for all my attempt except of directories’ names.
>> 
>> make install error on 5.6.2:
>> 
>> /Users/boris/Projects/ICS/Qt_5-6.2/qt-everywhere-opensource-src-5.6.2/qtconnectivity/src/bluetooth/osx/osxbtledeviceinquiry.mm:207:33: error: cannot initialize a variable of type 'const CBCentralManagerState' with an rvalue of type 'CBManagerState'
>>    const CBCentralManagerState cbState(central.state);
>>                                ^       ~~~~~~~~~~~~~
>> 1 error generated.
>> make[3]: *** [.obj/osxbtledeviceinquiry.o] Error 1
>> make[2]: *** [sub-bluetooth-install_subtargets] Error 2
>> make[1]: *** [sub-src-install_subtargets] Error 2
>> make: *** [module-qtconnectivity-install_subtargets] Error 2
> 
> Fixed by https://codereview.qt-project.org/#/c/172072/ <https://codereview.qt-project.org/#/c/172072/>. Will be in 5.6.3 + 5.7.1 + 5.8.0.
> 
>> 
>> make install error on 5.7.1:
>> 
>> 
>> Check dependencies
>> No profiles for 'com.XXXXXXXX.qtplugininfo' were found: Xcode couldn't find a provisioning profile matching 'com.7071973Canada.qtplugininfo'.
>> Code signing is required for product type 'Application' in SDK 'iOS 10.1'
>> 
>> ** INSTALL FAILED **
> 
> Probably https://bugreports.qt.io/browse/QTBUG-55915? <https://bugreports.qt.io/browse/QTBUG-55915?> The fix is in 5.6.2 and 5.8.0 but won't be in 5.7 until 5.7.2.
> 
>> 
>> 
>> Any ideas or suggestions will be much appreciated.
>> 
>> Regards,
>>    Boris Ralchenko.
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org <mailto:Interest at qt-project.org>
>> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
> 
> -- 
> Jake Petroules - jake.petroules at qt.io <mailto:jake.petroules at qt.io>
> The Qt Company - Silicon Valley
> Qbs build tool evangelist - qbs.io <http://qbs.io/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161122/41fc3998/attachment.html>


More information about the Interest mailing list