Commit Graph

4 Commits

Author SHA1 Message Date
Lucie Gérard d8ae622baf Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.

Pick-to: 6.4
Task-number: QTBUG-67283
Change-Id: I52b9410c22909f4253094d2458d309e7f6ad2620
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-06-23 08:06:40 +02:00
hjk 8d8e596719 Remove the additional Qt5 namespace
The additional Qt5 namespace in Qt5Compat requires projects using
classes from there not only to touch the buildsystem to link to the
module but also the code itself. This hampers migration from Qt5 to Qt6.

Note that adding a plain 'using namespace Qt5;' in some central header is
not sufficient as a work around when using QTextCodec.

Task-number: QTBUG-85504
Change-Id: Id179663b70dd2c5f45e2e09f3dfac53377faa380
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2020-07-12 09:45:23 +02:00
Jarek Kobus 689b3b9abe Use QList instead of QVector
Task-number: QTBUG-84469
Change-Id: Ibc8555ec1aa851b307c264a980edad9105c31432
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2020-07-07 11:34:25 +02:00
Karsten Heimrich cd70242b87 Move QTextCodec support into Qt5Compat
Fixes: QTBUG-75665
Change-Id: Ibe2c1ea7606e04996c5098977304bf1a633e25d9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-06-26 12:55:39 +02:00