Skip to content

Commit

Permalink
exclude qt webengine from 6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
EndrII committed Dec 21, 2024
1 parent c1c22a9 commit 3f2b3cc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions testcases/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
7 changes: 6 additions & 1 deletion tests/units/linux/webenginetest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@


#include "webenginetest.h"

#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
#include "modules.h"
#endif

#include <configparser.h>
#include <dependenciesscanner.h>
#include <filemanager.h>
Expand All @@ -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";
Expand All @@ -37,6 +42,6 @@ void WebEngineTest::test() {
runTestParams({"-bin", bin, "clear" ,
"-qmake", qmake}, &comapareTree);


#endif
#endif
}

0 comments on commit 3f2b3cc

Please sign in to comment.