aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
Commit message (Collapse)AuthorAgeFilesLines
...
* Brush up developer documentation (extras.rst)Friedemann Kleint2025-07-241-4/+7
| | | | | | | Pick-to: 6.9 Change-Id: I5199c2780b108aa1dacb7a3f352e3e7a2f9220b3 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
* type hints: Fix return types of QGuiApplication.screenAt and modalWindowEce Cinucen2025-07-181-0/+6
| | | | | | | | | Use Optional[...] to reflect that these functions may return None. Fixes: PYSIDE-3139 Pick-to: 6.8 6.9 Change-Id: Iea6da03b7f39ce0090804c58f0906863266fc87a Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Potential fix for stabilizing QtRemoteObjects cpp_interop testFriedemann Kleint2025-07-112-5/+14
| | | | | | | | | | | | | | The test sometimes fails, reporting an empty URL. Change the harness to use stdout for printing the URL so that the flushing can be controlled. Amends 19abd816e73bebdd489408d0a3b7676822bff39c. Pick-to: 6.9 Task-number: PYSIDE-862 Change-Id: Ie85ad5a4eb092f91add01905b711ff1db86e3a8f Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix QtMultimedia::audio_test to runFriedemann Kleint2025-07-111-1/+2
| | | | | | | | QMediaDevices needs allow-threads for the query functions. Pick-to: 6.9 6.8 Change-Id: Ieff9e9191491e6294232a0509d675ffa5a93d386 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Build: Fix super project buildShyamnath Premnadh2025-07-092-10/+14
| | | | | | | | | | | - af9721d92e393529016f8eccf4a23cc95da8b021 caused the super project build to break because now cmake detects two exports sets for each target. For super project builds, when configuring cmake, we restrict it to one target considering the super project build is useful only to configure the IDE. Change-Id: Ie37871369622034b5ca07f74b38c064982b12a90 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Make qobjectNextAddr thread_localFriedemann Kleint2025-07-091-1/+4
| | | | | | Task-number: PYSIDE-2221 Change-Id: I72e4a5fa239653bc69da190b5b506119889d5a8f Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Brush up pyside_reload_test.pyFriedemann Kleint2025-07-093-24/+23
| | | | | | | | | | Move it from QtGui to QtWidgets, completely. Use pathlib. Use a temporary directory to avoid clobbering the source directory. Pick-to: 6.9 Change-Id: Id73b87ea81a1b334e2506cb2e32b49e70a5b007d Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* qmainwindow_test.py: Remove test testCreateToolbar()Friedemann Kleint2025-07-091-7/+0
| | | | | | | | | | It does not really test anything and just slows down test execution. Pick-to: 6.9 6.8 Change-Id: Idd84f22e261eca089c346d0ff2e5e406eb9effd1 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
* Speed up QtWidgets tests testing QDialogFriedemann Kleint2025-07-092-10/+49
| | | | | | | | | | | Use the timer logic introduced for qfontdialog to close the dialog. Reduces test time from 0.984s to 0.073s. Pick-to: 6.9 6.8 Change-Id: I5ac1dd8da9f2b814ccea4ea9a8fddb03395620c9 Reviewed-by: Ece Cinucen <ece.cinucen@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* QtWidgets test qfontdialog_test.py: Fix the test to runFriedemann Kleint2025-07-092-8/+34
| | | | | | | | | | Disable native dialogs and add a timer closing the widget opened by the static getFont() function. With that. the test can enabled. Pick-to: 6.9 6.8 Change-Id: Iee9b0a341aa13527f5edcb10fd2188d111cee841 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
* Disable GIL: Remove NoGIL codeFriedemann Kleint2025-07-091-1/+0
| | | | | | | | The new approach is disable-gil. Task-number: PYSIDE-2221 Change-Id: I1b1e783883aa2e94f62548385d3f19b61cf6d1ed Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Disable GIL: Basic adaption and compile fixesFriedemann Kleint2025-07-091-0/+6
| | | | | | Task-number: PYSIDE-2221 Change-Id: Ib494a0404de4aa463078b5fd9788e40cecc25ae8 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix CMake targets to be relocatable in wheelsShyamnath Premnadh2025-07-072-0/+19
| | | | | | | | | | - Create two CMake export sets. One for building PySide6 and shiboken6 together called *Targets.cmake. Another with the corrected paths based on the wheel tree structure called *WheelTargets.cmake - Copy all the necessary CMake files to the wheel. Change-Id: If538ed3dac4d8195e96157c595bc63e991a5ee90 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Cleanup CMake configuration filesShyamnath Premnadh2025-07-073-14/+28
| | | | | | | | | | | | | | - Variables PYSIDE_PYTHONPATH, PYSIDE_TYPESYSTEMS, PYSIDE_GLUE were corrected to correctly reflect the paths for the build-tree in the CMake configuration files during super-project build of PySide6. These were also corrected for the install-tree based on the wheel structure. - Introduce two new CMake variables PYSIDE_PYTHON_CONFIG_SUFFIX and PYSIDE_SO_VERSION shipped with the CMake config files. - Fix pyside6qml to use the export set of pyside6. Change-Id: I3b177bfed31af1d0e3a13fcc9469019a7f349d22 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide: Consolidate pyside6qml into PySide6 CMake packageShyamnath Premnadh2025-07-074-48/+2
| | | | | | | | | | | | libpyside6qml is an integral part of PySide6 and is always distributed alongside libpyside6. To simplify the CMake configuration: 1. Remove separate PySide6Qml CMake package. 2. Move pyside6qml target from its own export set to PySide6Targets. 3. Delete PySide6QmlConfig*.cmake files as they are no longer needed Change-Id: If69db1b7c4056d50820eec1e60fde82664e0f1c4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* QtAsyncio: Brush up code/add type hintsFriedemann Kleint2025-07-072-37/+53
| | | | | | | Initial-patch-by: Christian Tismer <tismer@stackless.com> Task-number: PYSIDE-769 Change-Id: I7b89d4dea9024b1b926d320a2464821eca5af748 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* QtAsyncio: Include this non-Qt module into normal testingFriedemann Kleint2025-07-0714-15/+107
| | | | | | | | | | | QtAsyncio has tests like other modules, although they were not automatically tested. Add a way to specify this kind of modules without conflicts in cmake. Initial-patch-by: Christian Tismer <tismer@stackless.com> Task-number: PYSIDE-769 Change-Id: I9897f37c98c400846af77d18533486fb048aca80 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Install QtAsyncioFriedemann Kleint2025-07-072-2/+31
| | | | | | | Initial-patch-by: Christian Tismer <tismer@stackless.com> Task-number: PYSIDE-769 Change-Id: I3e7bf645a2b55249685f7aac58eb93342bdb6eb7 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide: Fix debug buildShyamnath Premnadh2025-07-071-4/+15
| | | | | | | | | - Amends 9a87f647acebacc330c7f426465cf0b45e3d1375 to include debug build scenario. Change-Id: If5b00e93cfd7446a7f7e411bf4901db1009c02f2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Remove unused test utility processtimer.py and its testFriedemann Kleint2025-07-042-129/+0
| | | | | | | | It appears to be unused and the test has bit-rot. Pick-to: 6.9 Change-Id: If4c47e8b34b5bb7f88bb56e525a322d49ef31af3 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Add tests that were missing from CMakeLists.txtFriedemann Kleint2025-07-0410-5/+39
| | | | | | | | Some tests were also missing imports and checks, add them as well. Pick-to: 6.9 Change-Id: Id73b7ab0ec06e5d87613719d0b2f267fa165db77 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Shiboken: Cleanup CMake configuration filesShyamnath Premnadh2025-07-041-0/+9
| | | | | | | | | | | - Removed unused variables in the Config file. SHIBOKEN_SHARED_LIBRARY_DIR and SHIBOKEN_INCLUDE_DIR can be obtained from the `libshiboken` cmake target as a property, and SHIBOKEN_PYTHON_MODULE_DIR can be obtained from PYTHON_SITE_PACKAGES Change-Id: I7a27f70055835c64029cee0bef33158e48f2d7a4 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Modify headers installation for CMake buildsShyamnath Premnadh2025-07-0411-13/+13
| | | | | | | | | | | | | | | | | | | Previously, the headers are installed as ${CMAKE_INSTALL_PREFIX}/include/cmake_package_name, where cmake_package_name is the CMake package name, e.g., PySide6. In the wheels, the headers were included as package_name/include. Since the level of the include directory is different, this caused issues when importing the CMake package in a downstream project. - This change modifies the installation of the headers so that the CMake install prefix and the wheels are consistent. - Additionally - this change adds the libpyside6 headers to the wheels. - The include headers for libshiboken were shipped with shiboken6-generator and not with shiboken6, which has the libshiboken binary. Change-Id: I96e3280799da169836e24551b906274f5b0fc962 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove QtExampleIcons moduleFriedemann Kleint2025-07-043-94/+0
| | | | | | | | | | The module will be removed from Qt since it is not used there. This effectively reverts 559fb65547236694dc04973f7fb6b39bac75d158. Task-number: PYSIDE-2206 Task-number: QTBUG-110428 Change-Id: I149c1e6a2c3672050b4d1ba4633f07c7cdac5c1d Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* test bug_332.py: Fix warning QMutex: destroying locked mutexFriedemann Kleint2025-07-041-1/+2
| | | | | | Pick-to: 6.9 6.8 Change-Id: Ieee1b2920440572b4f14188a4657704d63967b48 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* QtWidgets test bug_576.py: Remove failing test assertionFriedemann Kleint2025-07-041-1/+0
| | | | | | | | | | | | | The check has been failing since Qt 5, probably due to some changed deletion sequence, but was never caught since it is in a slot. Fixes: Traceback (most recent call last): File "sources/pyside6/tests/QtWidgets/bug_576.py", line 26, in onButtonDestroyed self.assertTrue(isinstance(button, QPushButton)) Pick-to: 6.9 Change-Id: Ibf09ba315f05ac4f457ecb856ed476bc96a6c090 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* QtWidgets test bug_941.py: Fix warningFriedemann Kleint2025-07-041-3/+10
| | | | | | | | | | | | | | Qt.Orientation was passed when emitting QHeaderView.sortIndicatorChanged(int,Qt.SortOrder), causing a warning: _pythonToCppCopy: Cannot copy-convert 0x7f87761442c0 (Orientation) to C++. Pass the right type and check. Pick-to: 6.9 6.8 Change-Id: If74037c2a00c017a40c826cabd62ec381b2c4431 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix crash when calling setItemDelegateForColumn/Row() repeatedlyFriedemann Kleint2025-07-041-2/+2
| | | | | | | | | | | | Use "add" instead of "set" as a refcount modification since the latter dec-refs the previously set delegates. Amends 676a89fcfc2190ffa50bcb4f011ca4a96a9dd653. Pick-to: 6.9 Fixes: PYSIDE-3132 Task-number: PYSIDE-226 Change-Id: I9e9b472dfbd62c9945c021be59bec688f9c9a840 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Re-enable test touchevent_test.pyFriedemann Kleint2025-07-032-19/+13
| | | | | | | | Port to use QPointingDevice. Pick-to: 6.9 Change-Id: Icb5050615e234a9acf1f79f85549dd3a49fb3414 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* build system: Extend sanitizer supportFriedemann Kleint2025-07-021-1/+4
| | | | | | | | | Enable address sanitizer for MSVC, which has gained support in the mean time. Add thread sanitizer with a warning. Task-number: PYSIDE-2221 Change-Id: Iaa5a377fdb1cf33c1dcad42df5528a3a3499c773 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Desktop Deployment: Upgrade Nuitka to 2.7.11Shyamnath Premnadh2025-07-022-3/+3
| | | | | | | Pick-to: 6.8 6.9 Task-number: PYSIDE-1612 Change-Id: I63250605149c1b966017dc9bcb896925c59008a7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* MetaObjectBuilder: Handle quint64 enumerationsFriedemann Kleint2025-06-306-18/+135
| | | | | | | | | | | | | | | | | | | | | | In the delayed creation of QMetaEnum's in MetaObjectBuilder, when parsing QEnum-decorated values, check for large quint64 values and add them correctly. For class QMetaEnum, instead of exposing the newly added functions "std::optional<quint64> value64()" and similar, inject code handling large values into the existing bindings since Python's int type is able to represent the type. Adapt to qtbase/d41b87e06742b491c4e36aeae32e03f85b078d69. [ChangeLog][PySide6] @QEnum, @QFlag and QMetaEnum now support unsigned 64 bit values for QML usage (with the exception of Qt Widgets Designer). Task-number: QTBUG-27451 Task-number: QTBUG-111926 Task-number: PYSIDE-1735 Change-Id: Ib0b26dbc350c404d354c8f53afee946e29f2adb3 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add 64 bit support for @QEnum meta typesFriedemann Kleint2025-06-302-8/+64
| | | | | | | | | | | Complements 4aa48368667bee64e48f7c9d6b3a935411d5f23c. Task-number: QTBUG-27451 Task-number: QTBUG-111926 Task-number: PYSIDE-2840 Change-Id: I8ddd138bae667bf2411c3d71b0d718a8eb217f7f Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add section about Thread affinity to signals_and_slots.rstFriedemann Kleint2025-06-301-0/+19
| | | | | | | | Pick-to: 6.9 Task-number: PYSIDE-3124 Change-Id: Ib795aca1a2ed75b31821a90c11ccb2bdfd08f9fc Reviewed-by: Ece Cinucen <ece.cinucen@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Output more detailed build in QLibraryInfo::build()Friedemann Kleint2025-06-302-10/+45
| | | | | | | | | Add PyPy, disable-GIL and report if the runtime version differs. Pick-to: 6.9 Task-number: PYSIDE-2221 Change-Id: I6aa2b45cbd9d579f242ffca5180333c3a7c5a53f Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* build system: Switch to new cross compilation support of shiboken6Friedemann Kleint2025-06-272-20/+10
| | | | | | | Fixes: PYSIDE-3105 Change-Id: Ie91ee71e7cd9948e34f3425cf42ff18326d9abe9 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
* Fix PySide build for 6.10Friedemann Kleint2025-06-253-4/+8
| | | | | | | | Task-number: PYSIDE-3011 Task-number: QTBUG-87776 Change-Id: If1bbeb6599ef60d72f49a949a30b01f9140c8d97 Reviewed-by: Ece Cinucen <ece.cinucen@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Remove hard-coded Q_OS_ defines from the CMake filesFriedemann Kleint2025-06-189-45/+9
| | | | | | | | | | | | | The hard-coded ENABLE_ and Q_OS_ do not work for cross-compiling. They are in fact a left-over from the pre-clang code parser. Clang is actually able to set the right defines when parsing qsystemdetection.h if the correct target is set. pyside6_global.h then no longer needs to be configured by CMake. Task-number: PYSIDE-3105 Change-Id: I640ab9e254b9ba35d5b7194001f5700911a8d421 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Document property/enum usage for Qt Widgets Designer custom widgetsFriedemann Kleint2025-06-171-1/+35
| | | | | | Task-number: PYSIDE-2840 Change-Id: I28ca7d163bd560ebb38fb693750e4c3e3b7de621 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Enable using @QEnum/@QFlag-decorated enums as custom widget propertiesFriedemann Kleint2025-06-175-6/+209
| | | | | | | | | | | | Create a dynamic QMetaType for @QEnum-decorated enumerations so that Qt Widgets Designer is able to recognize the properties. [ChangeLog][PySide6] It is now possible to use @QEnum/@QFlag-decorated enumerations as properties of custom widgets in Qt Widgets Designer. Task-number: PYSIDE-2840 Change-Id: I58a16002f89678856b7f33d687cf99f00c6f0cc7 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Pass CMAKE_SYSTEM_NAME as platform argument to shiboken6Friedemann Kleint2025-06-131-0/+1
| | | | | | Task-number: PYSIDE-3105 Change-Id: I2d1adb0b7b819caab09e72e382a9dc0f964fa14d Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Fix handling of config keys for class QProcessFriedemann Kleint2025-06-122-6/+20
| | | | | | | | | | | | | | | The config keys were added to the type system files for Web Assembly in the assumption that its build system would handle it. For CMake, the handling needs to be added. Also add key to nested class UnixProcessParameters. Complements 4a3f337d0154105f924e2e076d8f2cb63b3aca8e. Task-number: PYSIDE-2352 Task-number: PYSIDE-962 Change-Id: Ib037fc24756df9a63d8df43caa5d6ecd8bc8473c Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
* Fix QVariant conversion of Python classes inheriting QGraphicsProxyObjectFriedemann Kleint2025-06-062-2/+14
| | | | | | | | | | | | | | The check needs to be more fine-grained since Shiboken::ObjectType::getOriginalName() returns "QGraphicsObject*" for Python-derived classes, also. Amends f81fb9ee887d088e8988d743bb7cac4f781fff82. Pick-to: 6.9 Fixes: PYSIDE-3115 Task-number: PYSIDE-3069 Change-Id: I4589ec85075e712ed1c66acfce257ff41d965ec4 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Android Deployment: Do not force install packagesShyamnath Premnadh2025-06-021-1/+1
| | | | | | | | | | | | | - pyside6-android-deploy had dependencies that were force installed into the user's development environment. This is not a good practice and can lead to issues with package management. - This is now changed to give a warning requesting the user to install the dependencies manually. Pick-to: 6.8 6.9 Task-number: PYSIDE-1612 Change-Id: Ie7335b1e64d73e7de17e06898d43b99e11389ff1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Add overload for QDomDocument.setContentEce Cinucen2025-05-242-11/+16
| | | | | | | | - Updated type system to add the missing overloaded function with QByteArray and ParseOptions. - Deprecated use of QDomDocument.setContent fixed on QtXml test cases and dombookmarks example. Change-Id: I78b5c2f3be44362c0b871009bcf6c305b3a77798 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Move some qvariant helper code into libpysideFriedemann Kleint2025-05-227-156/+260
| | | | | | | | | | | | | | | Iron out some issues in the code: - The old code created a fast list from the list passed in but then did not use the fast API (PySequence_Fast_GET_ITEM(), etc) since it does not work with the limited API. Remove it. - For empty lists, an empty QStringList was returned since the helper isStringList() returned true. Change it to return an empty QVariantList. - Add a new function pyListToVariantList() which converts each item using the QVariant converter for use by QGenericItemModel Change-Id: If0b5cdf4055f8d586df56a8c98bc042f4bab6427 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Remove deprecated Qt::TimeSpec usage in QDateTime constructorEce Cinucen2025-05-214-7/+16
| | | | | Change-Id: Iea443b9e541935bb904b6ad9d533909c313a7b81 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix crash retrieving a PyObject type property via QVariant<PyObjectWrapper>Friedemann Kleint2025-05-195-25/+78
| | | | | | | | | | | | | | | | | | | | | The old code registered a Shiboken converter for PyObjectWrapper by pointer conversion. This resulted in the Python to C++ converter falling back to plain pointer passthrough since it only works for SbkObjects. The C++ to Python conversion worked by coincidence for either raw PyObject * pointers used in meta call handling or pointers obtained from calling QVariant<PyObjectWrapper>.data(), but without handling reference counts. To fix this, remove the Python to C++ conversion entirely and do this manually via QVariant. Change the C++ to Python to be by value and use PyObjectWrapper. Fixes: PYSIDE-2193 Pick-to: 6.9 Change-Id: I00898894651f220d7b8fe60608e93233ef3e6493 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* libpyside: Add a debug operator for PyObjectWrapperFriedemann Kleint2025-05-162-1/+26
| | | | | | | | | This useful for debugging QML issues. Task-number: PYSIDE-2193 Pick-to: 6.9 Change-Id: Iecbfb1d9508ac89c8b213a2f2ee8d4f7f1de4fc8 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix some warnings in testsFriedemann Kleint2025-05-164-19/+20
| | | | | | | | | Fix exec_ and deprecated QMenu.addAction() overloads. Fix warnings about inactive QPainter in bug_919.py. Pick-to: 6.9 Change-Id: I483190480ca5b467bd070c3239f78166e6de3a51 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>