From 46285db399f75154ad6c451e12f2cae2e59ace25 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周日, 24 12月 2023 23:52:03 +0800 Subject: [PATCH] Use brilliant workaround to show Windows 10 top border --- examples/mainwindow/main.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/examples/mainwindow/main.cpp b/examples/mainwindow/main.cpp index dd5dc5d..6a1ce88 100644 --- a/examples/mainwindow/main.cpp +++ b/examples/mainwindow/main.cpp @@ -3,7 +3,7 @@ #include "mainwindow.h" int main(int argc, char *argv[]) { - qputenv("QT_WIN_DEBUG_CONSOLE", "1"); + qputenv("QT_WIN_DEBUG_CONSOLE", "attach"); qputenv("QSG_INFO", "1"); #if 0 qputenv("QT_WIDGETS_RHI", "1"); -- Gitblit v1.9.1