Discussion:
QtCreator/iPhone 5
(too old to reply)
Duane
2018-10-10 14:51:49 UTC
Permalink
Qt Creator 4.7.1
Qt 5.11.2 (also 5.10 and 5.9)
MacOS 10.13.6
XCode 10

I can build my app in 5.11.2 and using XCode install it on an iPhone 6s
running ios 11.3. When I target an iPhone 5 running ios 10.3.3 I get
the device listed as "unsupported architecture." I've tried adding
armv7 and armv7s to the architecture as suggested but this doesn't work.

I can change to a kit using 5.10 and adding the architectures lets it
try to build but I get errors for all of the Qt libs missing armv7.

I read that 5.9 should support iPhone 5 but I get build errors trying to
use 5.9.6 but I get a build error "This makespec requires XCode 4.3 or
later....
https://bugreports.qt.io/browse/QTBUG-70592

In general though what is the procedure for creating an app for iPhone 5
and later? I can make a dummy app straight in XCode and it seems to
work on both phones.
Jason H
2018-10-10 15:25:14 UTC
Permalink
That is the right thing to do. I think Qt/QtCreator is not ready for xCode 10. I'm having some other errors with xCode 10 as well.

I hope it all gets sorted out before Qt 5.12 and the next version of QtC is released! So far none of my posts have been replied to, so I'm growing concerned.
Sent: Wednesday, October 10, 2018 at 10:51 AM
Subject: [Qt-creator] QtCreator/iPhone 5
Qt Creator 4.7.1
Qt 5.11.2 (also 5.10 and 5.9)
MacOS 10.13.6
XCode 10
I can build my app in 5.11.2 and using XCode install it on an iPhone 6s
running ios 11.3. When I target an iPhone 5 running ios 10.3.3 I get
the device listed as "unsupported architecture." I've tried adding
armv7 and armv7s to the architecture as suggested but this doesn't work.
I can change to a kit using 5.10 and adding the architectures lets it
try to build but I get errors for all of the Qt libs missing armv7.
I read that 5.9 should support iPhone 5 but I get build errors trying to
use 5.9.6 but I get a build error "This makespec requires XCode 4.3 or
later....
https://bugreports.qt.io/browse/QTBUG-70592
In general though what is the procedure for creating an app for iPhone 5
and later? I can make a dummy app straight in XCode and it seems to
work on both phones.
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
Eike Ziller
2018-10-11 05:11:40 UTC
Permalink
Post by Jason H
That is the right thing to do. I think Qt/QtCreator is not ready for xCode 10. I'm having some other errors with xCode 10 as well.
I hope it all gets sorted out before Qt 5.12 and the next version of QtC is released! So far none of my posts have been replied to, so I'm growing concerned.
Vikas recently checked Qt Creator 4.8 + Qt 5.12 with iOS 12 + Xcode 10, and it worked fine. There don’t seem to be iOS device relevant changes on the Qt Creator side though.
Post by Jason H
Sent: Wednesday, October 10, 2018 at 10:51 AM
Subject: [Qt-creator] QtCreator/iPhone 5
Qt Creator 4.7.1
Qt 5.11.2 (also 5.10 and 5.9)
MacOS 10.13.6
XCode 10
I can build my app in 5.11.2 and using XCode install it on an iPhone 6s
running ios 11.3. When I target an iPhone 5 running ios 10.3.3 I get
the device listed as "unsupported architecture." I've tried adding
armv7 and armv7s to the architecture as suggested but this doesn't work.
I can change to a kit using 5.10 and adding the architectures lets it
try to build but I get errors for all of the Qt libs missing armv7.
Qt 5.10 and later does not support armv7 https://doc.qt.io/archives/qt-5.10/supported-platforms.html
Post by Jason H
I read that 5.9 should support iPhone 5 but I get build errors trying to
use 5.9.6 but I get a build error "This makespec requires XCode 4.3 or
later....
https://bugreports.qt.io/browse/QTBUG-70592
In general though what is the procedure for creating an app for iPhone 5
and later? I can make a dummy app straight in XCode and it seems to
work on both phones.
Sorry, looks like you have to wait for Qt 5.9.7 for that, or build Qt 5.9.7 yourself, or use a machine that has not been upgraded to Xcode 10

Br, Eike
Post by Jason H
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
--
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
***@qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
Loading...