diff --git a/submodules/zip b/submodules/zip index fefb8d6a..81314fff 160000 --- a/submodules/zip +++ b/submodules/zip @@ -1 +1 @@ -Subproject commit fefb8d6acc78b5f63d5a78b86a4900e694bd2862 +Subproject commit 81314fff0a882b72a9ad321e7a3311660125b56e diff --git a/testcases/CMakeLists.txt b/testcases/CMakeLists.txt index 03f376df..27dc746d 100644 --- a/testcases/CMakeLists.txt +++ b/testcases/CMakeLists.txt @@ -18,6 +18,11 @@ add_subdirectory(TestQtWidgets) if (NOT WIN32) add_subdirectory(QMLFileDialog) add_subdirectory(virtualkeyboard) - add_subdirectory(quicknanobrowser) - add_subdirectory(webui) + + # this tests is not actual for the qt 6.8 and later. Use WebView. + if (QT_VERSION_MAJOR LESS_EQUAL 6 AND QT_VERSION_MINOR LESS_EQUAL 7) + add_subdirectory(quicknanobrowser) + add_subdirectory(webui) + + endif() endif() diff --git a/tests/units/linux/webenginetest.cpp b/tests/units/linux/webenginetest.cpp index b6831eb1..efbeceb3 100644 --- a/tests/units/linux/webenginetest.cpp +++ b/tests/units/linux/webenginetest.cpp @@ -7,7 +7,11 @@ #include "webenginetest.h" + +#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0) #include "modules.h" +#endif + #include #include #include @@ -17,6 +21,7 @@ void WebEngineTest::test() { #ifdef Q_OS_UNIX +#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0) TestUtils utils; QString bin = TestBinDir + "quicknanobrowser"; @@ -37,6 +42,6 @@ void WebEngineTest::test() { runTestParams({"-bin", bin, "clear" , "-qmake", qmake}, &comapareTree); - +#endif #endif }