From d08030ea8f04f056aed88a4ad96dc9233d069787 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周一, 01 1月 2024 19:18:10 +0800
Subject: [PATCH] Add license

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

diff --git a/examples/qml/main.cpp b/examples/qml/main.cpp
index e9cf0a7..66b3a18 100644
--- a/examples/qml/main.cpp
+++ b/examples/qml/main.cpp
@@ -1,3 +1,6 @@
+// Copyright (C) 2023-2024 Stdware Collections
+// SPDX-License-Identifier: Apache-2.0
+
 #include <QtGui/QGuiApplication>
 #include <QtQml/QQmlApplicationEngine>
 
@@ -12,9 +15,9 @@
     qputenv("QT_QUICK_CONTROLS_STYLE", "Default");
 #endif
 #if 0
-    qputenv("QSG_RHI_BACKEND", "d3d12");
-    qputenv("QSG_RHI_HDR", "scrgb");
-    qputenv("QT_QPA_DISABLE_REDIRECTION_SURFACE", "1");
+    qputenv("QSG_RHI_BACKEND", "opengl");
+    //qputenv("QSG_RHI_HDR", "scrgb");
+    //qputenv("QT_QPA_DISABLE_REDIRECTION_SURFACE", "1");
 #endif
     QGuiApplication::setHighDpiScaleFactorRoundingPolicy(
         Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);

--
Gitblit v1.9.1