Qt for iOS adding WatchKit for Apple iWatch
i am able to run the shadereffects example project from Qt Creator for iOS device. I open the xcode project with xcode and run with the simulator for iphone 6 for example. It build correct and the simulator ran the example with no problem.
Now when i add the watch kit to the project i get this build errors:
Undefined symbols for architecture i386:
"_qt_main_wrapper", referenced from:
implicit entry/start for main executable
"_qt_registerPlatformPlugin", referenced from:
-u command line option
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any idea? How do i fix it?
@michaelL i386 ?
Isn't Apple watch using an ARM CPU?
I guess your Kit is configured wrongly?
I downloaded Qt5.8 and ran the same example but got the same error.
How does Qt know if I add WatchKit on Xcode?
How do I have to modify my iOS kit on at and add watchOS with it?
I'd rather build Qt for watchOS and use it to build the watch application. (haven't done it yet)
@SGaist Dear Mr.SGaist i have posted a question in this forum titled "CROSS COMPILING QT WITH BBB". I am stuck at that error since last 3 days. no one has replied. I request you to reply me so that i can solve the problem.
Please don't highjack other people's threads with unrelated posts.
You did got an answer one day after you posted your question but you didn't do any follow up about the wiki entry helping or not.
@SGaist I am new to this forum. can you tell me what wiki entry is?
The link you received as an answer points to an article in the Qt project's Wiki.
For a definition of Wiki go here.
@SGaist The Watch Application needs a base application which it communicates with. This would be in this case my application.
I search for Watch o Qt so i could make a kit to deploy but i didnt found anything.
How do i use the mkspecs from WatchOs on my IOS Kit?