Name Description Size Coverage
CMakeLists.txt 6325 -
EntryPointMinGW32Target.cmake.in 387 -
Qt6EntryPointPrivateMacros.cmake 1349 -
qtentrypoint_ios.mm The following diagram shows the layout of the reserved stack in relation to the regular stack, and the basic flow of the initial startup sequence. Note how we end up back in applicationDidLaunch after the user's main recurses into qApp-exec(), which allows us to return from applicationDidLaunch and spin the run-loop at the same level (UIApplicationMain) as iOS nativly does. +-----------------------------+ | qtmn() | | +--------------------+ <-- base | +----> main() | | | | +--------------------+ | | | | ... | | | | +--------------------+ | | | | qApp->exec() | | | | +--------------------+ | | | | processEvents() | | | | | | | | | +--+ longjmp(a) | | | | | | | | | | | +--------------------+ | | | | | | | | | | | | | | | | | unused | | | | | | | | | | | | | | | | | +--------------------+ <-- limit | | | | memory guard | | | | | +--------------------+ <-- reservedStack +-|-|-------------------------+ | | | UIApplicationMain() | +-|-|-------------------------+ | | | applicationDidLaunch() | | | | | | | +--> setjmp(a) | | +----+ trampoline() | | | +-----------------------------+ Note: the diagram does not reflect alignment issues. 21462 -
qtentrypoint_win.cpp This file contains the code in the QtEntryPoint library for Windows. QtEntryPoint contains the Windows startup code and is required for linking to the Qt DLL. When a Windows application starts, the WinMain function is invoked. 1925 -