summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qtimer.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2024-08-19 14:50:09 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2024-09-05 17:28:19 +0200
commitdfa52e3ae63432c1bfbb70b258ba96f7bfa5d3b6 (patch)
tree1daaa4ddd4db9b8351ff5b45ae473c22ca3dd4f9 /src/corelib/kernel/qtimer.cpp
parentcd78cf27a19ecd20cfc3ad44b593b21d1ae2f249 (diff)
Simplify the console detection for QT_WIN_DEBUG_CONSOLE
Instead of reading the PE header we can try to retrieve the stdout handle, and if it's present, we have a console, or redirected output. This amends commit 639437cf34783573e14d35ceb68ee8d9de495d7b. Pick-to: 6.7 6.8 Task-number: QTBUG-127732 Change-Id: Ib6dd1a37552519fd867e7c39e588a085513f97e0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Reviewed-by: Zhao Yuhang <yuhangzhao@deepin.org>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions