Commit Graph

953 Commits

Author SHA1 Message Date
Qt Submodule Update Bot 11aa77ed73 Update dependencies on 'dev' in qt/qt5compat
Change-Id: If356c04b2c511e2e1730505fbcafd3f65ed97c23
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-14 18:08:31 +00:00
Qt Submodule Update Bot 77d139867c Update dependencies on 'dev' in qt/qt5compat
Change-Id: I090a90baf73cf9a038f93e2fe1432d927eaa71f7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-10 12:03:19 +00:00
Qt Submodule Update Bot 7979dab288 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I8b5d75475ea33d4828c07dd4c6dc06b8893ae7e4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-03 08:59:46 +00:00
Qt Submodule Update Bot 86ec537651 Update dependencies on 'dev' in qt/qt5compat
Change-Id: Iba67eaee4676ba998a05ee1e65f39b5f06b6cee0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-02 09:21:05 +00:00
Qt Submodule Update Bot 5d84073992 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I4b1dd60aa6eaace6e382acff1ba65858a6c634fc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-29 12:07:18 +00:00
Qt Submodule Update Bot b17fcdb630 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I1d8ee7794a74d661f55ed13390f82b692192dcec
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-25 10:44:38 +00:00
Qt Submodule Update Bot ef54aa3a79 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I8ae1a0edbbdf24b2966c3fea3127ed5749c2e8d5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-19 06:43:12 +00:00
Qt Submodule Update Bot 58a452c07e Update dependencies on 'dev' in qt/qt5compat
Change-Id: Ie27cfe6cd79b78b3018407420ce206110d956102
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-17 16:25:30 +00:00
Thiago Macieira dd0ddad631 QText{En,De}coder: use DefaultConversion
In Qt 5, the flag to write the BOM was a negative: if IgnoreHeader
wasn't set, we would write it. That was the default in Qt 5 because
DefaultConversion was 0. But now it's a positive flag, DefaultConversion
was updated to set it, but we forgot to use it in the constructors of
these two classes.

[ChangeLog][Qt5CoreCompat][QTextEncoder] Fixed a bug that caused
QTextEncoder not to write the Byte Order Mark for UTF codecs when the
constructor without explicit flags was used.

Fixes: QTBUG-122795
Pick-to: 6.5 6.7
Change-Id: If1bf59ecbe014b569ba1fffd17c459af4e0e00c9
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-04-10 18:15:19 +00:00
Lucie Gérard 22466dc051 Add a licenseRule.json file for checking of SPDX license identifiers
The license test in qtqa reads this file
in order to check the validity of the license used.
This file reproduce the QUIP-18 [1] rules, with some exceptions.

Each entry in the file corresponds to a set of licensing rules.

A set of licensing rules can depend on the file ending,
registered in "file_pattern_ending". The last entry in the
file has no "file_pattern_ending", it sets the rules for the
files whose licensing does not depend on their ending.

The license to be used depends on the location
of the file within the Qt module repository.
Let's call this "<true_location>".
The  "<true_location>" can also correspond to a file name,
offering flexibility for exceptions to the rule.
The "<true_location>" are registered in "location".

For each "<true_location>" there is a
"file type" entry and a "spdx" entry.
The "spdx" entry gives the rule:
the expected license tag(s) in SPDX format
for the file ending (if applicable) and "<true_location>".
The "file type" informs on the QUIP-18 type
the tested file corresponds to. It is purely informational
for the reader.

The set of rules are tested in order of appearance
in the json file. For this reason, a more constraining
ending (like "special.txt") needs to appear in
a "file_pattern_ending" located before
the "file_pattern_ending" of a less constraining ending (like ".txt").
Also, a file ending cannot be present in two "file_pattern_ending".

"file_pattern_ending" and "spdx" should list strings.
"<true_location>" can be regular expressions.

During the test the deeper "<true_location>" are
checked first. The order is which they appear in the json file
does not matter.

To test this file, run
QT_MODULE_TO_TEST=../qt5compat perl tests/prebuild/license/tst_licenses.pl

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121039
Change-Id: I17df769c1b8edc8dcb65e36d0585d9d4a1b3ff8c
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-04-05 12:52:18 +01:00
Qt Submodule Update Bot df1a0c3257 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I0a5c092fc0176703738616e8f33ac0e502422820
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-05 04:07:31 +00:00
Qt Submodule Update Bot 7044e37b60 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I2ae6151a225ff6759660762a29e13f932e50413f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-25 21:38:50 +00:00
Alexey Edelev 581e01811d Use NO_GENERATE_CPP_EXPORTS explicitly
Use NO_GENERATE_CPP_EXPORTS explicitly for modules that don't need
the autogenerated exports header file.

