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.
Forum Update on Monday, May 27th 2025

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 17 Aug 2015, 13:03 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 17 Aug 2015, 20:55 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 18 Aug 2015, 07:12
      0
      • S SGaist
        17 Aug 2015, 20:55

        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 18 Aug 2015, 07:12 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 18 Aug 2015, 19:51 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

          1/4

          17 Aug 2015, 13:03

          • Login

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