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. Make an iPhone-only application
Forum Updated to NodeBB v4.3 + New Features

Make an iPhone-only application

Scheduled Pinned Locked Moved Mobile and Embedded
iosqt5.4
2 Posts 2 Posters 710 Views 2 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.
  • M Offline
    M Offline
    m_andrej
    wrote on last edited by m_andrej
    #1

    I want to target only iPhone with my Qt Quick app (so it will run on iPad in smaller format). I tried two ways to do this:

    • On the Internet it's suggested that I put the following lines in Info.plist:
      <key>UIDeviceFamily</key>
      <array>
      <integer>1</integer>
      </array>
      This might have worked in earlier versions of Xcode, but Xcode 6 seems to ignore it.

    • I run qmake to generate *.xcodeproj file for my project and opened it in Xcode. This way I'm able to successfully run and deploy my app from Xcode. I can also see its device family setting (Universal by default), but when I try to change it, Xcode crashes.

    Any other ideas?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alexvplay
      wrote on last edited by
      #2

      This should be the right way to go. This might however be a know bug: https://bugreports.qt.io/browse/QTBUG-45966

      You can probably temporarily solve your problem by installing Xcode 6.2 from the Apple member center.

      Alex

      CoFounder of Felgo - https://felgo.com/qt

      Felgo simplifies Mobile App & Game Development with Qt
      What others say: Felgo scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

      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