Document Q_COREAPP_STARTUP_FUNCTION is no good in static libs

Change-Id: Iaffa08332c87095a64e25e2da4ed56bfd3d0e84f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Laszlo Agocs 2017-11-14 17:38:21 +01:00
parent 73a5a93ff9
commit e82e8b8a1f

View File

@ -2834,6 +2834,10 @@ void QCoreApplication::setEventDispatcher(QAbstractEventDispatcher *eventDispatc
If QCoreApplication is deleted and another QCoreApplication is created,
the startup function will be invoked again.
\note This macro is not suitable for use in library code that is then
statically linked into an application since the function may not be called
at all due to being eliminated by the linker.
*/
/*!