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. [Solved]Rebuild libqios.a on Mac

[Solved]Rebuild libqios.a on Mac

Scheduled Pinned Locked Moved Installation and Deployment
ios
6 Posts 2 Posters 1.1k Views
  • 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.
  • patrikdP Offline
    patrikdP Offline
    patrikd
    wrote on last edited by patrikd
    #1

    Hi all,
    I want to rebuild the libqios.a on ios/mac because of a bug in qiosinputcontext. The sourcefile is in the qtbase/src/plugins/platfroms/ios folder. So I made "configure -release -commercial" within the qtbase folder but the libqios.a is not build. No error, several new libs but not the one I wanted.
    Do I have to configure something special for this?
    thx,
    patrik

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Please see the documentation: link

      basically, you need to add -xplatform macx-ios-clang to your configure. Please remember to clean up the previous build first.

      (Z(:^

      1 Reply Last reply
      0
      • patrikdP Offline
        patrikdP Offline
        patrikd
        wrote on last edited by
        #3

        hi sierdzio,
        thx, but when I add this to my configure I get directly after the accept license the error:
        sed: RE error: illegal byte sequence
        Could not determine the target architecure!

        I made make clean and using XCode 6.1.1. My Sources are the latest which come with the
        maintanance tool.
        Any ideas?
        best,
        patrik

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          You should not use Qt sources from there to build Qt. They are provided for Qt Creator's source inspection functionality. Please download Qt code from git or pick the tarball from qt.io downloads page.

          (Z(:^

          1 Reply Last reply
          0
          • patrikdP Offline
            patrikdP Offline
            patrikd
            wrote on last edited by
            #5

            hi sierdzio,
            thx. configure works with new plain source.
            patrik

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              You are welcome, happy coding

              (Z(:^

              1 Reply Last reply
              0

              • Login

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