File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ void FindTest::test_find_phrase_data()
7171 QTest::addColumn<QString>( " find_text" );
7272 QTest::addColumn<int >( " matches" );
7373 QTest::addColumn<QList<QRect>>( " bounding_boxes" );
74- #ifdef Q_OS_LINUX
74+ #if defined( Q_OS_LINUX ) && QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
7575 QList<QRect> boxes = { { 276 , 909 , 161 , 15 } };
7676#else
7777 QList<QRect> boxes = { { 276 , 866 , 161 , 14 } };
@@ -129,7 +129,7 @@ void FindTest::test_find_phrase_multi_element_data()
129129 QTest::addColumn<int >( " matches" );
130130 QTest::addColumn<QList<QRect>>( " bounding_boxes" );
131131 // these boxes are currently valid, but are wrong. See issues in qlitehtml project
132- #ifdef Q_OS_LINUX
132+ #if defined( Q_OS_LINUX ) && QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
133133 QList<QRect> boxes = { { 8 , 1974 , 143 , 42 } };
134134#else
135135 QList<QRect> boxes = { { 8 , 1880 , 143 , 40 } };
You can’t perform that action at this time.
0 commit comments