<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Issue deploying IOS app on Qt 6.4 and Iphone 13]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">I have the following development environment.<br />
XCode 14.0.1, Qt 5.15.2 and Qt 6.4 both are installed.<br />
Testing on physical Iphone 13 9th Generation device running IOS15.7.</p>
<p dir="auto">I have an application that is deployed on App store. Due to a bug listed in this Qt bug tracker,<br />
<a href="https://bugreports.qt.io/browse/QTBUG-98651" target="_blank" rel="noopener noreferrer nofollow ugc">https://bugreports.qt.io/browse/QTBUG-98651</a><br />
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.</p>
<p dir="auto">When I tested with a simple application, the bug looks to be resolved with Qt6.4.</p>
<p dir="auto">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.</p>
<p dir="auto">Current status on Qt6.4 : After making the necessary changes from Qt5 to Qt6 the application builds however at deployment I get this error,</p>
<p dir="auto">"Error: You are creating QApplication before calling UIApplicationMain.<br />
If you are writing a native iOS application, and only want to use Qt for<br />
parts of the application, a good place to create QApplication is from within<br />
'applicationDidFinishLaunching'<br />
inside your UIApplication delegate."</p>
<p dir="auto">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.</p>
<p dir="auto">Any suggestions on what could be wrong in this migration?</p>
]]></description><link>https://forum.qt.io/topic/140288/issue-deploying-ios-app-on-qt-6-4-and-iphone-13</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 12:46:52 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/140288.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Oct 2022 20:30:29 GMT</pubDate><ttl>60</ttl></channel></rss>