I have no words about Qt 5.2 and ios.



  • Hi. I have compiled an Android application with Qt 5.2 for ios and now it's working perfectly!
    But now? Which is the package to copy in an ios device? Has it .app extension?



  • Yes it is .app extension.
    It is inside your shadow build folder.



  • Ok. Now I had to upload it into apple store or jalibreak an iphone... Is true?



  • [quote author="mrdebug" date="1387102978"]Hi. I have compiled an Android application with Qt 5.2 for ios and now it's working perfectly!
    But now? Which is the package to copy in an ios device? Has it .app extension?[/quote]

    Hi, mrdebug.

    What do you mean when you say ‘Which is the package to copy in an ios device’? You want to install application to iOS devices or send it to AppStore?

    If you mean first case you can do it very simple. You must connection your device to your Mac and configuring QtCreator to use your device. After that you need rebuilt app and it will be installing to your device which you connect.

    In second case. You need to load your application in Xcode. To do this open build folder where you must find a Xcode project file. Open it in Xcode. Select device in the target menu and then choose Build->Archive. Your application will be rebuild by Xcode and after that you see a dialog. In this dialog click to 'Distribution'. In new dialog you must see three ways to how to create the build. You need only the first two. Now you must select the way how you want to create *.ipa file. You can choose Ad-Hock if you want send your build to your QA team or customers (this build can’t be send to AppStore). If you need to send your build to AppStore you must select ‘Submit to the iOS App Store’. In this case you application will be send to AppStore. For more information you can read documentation using this "link":https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/Introduction/Introduction.html. You need Apple ID with iOS Developer program. Also you need to create a App in you "iTunes Connect":https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/About.html#//apple_ref/doc/uid/TP40011225.



  • Ok, I haven't got an iPhone but I will try in the future.
    Thanks.


  • Lifetime Qt Champion

    Hi,

    Depending on your application, you can use the emulator that comes with Xcode



  • "If you mean first case you can do it very simple. You must connection your device to your Mac and configuring QtCreator to use your device. After that you need rebuilt app and it will be installing to your device which you connect."

    Is it necessary to join the iOS Developer Program for this first case. (I don't have a Mac at the moment, otherwise I guess I could try it.)



  • [quote author="litlington" date="1387319777"]"If you mean first case you can do it very simple. You must connection your device to your Mac and configuring QtCreator to use your device. After that you need rebuilt app and it will be installing to your device which you connect."

    Is it necessary to join the iOS Developer Program for this first case. (I don't have a Mac at the moment, otherwise I guess I could try it.)[/quote]
    To install app to your device you need a special certificate which give you opportunity to install app without AppStore. A few years ago I saw "article":http://www.saurik.com/id/4 where author told how to developing iOS app on the Linux and install it to device. But you need device with jialbrake otherwise you can't do that. As I remember author usage SSH access to iOS device. As you know Apple doesn't give SSH access to devices. Also you need to know about jialbrake for iOS 7.x. As I know the jialbrake for iOS 7.x not ready yet. And I'm not sure the relevance of article.

    If you doesn't have Mac OS you can try to find VMware machine with MacOS or install MacOS to other virtual machine youself.

    But if you need to test your app on real device without jialbrake you need to join to the iOS developer programm.

    Also you try iOS simulator from Xcode to test your app, but be careful when you using simulator. Sometimes apps on the simulator and real device can work differently.



  • Now it's clear, as i have heard in the past.



  • bq. You need to load your application in Xcode. To do this open build folder where you must find a Xcode project file.

    To generate xcode project you should run

    @qmake -spec macx-xcode@

    from terminal.

    This command will generate 'project_name.xcodeproj', which can be opened from Finder or, also, from terminal

    @open project_name.xcodeproj@



  • Thank you Shav. That's the information I was looking for.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.