summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on 'dev' in qt/qtactiveqtHEADdevQt Submodule Update Bot15 hours1-1/+1
| | | | | Change-Id: Ia90bef8061f37c967823149bbec99612015a41e7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot38 hours1-1/+1
| | | | | Change-Id: Ibfe57af77b270aa06367265c48b5933624c3c429 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot44 hours1-1/+1
| | | | | Change-Id: I505da93d63a3035e5aeb283faccd775731b63108 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Rename test to reflect expected outcomeJøger Hansegård4 days1-1/+1
| | | | | Change-Id: I2db1ca4de80ced9d74eae7b119200874c652d352 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot5 days1-1/+1
| | | | | Change-Id: Id70c06af9e23ecf2944f1a0675dae155ae0cbe27 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add tests framework for verifying calls to native COM serversJøger Hansegård8 days12-0/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Testing ActiveQt behavior against native COM servers is currently a hard and manual process because we don't have a customizable COM server to test against. This patch introduces a test COM server that can be extended to cover multiple test scenarios where we want to verify that the native COM server (not Active Qt) is called with the expected inputs and outputs. We use registry free COM to activate the server, to make it suitable for auto-test where we don't necessarily have admin access to register COM dlls. The idea of the test framework is that any calls through QAxObject results in a COM call to the test server. The arguments passed by Active Qt to the test server is then echoed back to test observer that receives the function arguments. In this first test, the test server has a single function that takes a VARIANT argument. This way we can add tests that verifies that Active Qt converts QVariant to VARIANT as we expect, while testing the entire pipeline. This can potentially be used in addition to, or as a replacement of existing QVariant to VARIANT conversion tests. To enable automatically regenerating the QAxObject wrapper when the type library changes, the qt6_target_typelibs function is updated to declare its input dependency to CMake. Change-Id: I503a9f61cf44294d1083761cab6a7be3ce1b278f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot9 days1-1/+1
| | | | | Change-Id: I77df836409b5264bf09b929a0b0675c4e7933ed4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add a licenseRule.json file for checking of SPDX license identifiersLucie Gérard9 days1-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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=../qtactiveqt 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: I37d5ac90f85d4beb50895ab73f2245056a6d12b7 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Change license for examples filesLucie Gérard9 days6-6/+6
| | | | | | | | | | | | According to QUIP-18 [1], all examples file 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: I32da3da887f161e3bbdf6114d753300add0f17e4 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot11 days1-1/+1
| | | | | Change-Id: I12d49707ec749ccb6f28e04a6d53147eeb99e9b5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Introduce QBStr BSTR RAII wrapperJøger Hansegård11 days9-106/+306
| | | | | | | | | | | | Use of base BSTR instances can be error prone and verbose. This patch introduces a QBStr class that wraps the Microsoft BSTR string type. Code that can be tested is updated to use the new QBStr instead of bare BSTR instances. Change-Id: If55e7d18426d1751357c9b4512abcfc4d10afbb4 Reviewed-by: Pavel Dubsky <pavel.dubsky@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Correct license for test filesLucie Gérard12 days37-37/+37
| | | | | | | | | | | | 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: I7b5f64b3b261da7a10effe2d91f2c4f058a11e88 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Correct license for documentation filesLucie Gérard12 days4-4/+4
| | | | | | | | | | | | According to QUIP-18 [1], all documentation files should be LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I9af3f46d72e72f8defdb91ce3e004ca7f00d6cab Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-05-091-1/+1
| | | | | Change-Id: Ic475ae4cd150e0b3603523758cd53fc1dbd5e589 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-05-071-1/+1
| | | | | Change-Id: Icc63cdeffb6e39e25f92af8563715c80873bf0fc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-05-031-1/+1
| | | | | Change-Id: I67fce47d66dc161aa3e4abd8f437d51be372ce86 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-05-021-1/+1
| | | | | Change-Id: I7c810e8addf7700474bd1946b7512855196ecccd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-04-291-1/+1
| | | | | Change-Id: I3267983de162d788c9a02bbb9ff2dc1df7c500b7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-04-241-1/+1
| | | | | Change-Id: Ia160356e1ca998ba0cf7109e50c3fb2f5e490dd6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-04-191-1/+1
| | | | | Change-Id: I48dd6cf289c7a50e4cd755ebdb13c9ef91e7c8a8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-04-171-1/+1
| | | | | Change-Id: I10ea7dfe0983474cd66a607f19d6ed08eb387453 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-04-151-1/+1
| | | | | Change-Id: I00119e897c473502b2d1d9fd3b54e3884041bd5c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix conversions of QVariantList of stringsFriedemann Kleint2024-04-112-26/+38
| | | | | | | | | | Prevent the check for a 2-dimensional array from triggering for QString/QByteArray which are convertible to QVariantList in Qt 6. Pick-to: 6.7 6.5 Fixes: QTBUG-122762 Change-Id: If698964c628d47226e116a685d3462cc968b6925 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-04-101-1/+1
| | | | | Change-Id: I4646205ba0e4a6cc5518aa89e6a21e37287d7faa Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-04-091-1/+1
| | | | | Change-Id: Idfcf73a7431f2aae69dcd47d85f1a6a2c7f394c3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-04-081-1/+1
| | | | | Change-Id: Ie15cf6fd8a681383e038da1e31ef6029bcc50587 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-04-041-1/+1
| | | | | Change-Id: Idfed240774f94f939ce1237fdc00a9bdb91335cd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-03-281-1/+1
| | | | | Change-Id: I8a808ee88f8eb731efb16441786e6dd737b8cf65 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-03-251-1/+1
| | | | | Change-Id: I3417af23ba9d37330cbf61cca278847ba2400c39 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-03-251-1/+1
| | | | | Change-Id: I9ffc4e158b5dd6f51b5fdb98d0d49c9378481024 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-03-211-1/+1
| | | | | Change-Id: Ied4a1c611b96333d294099059135628b5b46c122 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-03-171-1/+1
| | | | | Change-Id: If4685f96e69d84c1feb165aa9358fe08b9930117 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-03-161-1/+1
| | | | | Change-Id: Idbb331089f8b3d5110902c38aad683923764de72 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Use NO_GENERATE_CPP_EXPORTS explicitlyAlexey Edelev2024-03-144-0/+4
| | | | | | | | | | Use NO_GENERATE_CPP_EXPORTS explicitly for modules that don't need the autogenerated exports header file. Task-number: QTBUG-90492 Change-Id: I93fd582f2dbec7ac59958c3d3d5d2d733033a4e5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-03-141-1/+1
| | | | | Change-Id: I8062b9cbdb96581e99b42a78c9b06cb9b5562c64 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-03-131-1/+1
| | | | | Change-Id: I020bbca7a02e3e94c164a9dfef7c3dc25d1cc81a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-03-101-1/+1
| | | | | Change-Id: I4ded306e8e06912a5ac50416510ce285111c34f0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-03-021-1/+1
| | | | | Change-Id: I0bdc50afe12096b33c7f05ea95e5c32804e98296 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-02-271-1/+1
| | | | | Change-Id: I2ebc402f1877ca04eebe5ac7b651a54d3d6a3693 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-02-221-1/+1
| | | | | Change-Id: I3c553496134378d5f077d73b7c67a93b92f07e39 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-02-211-1/+1
| | | | | Change-Id: I848198655b9e1010ba558bc3aa25618f872519ca Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-02-191-1/+1
| | | | | Change-Id: Iea403c97aeb2ef149ad7693facd4c002fdfa93c7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-02-101-1/+1
| | | | | Change-Id: I5b5d0883a562e6374499a5d294c5d901cd2be615 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-02-091-1/+1
| | | | | Change-Id: I19470da7f30593a1048d965e8a64f71a17b5e2ee Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-02-061-1/+1
| | | | | Change-Id: I4adcc207319c038b3bd4f889985da70528e36a74 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-01-311-1/+1
| | | | | Change-Id: Ie181cb0b7c6e65e367ebe1c44c885c07d1ea9f56 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-01-221-1/+1
| | | | | Change-Id: Ifc4005808a2d94d03e4fc1a506bf59c50f3fca46 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-01-201-1/+1
| | | | | Change-Id: If1b903ba30d03b8e5ad93952368ce3170092dcda Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-01-191-1/+1
| | | | | Change-Id: I46fb51196d484b6746775e0a75de1ac8bd50c862 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtactiveqtQt Submodule Update Bot2024-01-181-1/+1
| | | | | Change-Id: I10a0d287ec1569480bf4dc2022123c285d433b8c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>