qt5base-lts/tests/auto/tools
Marc Mutz 9985cc330a uic: use C string literals for setObjectName()
Because setObjectName() now takes a QAnyStringView, passing C string
literals is much more efficient than using QString::fromUtf8().

This patch only deals with setObjectName() as a known property,
probably from a name attribute. If the objectName property is set by a
<property> element (or so I assume), we still emit a
QString::fromUtf8(). Detecting objectName there would be too much
magic.

Besides, I haven't been able to find why sometimes there's a second
setObjectName call right after the first, when in the XML it seems all
kosher (name attribute and objectName <property> agreeing on the
content).

Change-Id: Icf07bad841ac735a9c744bbd955428ba15758089
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2022-03-18 18:35:03 +01:00
..
macdeployqt Move macdeployqt and windeployqt from qttools to qtbase 2021-11-23 21:11:45 +01:00
moc Add VERBATIM option to add_custom_command calls 2022-03-17 15:15:06 +01:00
qdbuscpp2xml Remove unused .qrc files 2022-01-17 23:17:01 +01:00
qdbusxml2cpp Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmake Add missing implicit dependencies to the tool tests 2022-02-09 15:33:46 +01:00
qmakelib Remove the qmake project files 2021-01-07 15:32:28 +01:00
rcc Add missing implicit dependencies to the tool tests 2022-02-09 15:33:46 +01:00
uic uic: use C string literals for setObjectName() 2022-03-18 18:35:03 +01:00
windeployqt Move macdeployqt and windeployqt from qttools to qtbase 2021-11-23 21:11:45 +01:00
CMakeLists.txt Exclude tst_qmake if the build of qmake tool is disabled 2022-02-09 15:33:46 +01:00