Task-number: QTBUG-90492
Change-Id: I9476dff5af1cc6c042b406cfda501ec874014083
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-03-25 11:09:20 +01:00
Qt Submodule Update Bot 26503dd6dc Update dependencies on 'dev' in qt/qt5compat
Change-Id: Id0cdefd5f6177cb3f265ed542bb5770c0bd9ce7e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-17 12:00:24 +00:00
Qt Submodule Update Bot 4cf9a88745 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I7040807d22c2e938ada3d63f87bca4aec0c5fa88
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-16 05:18:27 +00:00
Lucie Gérard 9d6805017c Correct license for test files
According to QUIP-18 [1], all test files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I96d027035cd43d3244fb2c2b89fdcff406d7d801
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-03-15 14:44:31 +01:00
Lucie Gérard a6097c44d3 Correct license for tool file
According to QUIP-18 [1], all tool files
should be
LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I349ce25d8713aa7834317fc8460952b7bfb2c5fb
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-03-15 14:44:08 +01:00
Lucie Gérard 09c1d21659 Correct doc snippet and example license
According to QUIP-18 [1]
all file under snippets or examples should be
LicenseRef-Qt-Commercial OR BSD-3-Clause

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I58b6175b10be2463d4bc8034ad08432e0b3e77d7
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-03-15 14:43:57 +01:00
Qt Submodule Update Bot 5d7230ea90 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I39b4c9700ea87358466bde0e4c4b3d526c32074d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-14 10:44:55 +00:00
Qt Submodule Update Bot db2937559a Update dependencies on 'dev' in qt/qt5compat
Change-Id: Ief4ef1981f8361aadf2283bed06bef5545a76e29
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-10 16:52:00 +00:00
Qt Submodule Update Bot 8820499225 Update dependencies on 'dev' in qt/qt5compat
Change-Id: Iedbc419101feb688c4655bc5425cfa4418f48acc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-02 15:38:16 +00:00
Marc Mutz 322b7f92e7 tst_QStringRef: ensure QStringRef implicitly converts to QStringView
It did, in Qt 5, but the test, if ever there was one, was lost when
QStringRef moved out of QtCore.

Pick-to: 6.7 6.6 6.5 6.2
Change-Id: I3440074eb8678adaf317ff888c9f11d1a1e4c8ec
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
2024-03-01 09:46:23 +01:00
Qt Submodule Update Bot b08e6a2ec7 Update dependencies on 'dev' in qt/qt5compat
Change-Id: If234cbe0c808b2c154bdf60744e6bcce250fd6ba
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-27 16:11:22 +00:00
Qt Submodule Update Bot c2f49b9db5 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I3c6cfe99626bba22ce117f61aa79b8237b44dea9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-23 22:18:52 +00:00
Qt Submodule Update Bot e63a801b79 Update dependencies on 'dev' in qt/qt5compat
Change-Id: Iae3492d08494a0827b02e0ced5e5109c4353f92f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-19 16:41:41 +00:00
Ahmad Samir 43f5251c57 Mark the whole repo with QT_NO_CONTEXTLESS_CONNECT
By adding it to the default build flags via .cmake.conf.

This disables the 3-arg QObject::connect() overload:
QObject::connect(sender, signal, functor)

For details see:
https://lists.qt-project.org/pipermail/development/2023-July/044141.html

No changes required.

