Commit Graph

10 Commits

Author SHA1 Message Date
Juha Vuolle 9be52337fd Skip sax autotests if XML is disabled
Qt lite configurations may disable XML altogether (-no-feature-xml).
Sax autotests link and rely on XML => disable tests when XML is
disabled.

Fixes: QTBUG-136673
Change-Id: Idd837781651d2b834a28ee8cd52516886a95b744
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2025-05-13 11:48:42 +03: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
Lars Knoll 1db486192c Add the old SAX parser to the qt5 compat library
It's been deprecated since a long time, move it over to
the compat library.

Task-number: QTBUG-86480
Change-Id: I92d486f999930d7d71a8a72b54f5e69e73d432c3
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2020-09-17 14:39:00 +02:00
Karsten Heimrich 7757ca2822 Move files from core5 to the subdirectories they belong to
Some of Qt5Compat features are organized in their own subdirectories,
while others reside directly in core5. Moved QRegExp to "text"
subdirectory and added a new "tools" subdirectory for QLinkedList.
The structure is now similar to what we had in Qt Core.

Change-Id: Ibfb3546fd317520f493a6c14091428d813c311bc
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
2020-08-27 09:59:48 +02:00
Karsten Heimrich 80ffb97660 Move QStringRef and remains into Qt5Compat
Task-number: QTBUG-84437
Change-Id: Ia18737f63995164edf2857321070913969518cf1
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
2020-08-24 15:32:09 +02:00
Sona Kurazyan 12423d302a Move binary JSON feature to Qt5Compat module
Moved the functionality for encoding and decoding QJsonDocument to and
from JSON binary format to Qt5Compat. Added the following replacement
APIs in the QBinaryJson namespace:

 - QJsonDocument::fromRawData(): was a static function, replaced by
   QBinaryJson::fromRawData() free function.

 - QJsonDocument::rawData(): was a member function, replaced by
   QBinaryJson::toRawData() free function.

 - QJsonDocument::fromBinaryData(): was a static function, replaced by
   QBinaryJson::fromBinaryData() free function.

 - QJsonDocument::toBinaryData(): was a member function, replaced by
   QBinaryJson::toBinaryData() free function.

Moved the related tests as well.

Task-number: QTBUG-85682
Change-Id: If70ef2c980173e625c2ec5462d0fae723de769aa
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-07-30 14:44:43 +02:00
Sona Kurazyan d2106e5d01 Move QRegExp into Qt5Compat
Task-number: QTBUG-85235
Change-Id: I8875d8844785e823aaa50b2af5a7ee881ab8b6b7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-07-14 16:37:30 +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
Sona Kurazyan 7ac10b268c Port Qt5Compat to cmake
Task-number: QTBUG-80312
Change-Id: I8958d0f91a4129ab23bc8294e58fa862fcdd49ac
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-04-06 13:28:11 +02:00