Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. I need help with Qt 5.2-beta1 and iOS deploy to device
Forum Updated to NodeBB v4.3 + New Features

I need help with Qt 5.2-beta1 and iOS deploy to device

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 2 Posters 2.1k 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.
  • shavS Offline
    shavS Offline
    shav
    wrote on last edited by
    #1

    Hi everyone!

    Today I tried to use Qt for iOS. I created the application with iOS template using QtCreator project wizard but when I try to build the project to my device I receiving this error:
    @20:37:54: TransferAppSession(93166a8c564bbfb5751de77ba9fb0b5f84b867c1, /Volumes/Documents/MyWork/PROJECTS/QtProjects/Local/build-test_ios-iphoneos_clang_Qt_5_2_0_ios_armv7-Debug/Debug-iphoneos/test_ios.app)startService on device 93166a8c564bbfb5751de77ba9fb0b5f84b867c1 failed, AMDeviceStartService returned -402653057

    Error while building/deploying project test_ios (kit: iphoneos-clang Qt 5.2.0 (ios_armv7))
    When executing step 'Deploy to Andrew's iPhone 5S'@

    On my device the developing mode is enabled because I use it for build iOS application from Xcode. I have all certificates and provision for developing project. What I do wrong?

    Also in my QtCreator the simulator version of Qt in Kit section is red. I can't understand why, because all compilers and paths looks good.

    Thanks for the any help!

    Mac OS and iOS Developer

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      I didn't test Qt Creator yet, but in between you can use Xcode to deploy
      your application. Simply use the macx-xcode mkspec when calling qmake and open that project

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • shavS Offline
        shavS Offline
        shav
        wrote on last edited by
        #3

        [quote author="SGaist" date="1383772070"]Hi,

        I didn't test Qt Creator yet, but in between you can use Xcode to deploy
        your application. Simply use the macx-xcode mkspec when calling qmake and open that project

        Hope it helps[/quote]

        Thanks for the answer. Yes It's works! But I found a issues with it :) You need set default interface orientation to the application. Because when you run it the application will crashed. This can be fix very simple, if you know how to set interface orientations to the application :).

        If I remember correctly, this bug was in the first variant of iOS integration with convertation to xcode project. Maybe I need to create some story in bugtracker?

        Mac OS and iOS Developer

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          If you found a way to repeatedly make this crash happen, sure, do it. Provide a minimal compilable example and the steps to reproduce it (also if you need to modify Xcode parameters)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • shavS Offline
            shavS Offline
            shav
            wrote on last edited by
            #5

            [quote author="SGaist" date="1383777416"]If you found a way to repeatedly make this crash happen, sure, do it. Provide a minimal compilable example and the steps to reproduce it (also if you need to modify Xcode parameters)[/quote]

            I posted a "bug":https://bugreports.qt-project.org/browse/QTBUG-34648 to jira. But is happens only for QtQuick projects (I created a QtQuick 2 project). When I try to build Widget project all works fine. But for 4-inch devices you needs to create a special file 'Default-568h@2x.png' with size 640x1136. It's needs to use full screen size but this is a small issue :)

            Mac OS and iOS Developer

            1 Reply Last reply
            0

            • Login

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