Task-number: QTBUG-116296
Change-Id: I3225d98df5b067d73619b1e46fffed23dae5e7bd
Reviewed-by: Sona Kurazyan <kurazyan.sona@gmail.com>
2024-02-15 00:07:43 +03:00
Qt Submodule Update Bot 09582ac0aa Update dependencies on 'dev' in qt/qt5compat
Change-Id: I3cf47eb0d270458e7d6beed1db0272a8a8267b9c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-11 00:39:58 +00:00
Qt Submodule Update Bot 4565b3c007 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I96fcf3ab24733306393092c8a6d893ff75bd4ca8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-09 23:23:54 +00:00
Qt Submodule Update Bot 68061b53d1 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I5420d713cf34948cf52f3ee7c1ad3c4c419f63e0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-07 14:09:40 +00:00
Ievgenii Meshcheriakov 9893a60d9b tst_qxmlinputsource: Use case-insensitive match for a HTTP header
Change-Id: Ie2326e15ddf54cf32576255ecad188bd436d19be
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lena Biliaieva <lena.biliaieva@qt.io>
2024-02-07 13:50:20 +01:00
Joerg Bornemann 74d9177fc6 Add CMake autotest
Task-number: QTBUG-84884
Change-Id: I6b694d25ffd5fc96bc7b0899a6cba6ae4a9b1565
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
2024-01-29 09:24:43 +01:00
Qt Submodule Update Bot 9157d12702 Update dependencies on 'dev' in qt/qt5compat
Change-Id: Ia3933c14155fc080b93fdd1d4563da502e11ec94
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-26 18:21:35 +00:00
Qt Submodule Update Bot 44eb15a4bf Update dependencies on 'dev' in qt/qt5compat
Change-Id: I328a4ece00ee1a3a27ca68024f4a68d592815fda
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-25 09:18:38 +00:00
Qt Submodule Update Bot f26c4b5385 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I30e58952b6c13e0c8b41ebd243cdc8559aa82b9b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-22 21:42:53 +00:00
Qt Submodule Update Bot f4f4b6324a Update dependencies on 'dev' in qt/qt5compat
Change-Id: Ib0581f54058f50e4ed23091f3881278e596119a9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-20 14:27:56 +00:00
Qt Submodule Update Bot 79006fe72d Update dependencies on 'dev' in qt/qt5compat
Change-Id: I71f56a3b932d6496f04853afd0afcdce4e228b0c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-19 14:39:05 +00:00
Qt Submodule Update Bot e5ba620b80 Update dependencies on 'dev' in qt/qt5compat
Change-Id: Ie5ddefde5b755782b80ec3e02857948ee56cffae
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-18 10:14:42 +00:00
Qt Submodule Update Bot 0e72d0a30f Update dependencies on 'dev' in qt/qt5compat
Change-Id: I4e10a9f56a936870563e7500b85de9fc249a4227
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-15 16:06:06 +00:00
Qt Submodule Update Bot ee39a8ffdd Update dependencies on 'dev' in qt/qt5compat
Change-Id: I32fa8d46fe32d32cdca400b657f18c76a5ad6ca7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-12 11:44:17 +00:00
Qt Submodule Update Bot f37687182b Update dependencies on 'dev' in qt/qt5compat
Change-Id: Id0fef125aa0bf8882761413d52cd39aad6654bd9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-10 18:43:33 +00:00
Thibaut Cuvelier 690df18f88 Documentation: fix two typos
"binded" is quite rare in the documentation, I could only find it four
times (included this one).

Change-Id: If951959b5d03488b6bee3e91bab6e7f9a54a2fd4
Reviewed-by: Luca Di Sera <luca.disera@qt.io>
2024-01-08 09:12:48 +00:00
Thibaut Cuvelier 689658ac7d Documentation: fix the only use of \inlineimage with \caption
The author most likely meant to use \image, based on the HTML render at
https://doc.qt.io/qt-6/qml-qt5compat-graphicaleffects-gaussianblur.html.
Also, this case generated invalid DocBook output.

Change-Id: Ib399f58e242211be0d677979676cff7a0e8bf458
Pick-to: 6.7 6.6 6.5
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
2024-01-08 09:12:44 +00:00
Qt Submodule Update Bot 42ee960a26 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I7972df6ec345b959b686210062807c51f25e73f9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-05 21:25:46 +00:00
Qt Submodule Update Bot 1222f0b314 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I3df93b69b2c85a763f17967252790da896801be6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-28 07:18:28 +00:00
Qt Submodule Update Bot 1d3db63f06 Update dependencies on 'dev' in qt/qt5compat
Change-Id: Ie37ef7238249eced6deb3c579fa90e5537b283f1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-21 05:30:38 +00:00
Qt Submodule Update Bot fa62cb949e Update dependencies on 'dev' in qt/qt5compat
Change-Id: I3975047a71aef119405e1cc97ad3af4db71ed56c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-19 22:32:53 +00:00
Qt Submodule Update Bot 475a2cc69e Update dependencies on 'dev' in qt/qt5compat
Change-Id: Idc42df0c3901b4ada3e7b7e7b28f8c5412252170
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-18 18:39:07 +00:00
Qt Submodule Update Bot 09fc087831 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I0905d32e1d5817a6f36eb222982b1ce173f96c89
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-15 17:07:29 +00:00
Jani Heikkinen 5dbd2adbea Bump version to 6.8.0
Change-Id: I36b5d3a6e7a54580bd6546b8f6f285f42793d03c
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-12-13 13:36:55 +02:00
Qt Submodule Update Bot 7be9da9d79 Update dependencies on 'dev' in qt/qt5compat
Change-Id: I9b10d721de09f2dbf4d4d67382df13cb973900f4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-13 11:36:54 +00:00