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. Is there a way to compile a Qt iOS project with xCode?
Forum Updated to NodeBB v4.3 + New Features

Is there a way to compile a Qt iOS project with xCode?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 470 Views 1 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on 3 Jan 2022, 09:12 last edited by
    #1

    Is there a way to compile a Qt iOS project with xCode? Do we have a chance to build the project with xcode and upload it to ios devices?

    J 1 Reply Last reply 3 Jan 2022, 09:22
    1
    • ? A Former User
      3 Jan 2022, 09:12

      Is there a way to compile a Qt iOS project with xCode? Do we have a chance to build the project with xcode and upload it to ios devices?

      J Offline
      J Offline
      J.Hilk
      Moderators
      wrote on 3 Jan 2022, 09:22 last edited by
      #2

      @NullByte sure, no problem at all.

      in fact, the automated build process in QtCreator will create a default Xcode project and will that compile that via the Xcode command line tools.

      the minimum requirements for this is, IIRC

      • running qmake
      • running moc

      qmake should generate the Xcode project file and moc should generate all the temporary auto generated files qt needs.

      Then you can simply open the Xcode project in Xcode.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      2
      • K Offline
        K Offline
        KH-219Design
        wrote on 4 Jan 2022, 18:01 last edited by
        #3

        In case anyone also is curious whether you can achieve an unattended continuous integration build of a Qt iOS project, here is how I got that to work in GitHub CI actions: https://github.com/219-design/qt-qml-project-template-with-ci/pull/34

        I set it up in 2020, but as of today (Jan 2022) this CI job is still running. (The project uses Qt5, not 6)

        www.219design.com
        Software | Electrical | Mechanical | Product Design

        1 Reply Last reply
        0

        3/3

        4 Jan 2022, 18:01

        • Login

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