From 61cb997e4e9ebf50bcff835841fbd1ecc9499e49 Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周五, 22 12月 2023 21:14:31 +0800
Subject: [PATCH] add themechange notify on win

---
 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