[Interest] iOS: You are creating QApplication before calling UIApplicationMain

NoRulez norulez at me.com
Mon May 16 22:51:01 CEST 2016


I managed it to make it work with CMake

> Am 13.05.2016 um 17:13 schrieb NoRulez <norulez at me.com>:
> 
> Hello,
> 
> I get the following error:
> "Error: You are creating QApplication before calling UIApplicationMain. If you are writing a native iOS application, and only want to use Qt for parts of the application, a good place to create QApplication is from within 'applicationDidFinishLaunching' inside your UIApplication delegate."
> 
> For testing I use the main function from the examples (shared/shared.h) with my own main.qml file without success.
> 
> I found a lot of answers from the year 2014, which says that I should replace the main signature but I think this should already be fixed. Isn't it?
> 
> I tested the approach to replace the main signature but then I get the error: "ld: entry point (_main) undefined. for architecture armv7"
> 
> Any hints?
> 
> Regards
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list