Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt headers in IOS Xcode project. Linking Qt libs.
QtWS25 Last Chance

Qt headers in IOS Xcode project. Linking Qt libs.

Scheduled Pinned Locked Moved Mobile and Embedded
iosmacosxlinkxcodeqt5.4qt5qt5.5
4 Posts 2 Posters 2.7k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    I`ve created project in xcode and added header containing <QtCoreApplication> include. (and there are many others in the project),
    though all goes good for MacOs. My XCode project cannot see qt libs. In macos that problem may be solved by adding QtCore.framework to project. But there no QtCore.framework for ios! And using that from clang_64 folder doesnt helps.

    Help, please!

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

      Hi,

      Qt for iOS is a static build that's why you don't find any frameworks, the clang_64 folder contains the Qt build for OS X the iOS build is in the ios folder

      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
      • SGaistS SGaist

        Hi,

        Qt for iOS is a static build that's why you don't find any frameworks, the clang_64 folder contains the Qt build for OS X the iOS build is in the ios folder

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by A Former User
        #3

        @SGaist Sorry but how to link then to QT libs/use headers from xcode???

        Just linking libqtcore.a lib to project doesn`t help.

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

          I'd generate the Xcode project from a .pro file, that way you have everything setup for you

          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

          • Login

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