Publishing on the App Store using Qt Creator
-
So:
- I am able to run my app on the iPhone using Qt Creator
- I am unable to run the app on the iPhone using XCode 3.2 (crashes)
How do I publish to the App Store without XCode since the XCode version of my app crashes? Thanks!
-
It crashes here. I don't know why a call to OpenGL is involved:
#0 EAGLContext_renderbufferStorageFromDrawable
#1 QIOSContext::backingFramebufferObjectFor
#2 QIOSContext::makeCurrent
#3 ...
#4 QOpenGLConext::makeCurrent
... -
Are you sure you are using XCode 3.2? It is rather old. Did you installed more then one of version of XCode?
-
I did install XCode 3.4 - beta and it crashes when I try to select the libraries
-
Sorry I meant I have version 6.2. Version 6.4 - beta crashes
-
I am using XCode 6.3. It is fine. And it don't have such problem when I was still using 6.2.
Since Qt Creator is also using XCode to build and upload. It is quite strange.
Could you tell us how you build your code with XCode 6.2?
-
I'm not in front of my computer right now but I run something like:
$ qmake project.pro -specs macx-g++ CONFIG+=release ...Then I launch XCode on that new generated .xcodeprj, add some libraries, build, run on hte iPhone and poof it crashes. I did a clean build, etc.
-
-
Please verify the argument of spec. Is that " -spec macx-ios-clang" ?
-
Why you need to add extra library in XCode? But that is not needed in Qt Creator?
-
-
-
No it's macx-g++
-
The libraries I'm adding are from subdirs in my own project so they're okay.
-
-
-
No it's macx-g++
-
The libraries I'm adding are from subdirs in my own project so they're okay.
@philippeb8 Then you should try " -spec macx-ios-clang" .
-
-
Thanks I will try that tonight
-
Just to mention it, make sure you have the right to publish your app on the app store.
Citation http://www.qt.io/download/ : Community license -> Mobile app distribution through public app stores -> Prohibited by Apple iOS App Store terms and conditions. -
Are you using qml?
I have a similar problem. Please, have a look:
https://bugreports.qt.io/browse/QTBUG-44705 -
Just to mention it, make sure you have the right to publish your app on the app store.
Citation http://www.qt.io/download/ : Community license -> Mobile app distribution through public app stores -> Prohibited by Apple iOS App Store terms and conditions.@kalsan Interesting... thanks
-
Are you using qml?
I have a similar problem. Please, have a look:
https://bugreports.qt.io/browse/QTBUG-44705@mrdebug No I am not using QML but native widgets
-
@philippeb8 Then you should try " -spec macx-ios-clang" .
@benlau When I do that the folder project.xcodeproj is not updated... and my app still crashes. Only after using "-spec macx-g++" it gets updated.
-
@benlau When I do that the folder project.xcodeproj is not updated... and my app still crashes. Only after using "-spec macx-g++" it gets updated.
@philippeb8 Note that my project is recursive and I think the .xcodeproj is generated inside another folder. But I still have the same crash.
-
@philippeb8 Note that my project is recursive and I think the .xcodeproj is generated inside another folder. But I still have the same crash.
@philippeb8 I am going to try to merge all of my subfolders into one giant project
-
@philippeb8 I am going to try to merge all of my subfolders into one giant project
@philippeb8 Nope; I have exactly the same crash. I see that Xcode adds threads and Qt is calling OpenGL routines even if there is no OpenGL module added... I will try to add qDebug() statements