qt6-bb10/tests
Paul Olav Tvete 7a84c58f55 Fix QTextEngine regression with large-ish texts
Change 997fd3b88e fixed integer overflows
with huge texts. This was done by using qsizetype for size calculations
instead of int. However, that change introduced a serious regression
due to an itermediate imultiplication result being "promoted" to unsigned,
and therefore a negative value being converted to a large positive.
The solution is to make sure all values in the expression are signed.

Fixes: QTBUG-123339
Task-number: QTBUG-119611
Pick-to: 6.7
Change-Id: I3f9189f77b383c6103cf5b35981cdb607b065f6f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2024-03-15 20:46:39 +01:00
..
auto Fix QTextEngine regression with large-ish texts 2024-03-15 20:46:39 +01:00
baseline Fix build without PDF 2024-02-25 21:40:47 +00:00
benchmarks qHash: implement an AES hasher for QLatin1StringView 2024-03-12 18:23:09 -07:00
global
libfuzzer Add A2B tables, and PCSLab support to QIcc 2024-03-07 23:42:41 +01:00
manual Correct license for examples files 2024-03-07 11:06:43 +01:00
shared Remove extra semi-colons 2024-02-06 20:17:18 +09:00
testserver Correct license for tools files 2024-03-05 12:59:21 +01:00
CMakeLists.txt
README

README

This directory contains autotests and benchmarks based on Qt Test. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.

Linux X11:

   * The user must be logged in to an active desktop; you can't run the
     autotests without a valid DISPLAY that allows X11 connections.

   * The tests are run against a KDE3 or KDE4 desktop.

   * Window manager uses "click to focus", and not "focus follows mouse". Many
     tests move the mouse cursor around and expect this to not affect focus
     and activation.

   * Disable "click to activate", i.e., when a window is opened, the window
     manager should automatically activate it (give it input focus) and not
     wait for the user to click the window.