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. Issue deploying IOS app on Qt 6.4 and Iphone 13
Qt 6.11 is out! See what's new in the release blog

Issue deploying IOS app on Qt 6.4 and Iphone 13

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 421 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.
  • T Offline
    T Offline
    TheCrowKaka
    wrote on last edited by
    #1

    Hello

    I have the following development environment.
    XCode 14.0.1, Qt 5.15.2 and Qt 6.4 both are installed.
    Testing on physical Iphone 13 9th Generation device running IOS15.7.

    I have an application that is deployed on App store. Due to a bug listed in this Qt bug tracker,
    https://bugreports.qt.io/browse/QTBUG-98651
    the application started hanging on all new Iphone 12 + devices. Hence based on the suggestions on this link, decided to upgrade Qt to 6.4.

    When I tested with a simple application, the bug looks to be resolved with Qt6.4.

    Current status on Qt15.5.2 : The application is deployed on the device and works except for the bug. Other than the bug, all things work properly.

    Current status on Qt6.4 : After making the necessary changes from Qt5 to Qt6 the application builds however at deployment I get this error,

    "Error: You are creating QApplication before calling UIApplicationMain.
    If you are writing a native iOS application, and only want to use Qt for
    parts of the application, a good place to create QApplication is from within
    'applicationDidFinishLaunching'
    inside your UIApplication delegate."

    I have been trying to find a solution to this but I could not find any that is related to qmake. One solution on this forum for this problem seems to be with Cmake which I do not use for the application.

    Any suggestions on what could be wrong in this migration?

    A Qt Enthusiastic...

    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