diff options
author | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2015-01-16 11:29:54 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@theqtcompany.com> | 2015-02-02 10:26:47 +0000 |
commit | 8c3ae221e60ae9b15ed5b942c18a52c2c0f3014f (patch) | |
tree | 48f093c7306e6f5f59ac1b9740aac72e5b8a985a /src/corelib/kernel/qobject.h | |
parent | 5f6bbce4beb32bc6bc1e06f92cde56c48f946558 (diff) |
WinRT: Gracefully exit an application
While it is not recommended by Microsoft to manually exit an
application, currently applications just hang when exiting main().
Instead when QCoreApplication::exit() is called use the CoreApplication
to properly invoke native Exit() and let the application completely shut
down.
Add a warning to notify developer about this non-standard behavior, as
usually the system is supposed to take care of suspending and closing.
Certification still passes for Windows RT and Windows Phone.
Task-number: QTBUG-43862
Change-Id: Ia34443ea75daaaeca0bee2a0c9fcc568c0659262
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/corelib/kernel/qobject.h')
0 files changed, 0 insertions, 0 deletions