QtCreator - cannot add build kit
-
Thank you for your input fawzi.
It confuses me though, what do you mean by "the creator iOS SDK"?I do see an iOS item in the preferences, it only has one checkbox "Ask about devices not in developer mode", which doesn't change my problem.
In Plugins i see "Ios" under Device Support, with a checked checkbox and green checkmark in front ...
Anyway, i downloaded Qt Creator 3.1, the problem remains exactly the same.
-
Sorry I cannot reproduce your issue.
You might want to zip your preferences (~/.config/QtProject/qtcreator for the global ones, and *.pro.user for the project specific ones) and remove them to see if they are somehow corrupted (if that is the case please upload a copy of them so we can try to reproduce the problem)In theory it should work like this:
-
In Preferences>Build&Run>Qt versions you should have one or more Qt versions that are detected as "Qt 5.X.X for iOS" (when selecting them).
-
You can remove and manually add as many Qt as you want (just select the qmake of the correct Qt
-
after you apply the changes (or after closing) for each of these iOS Qt two kits should be generated iphone-* and iphonesimulator-* to build for a device or for the simulator.
These devices should be ready to work, but you might clone them and change all parameters as you wish, or create a kit from scratch and set the correct Qt and device, sysroot,...
Once the kits are set up you should be able to use them.
(they should be 'black' in build & run).
I hope this can help you to successfully set it up, and if you manage it it would be good to know why the automatic setup failed giving you such a bad experience... -
-
Hmm, interesting, i had no project specific config (.pro) file like the examples did, only a .qmlproject file. Then i realised i didn't remember how i created the project in the first place ....
So i started a new project with template Applications > Qt Quick Application , and in that wizard i could select the Kits.
The app is not working in the simulator at the moment, but at least i can start it, so i suspect the problem's in the code now.
To conclude, i guess i created the project in a way that prevented iOS support (?) It's still very confusing, but at least i'm making progress again.
Thanks for you support and patience.
-
Ohh qmlproject project, that is a project that is just qml and call qmlview to execute it, but this approach cannot be used on a device like iOS as you always have to ship a full application, not documents+application that executes them.
We should maybe explain that somewhere, I din't even think that you had such a project.
We could actually support a qmlproject by generating an app behind the scenes, worth a thought for next release... -
yeah, way to make me feel stupid! :p just kidding
glad i can move on now