Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.3.1
-
None
-
7.1 SDK, iPhone5
Description
If I enable the following flags:
QMAKE_CFLAGS += -flto QMAKE_CXXFLAGS += -flto
I will get this when running:
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.
(I haven't yet tried building Qt itself with lto)
I see
Found main() in main.o
but nothing about a symbol being renamed.