qt6-bb10/tests/auto/tools
Eskil Abrahamsen Blomfeldt 0e0149c64d Ignore weight in .ui files instead of converting it
In 3558704ed5, we added code to
support old .ui files which used the old integer scale for font
weights by checking for a special attribute which would help
separate new and old files.

Since then, it has become apparent that the weight element in
.ui is not actually used for anything, since it is only emitted
when the bold flag is set and always has to match QFont::Bold
in these cases.

So instead of converting, we simply ignore it now, and respect
the bold flag instead.

This also reverts the changes to ui4.* in uic, since the
scale attribute is no longer needed.

Task-number: QTBUG-42248
Change-Id: I1898868b58004099590f4eaf01f24c57bd34d779
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-09-03 07:31:45 +02:00
..
moc Make bindings introspectable through moc 2020-09-02 22:44:29 +02:00
qdbuscpp2xml CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qdbusxml2cpp CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qmake CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qmakelib Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00
rcc Don't set the environment variable QT_RCC_TEST anymore in tst_rcc 2020-07-08 07:56:40 +02:00
uic Ignore weight in .ui files instead of converting it 2020-09-03 07:31:45 +02:00
.prev_CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
CMakeLists.txt cmake support for tst_moc 2020-08-10 12:59:46 +02:00
tools.pro add test for the qmake library 2015-02-25 13:54:33 +00:00