Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Build Qt 5.6.0 for iOS on Mac - what build configuration?
Forum Updated to NodeBB v4.3 + New Features

Build Qt 5.6.0 for iOS on Mac - what build configuration?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 1.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    OORolf
    wrote on last edited by
    #1

    Hello,

    I build my iOS application under Xcode using Qt 5.6.0. Now I also want to compile my own (possibly patched) version of Qt 5.6.0 and so I got me the sources from the git repo:

    git clone http://code.qt.io/qt/qt5.git
    perl init-repository --module-subset=default,-qtwebkit,-qtwebkit-examples,-qtwebengine
    git checkout v5.6.0
    

    Next I need to configure/make/make install but I dont know what configure options I have to provide to achieve the same build result as is delivered with Qt 5.6.0 for iOS.

    I tried

    ./configure
    

    without options. But after make and make install there are not the required libs in the install libs directory. I tried

    ./configure -debug-and-release -sdk iphoneos -sdk iphonesimulator -static
    

    but this leads to compile errors.

    What are the right options for configure?

    Thanks,

    Rolf

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Here you can find the configure option you need.

      Note that if you called configure into the sources, you'll have to first clean them before restarting.

      One simpler way to do it is to use out of source builds so that if you want to change something you just nuke the folder and start again.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • O Offline
        O Offline
        OORolf
        wrote on last edited by
        #3

        After several problems I upgraded to Xcode 8.0. Now ./configure runs with the options you showed me.

        But at the end of make i get the following:

        === BUILD TARGET qtplugininfo OF PROJECT qtplugininfo WITH CONFIGURATION Release ===
        
        Check dependencies
        No profiles for 'com.yourcompany.qtplugininfo' were found:  Xcode couldn't find a provisioning profile matching 'com.yourcompany.qtplugininfo'.
        Code signing is required for product type 'Application' in SDK 'iOS 10.0'
        

        This seems to be more a "building your stuff for ios devices" than an Qt issue but I didn't get passed that yet.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Xcode 8.0 has brought in some new funkiness. If possible you should migrate to 5.6.2 which should address parts of it.

          Otherwise, open Xcode and check your settings, you may have to sync again your developer account stuff.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved