From 1740ed5e0e765ebd8676733243eb3eaa81f95df1 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周二, 26 12月 2023 17:32:13 +0800
Subject: [PATCH] Fix window visibility inconsistency

---
 examples/qml/main.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/examples/qml/main.cpp b/examples/qml/main.cpp
index 75ca6e2..e9cf0a7 100644
--- a/examples/qml/main.cpp
+++ b/examples/qml/main.cpp
@@ -4,7 +4,7 @@
 #include <QWKQuick/qwkquickglobal.h>
 
 int main(int argc, char *argv[]) {
-    qputenv("QT_WIN_DEBUG_CONSOLE", "1");
+    qputenv("QT_WIN_DEBUG_CONSOLE", "attach");
     qputenv("QSG_INFO", "1");
 #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
     qputenv("QT_QUICK_CONTROLS_STYLE", "Basic");

--
Gitblit v1.9.1