Unsolved Help Qt Configuration for iOS Development
-
Hi everybody,
i tried to configure the QT environment but i've a lot of problems and confusion about the procedure.
I will explain step by step my procedure:I using a MAC with macOS Sierra Version 10.12.1
I using xCode Version 8.0 (are installed iOS Device Simulator with version 9.3 and 10.0)
I download QT for Open source distribution https://www.qt.io/download-open-source/ and run QT Creator.
First problem:
When i clicks to preferences->Buid & Run i sees the Qt Version "Qt 5-7-0 for iOS" with yellow warning and message "Not all possible target can be supported due to missing compilers".
Why the system shows this message? How i can fix this message?
Second problem:
When i clicks to preferences->Build and Run i sees the Kits "iphonesimulator-clang Qt 5.7.0 for iOS" with yellow warning.
Why the system shows this message? How i can fix this error?
I think this 2 problems are the cause for all my future problems for example when i run the HelloWorld application.
If i run with Desktop kit works fine.
If i run with other iphoneos or iphonesimulator kits the system shows the "Project ERROR: Current iphonesimulator SDK version (10.0) is too old. Please upgrade Xcode" error.
I tried to commented the SDK version control in the sdk.prf file but when i runs the application i've other error like Xcodebuild failed.Could you please help me to understand if i missing something?
My other confusion is how to Deploy the HelloWorld application to iOS Device (i've all licenses for develop and deploy in iOS).
Is essential to run the QT Project with xCODE? If yes i found commands line to covert the .pro app in xCode project. But seems there are a lot of problems, perhaps because is essential to fix the errors above.Thanks in advance for the help. If you need other info or screenshot please not hesitate to let me know.
Tony
-
Hi and welcome to devnet,
Xcode 8 has brought several changes that are getting fixed. AFAIK, Qt 5.6.2 should have these in. You should test with that version.
-
@SGaist said in Help Qt Configuration for iOS Development:
Xcode 8 has brought several changes that are getting fixed. AFAIK, Qt 5.6.2 should have these in. You should test with that version
Really thanks for the info.
So you advice to uninstall all and install all again with a previous version 5.6 and not 5.7. This should be resolve all simulator problem?PS: i discovered that a new version about xcode is available (8.1). I dont know if this could be fix something with qt?
-
@SGaist said in Help Qt Configuration for iOS Development:
Hi and welcome to devnet,
Xcode 8 has brought several changes that are getting fixed. AFAIK, Qt 5.6.2 should have these in. You should test with that version.
i installed all in other directory. When i run Qt Creator shows the same situation :(
Any help?
-
Dear All, i tried to install all again but i've the same problem.
Could you please tell me how to proceed?
-
Does that create a problem to build your application ?
-
if i builds for Desktop Application works fine, i i builds with iphone-clang i receive the error Xcodebuild failed, if i builds with iphonesimulator-clang i receive the message Starting remote process.Run ended.
Please note that only when i run with iphone-clang the system create the correct file xcode to run and execute for Generic device. But sometime i've problems like slow swipe map or other. I think the problem is that the system not generate in te correct way all files.
What do you think?
-
Xcode 8 brought in all sorts of changes that broke stuff here and there.
I've generated a project with qmake and then I could build and run on a device through Xcode.