In tst_qlocale.cpp there was a #include that caused the static data tables to be duplicated, violating ODR. All it actually needed was the ability to iterate all rows of the locale_data[] table, so export a method to do that from QLocaleData and have the test run that instead of pulling in a second copy of the tables. Conflict resolution at 6.8 needed the declaration of locale_data_size moved up qlocale.cpp, which happened after 6.8 as part of other work that isn't included in 6.8. Pick-to: 6.5 6.2 Task-number: QTBUG-128930 Change-Id: Ie5ebdf508a622eeca93f8785bc09b086502aa0e2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 96c07655c46afdd3e2da7ef7d339b518d36c83c5) Reviewed-by: Marc Mutz <marc.mutz@qt.io> |
||
|---|---|---|
| .. | ||
| auto | ||
| baseline | ||
| benchmarks | ||
| global | ||
| libfuzzer | ||
| manual | ||
| shared | ||
| testserver | ||
| 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.