Commit Graph

6 Commits

Author SHA1 Message Date
Marc Mutz 39c96faa2c Eradicate the last Q_FOREACHs and mark the module free of them ... again
Restores the QT_NO_FOREACH define lost by the removal of .qmake.conf
in 21136bf84c.

The instances in the big5 utility are all over local variables, and
they clearly don't modify the container being iterateed over. Add
std::as_const() to avoid hidden detach()es. Replace two loops with
QByteArrayList::join().

Change-Id: If01bc667f019da0dbce99d84db5832067c5d936d
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-08-04 16:55:26 +02:00
Lucie Gérard 78cced518f Change the license of all CMakeLists.txt and *.cmake files to BSD
Task-number: QTBUG-105718
Change-Id: Iab6aaba3efbb0e887673eb9523354ba78aba6520
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-08-23 15:46:30 +02:00
Lucie Gérard 23d34d1b17 Add license headers to cmake files
CMakeLists.txt and .cmake files of significant size
(more than 2 lines according to our check in tst_license.pl)
now have the copyright and license header.

Existing copyright statements remain intact

Task-number: QTBUG-88621
Change-Id: I6037589b6cb21970616972a95b656119fda64a7e
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-07-07 17:41:38 +02:00
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
Alexandru Croitor 8e27d73748 CMake: Regenerate projects to use new qt_internal_ API
Modify special case locations to use the new API as well.

Task-number: QTBUG-86815
Change-Id: I5149876afef15bc63fb54a4839f1bceff46b7c92
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-10-01 12:07:19 +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