From 98be0d133d00349c64bc725046265e9bb3d6df34 Mon Sep 17 00:00:00 2001
From: EndrII <EndrIIMail@gmail.com>
Date: Wed, 19 Jul 2023 22:21:17 +0200
Subject: [PATCH] try fix windows tests

---
 tests/modules/modulesqt6_3.cpp | 3 +++
 tests/tstMain.cpp              | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/modules/modulesqt6_3.cpp b/tests/modules/modulesqt6_3.cpp
index 1631f3e..22aa13b 100644
--- a/tests/modules/modulesqt6_3.cpp
+++ b/tests/modules/modulesqt6_3.cpp
@@ -906,6 +906,9 @@ QSet<QString> ModulesQt63::qtLibs(const QString &distDir) const {
                 "./" + distDir + "/plugins/platforms/qminimal.dll",
                 "./" + distDir + "/plugins/platforms/qoffscreen.dll",
                 "./" + distDir + "/plugins/platforms/qwindows.dll",
+                "./" + distDir + "/tls/qcertonlybackend.dll",
+                "./" + distDir + "/tls/qopensslbackend.dll",
+                "./" + distDir + "/tls/qschennelbackend.dll",
                 "./" + distDir + "/plugins/styles/qwindowsvistastyle.dll",
                 "./" + distDir + "/qt.conf",
                 "./" + distDir + "/translations/qtbase_ar.qm",
diff --git a/tests/tstMain.cpp b/tests/tstMain.cpp
index 1f478b2..60fbc15 100644
--- a/tests/tstMain.cpp
+++ b/tests/tstMain.cpp
@@ -275,7 +275,9 @@ tstMain::tstMain() {
     cqtTestPath = cqtTestPath +
                   DeployCore::getEnvSeparator() +
                   QT_BASE_DIR + "/../../Tools/QtInstallerFramework/4.5/bin/";
-
+    cqtTestPath = cqtTestPath +
+                  DeployCore::getEnvSeparator() +
+                  QT_BASE_DIR + "/../../Tools/QtInstallerFramework/4.6/bin/";
     qputenv("PATH", cqtTestPath.toLatin1().data());
     TestUtils utils;