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

bralchenko at ics.com bralchenko at ics.com
Tue Nov 22 21:59:30 CET 2016


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 <http://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

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 **


Any ideas or suggestions will be much appreciated.

Regards,
    Boris Ralchenko.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161122/504f2142/attachment.html>


More information about the Interest mailing list