aboutsummaryrefslogtreecommitdiffstats
path: root/sources
Commit message (Collapse)AuthorAgeFilesLines
* PySide6: Re-add QtWebEngine, initial stepFriedemann Kleint2021-06-2311-256/+105
| | | | | | | | | | | Remove module QtWebEngine. Move most API from QtWebEngineWidgets to QtWebEngineCore. Adapt imports in tests and examples. The new module QtWebEngineQuick will be added in a follow-up step. This is not functional yet as examples crash in the underlying 6.2 Alpha. Task-number: PYSIDE-1570 Change-Id: I00907e5542404560967e6ae07d102193f1f1e154 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Fix missing includes in QtWebEngineFriedemann Kleint2021-06-231-0/+7
| | | | | | | | Temporary workaround, to be reverted later. Task-number: PYSIDE-1570 Change-Id: I113c82236ebeebd3a0ecd31dbcecbb7704dc8d7c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6/features: Fix compiler warningFriedemann Kleint2021-06-231-0/+2
| | | | | | | | | | | Assign isStdWrite in parseFields(), fixing: libpyside/feature_select.cpp: In function bool PySide::Feature::feature_02_true_property(PyTypeObject*, PyObject*, int): libpyside/feature_select.cpp:689:59: warning: ‘isStdWrite’ may be used uninitialized in this function [-Wmaybe-uninitialized] Pick-to: 6.1 Change-Id: I4527444a67ee3ca6e886802a76aa4508c8ca3a7c Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6/QtMultiMedia: Adapt to API recent changesFriedemann Kleint2021-06-232-34/+22
| | | | | | | | | | | | | | | | | | | | | | Build against qtmultimedia/a6e014eb088cb9b7bf55bf87c814e75cd4037dc2: - Re-add QAudioInput, QAudioOutput, qtmultimedia/9fd208f11a218d8a8b07fc525258eea3b3596d62 - Rename QCameraImageCapture to QImageCapture, qtmultimedia/83a031c56b74d68fe6d349f78c48a1681e40374e - Remove QImageEncoderSettings, qtmultimedia/d58d93b8e45b2bf62221b104914df771849c007c - Remove QMediaEncoderSettings, qtmultimedia/9c309ede2feb598908b1476062b79d0d23759bf3 - Changes around QMediaEncoder, qtmultimedia/fde5d6f7cce6118cac4ce7b92cd056225737917f qtmultimedia/994bcb23af8399485ddfdd16d2ba34c20326b432 - Comment out QMediaPlaylist, qtmultimedia/5773f7214c7430a98dea3974c0597cb3ee0ea7f5 Pick-to: 6.1 Change-Id: I9beb96c34ebe6132ad68e3628fcbbf0bc48127ef Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Disable generation of array fieldsFriedemann Kleint2021-06-211-1/+2
| | | | | | | | | | There is no Python -> C++ conversion for primitive fields yet and it and it seems to be not easily possible to bind an T&operator[](int) so that an assignment foo.array[3] = 5 works. Task-number: PYSIDE-1602 Change-Id: Ifd24ec984b3f71db6e486d959cf635116b9bbf95 Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Use auto in field getter/setter codeFriedemann Kleint2021-06-211-6/+4
| | | | | | Task-number: PYSIDE-1602 Change-Id: Ic9e77553a9063c69971af9cd0edd5fdda993b7f4 Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Use exceptions in the doc generatorFriedemann Kleint2021-06-212-16/+21
| | | | | | | | | | | | | Some fatal messages were warnings only due to too deeply nested functions. As a drive by, make error message about additional documentation more verbose. Complements f7901b0b29e831a3799bd7fc39dbdf5e67271ae8. Change-Id: Iba10f8061bd0c1cd108a2e036b2394aefdd20d87 Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Port class FileOut to use exceptionsFriedemann Kleint2021-06-217-45/+38
| | | | | | | Complements f7901b0b29e831a3799bd7fc39dbdf5e67271ae8. Change-Id: I1d04ffd8f4b28c095b2def08075068dcdebba099 Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6/Doc generator: Fix continuation dots in code snippetsFriedemann Kleint2021-06-191-3/+3
| | | | | | | | | Properly indent them after ::. Fixes a number of sphinx warnings about "Unexpected indentation" in data visualization examples. Pick-to: 6.1 Change-Id: I5ebf2df629dda5fba86b7e25a320cbe89e7dfb8b Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6/Doc generator: Dedent documentation code snippetsFriedemann Kleint2021-06-187-75/+151
| | | | | | | | | | | | | Split out helpers for fixing code snippets from class CodeSnipAbstract (which is necessary since the QtXmlToSphinx test is compiled from single source files) and use them. Fixes a number of sphinx warnings about "Unexpected indentation" in data visualization examples. Pick-to: 6.1 Change-Id: I109f5f6a8158689f5c966630f1b29d797b48607d Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6/Doc generator: Fix HTTP URLs in documentationFriedemann Kleint2021-06-181-5/+8
| | | | | | | | | | Always use as "external", do not reformat them as RST labels. Fixes for example the link to the Sinclair ZX Spectrum page in the QLCDnumber documentation, which appeared as WebXML link tag and was reformatted. Pick-to: 6.1 Change-Id: Ibf0195365488979bdfd3e08cdd59e77860ac30f6 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add QKey support for the setShortcut methodCristian Maureira-Fredes2021-06-185-3/+17
| | | | | | | | | | | | | | | | | | When this method is used in Qt/C++, the argument gets internally cast to a QKeyCombination if it is a QKey, but in Python land this is not automatically covered. A workaround was for the users to manually cast the QKey, but this adds an extra step to achieve the same. This patch adds a new method to QAction and QAbstractButton to use setShortcut with a QKey as an argument. Pick-to: 6.1 Change-Id: I9e9ebe16a65cb5aeb26a367faecbbbd414d80e03 Fixes: PYSIDE-907 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* shiboken: remove obsolete error messageChristian Tismer2021-06-183-21/+0
| | | | | | | | | | | | This message became pointless in PySide6 because the word "iterator" no longer creates clashes in shiboken and PySide. Thanks for checking this, Friedemann! Change-Id: Ib0496039ab194049fd1f09867de1bbcfeb47d21e Pick-to: 6.1 Fixes: PYSIDE-498 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* shiboken6: Add test for constantsFriedemann Kleint2021-06-182-0/+6
| | | | | | | Task-number: PYSIDE-186 Change-Id: Ic4ba7f22bead8418a18dec100a77e3befe038a76 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add further global functionsFriedemann Kleint2021-06-187-4/+46
| | | | | | | Task-number: PYSIDE-1482 Pick-to: 6.1 Change-Id: I337f8c817bc4d612a02a5482a63a94303e11c300 Reviewed-by: Christian Tismer <tismer@stackless.com>
* testing: enforce that .pyi files are always testedChristian Tismer2021-06-184-5/+44
| | | | | | | | | | | | | | | | | | | | | Being able to run .pyi files in Python 3 is always assumed possible. Since this test is disabled in local builds, we were relying on correct configuration of COIN, but that failed. To be safe, we now add a test to wheel_tester as well that unconditionally tests all .pyi with all features enabled. A special problem was a name clash in Qt3DAnimation.pyi which uses the name "property" :-) An import of QtMultimedia seems not to work, always. This happened in wheel_tester.py in CI, only. Task-number: PYSIDE-1599 Change-Id: Ib158e710cec72287fe4a71c01254727ea9b6dc54 Pick-to: 6.1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* shiboken6: Update documentation on global functionsFriedemann Kleint2021-06-182-10/+13
| | | | | | | | | | It is actually possible to modify a global function with modify-function, update the documentation accordingly and link the nodes. Pick-to: 6.1 Change-Id: I2fd313851712cd96c67fcd90d68664f57dc0902a Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Add some information on the toolsFriedemann Kleint2021-06-174-0/+25
| | | | | | Task-number: PYSIDE-1378 Change-Id: I9433fd3b1d4d09c6a7d961d67c103ccd651e5beb Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add more non-template QML functionsFriedemann Kleint2021-06-172-2/+28
| | | | | | | | | | [ChangeLog][PySide6] A number of free functions from QtQml have been added. Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: I51842df17d9f1c1f9f07d6e3f324d0bf273b476a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Fix some shiboken warningsFriedemann Kleint2021-06-173-5/+0
| | | | | | | | | | | sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:3019: enum 'QJsonDocument::DataValidation' is specified in typesystem, but not declared. sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:2353: signature 'lock()' for function modification in 'QMutex' not found. sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml:504: signature 'operator<<(QPointF)' for function modification in 'QPolygonF' not found. sources/pyside6/PySide6/QtQuick/typesystem_quick.xml:108: enum 'QQuickWindow::NativeObjectType' is specified in typesystem, but not declared. Pick-to: 6.1 Change-Id: I2d36246c2b3df4b7a7a5678dd3eedf73601a85ef Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Fix some shiboken warnings related to Pathlib supportFriedemann Kleint2021-06-171-6/+2
| | | | | | | | | | | | qt.shiboken: (core) sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:916: signature 'QDir(QString,QString,SortFlags=SortFlags(Name|IgnoreCase),Filters=AllEntries)' (specified as 'QDir(const QString &,const QString &,SortFlags=SortFlags(Name|IgnoreCase),Filters=AllEntries)') for function modification in 'QDir' not found. qt.shiboken: (core) sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:2185: signature 'fromFilesystemPath(QString)' (specified as 'fromFilesystemPath(const QString &)') for function modification in 'QFile' not found. qt.shiboken: (core)/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:2185: signature 'setPermissions(QString,Permissions)' (specified as 'setPermissions(const QString &,Permissions)') for function modification in 'QFile' not found. Amends 5276f9bf787eadd5a336f5f6eb6bcf19865de198. Task-number: PYSIDE-1499 Change-Id: I3bfd8f0026993fd080b0b74769958c2084e0eb9e Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add classes QChannel, QChannelComponentFriedemann Kleint2021-06-172-4/+2
| | | | | | | | | | | The required fix in Qt3D should be in now. Amends 886ed33f84453a05ca04c50ed39240fbfd8e1a9b. Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: I6f211112296713eeeba7b908d5390e30fbc06b8c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6/signature: Add PySideSignalInstanceFriedemann Kleint2021-06-171-0/+2
| | | | | | | | | Amends d3388316c3ac87c19cc668d9b5bca2b988db74ca. Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: I0a3b73ac632bca5953eb624f8e5a932d2a83f2e1 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Add assistant executableFriedemann Kleint2021-06-172-0/+24
| | | | | | | | | [ChangeLog][PySide6] Assistant is now shipped along with PySide. Fixes: PYSIDE-1378 Change-Id: Ie08778964f47378acf4e570b9a6dc3690257e411 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Expose QHostInfo.lookupHost()Friedemann Kleint2021-06-174-1/+123
| | | | | | | | Pick-to: 6.1 Fixes: PYSIDE-1160 Change-Id: If8fa16d965fcadaf622beee9ee45e207dc7195d8 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* PySide6: Fix signature of CoreApplication.instance(), fixChristian Tismer2021-06-171-0/+1
| | | | | | | | | | | | The "Optional" keyword cannot automatically be deduced and therefore needs to be added to mapping.py . Amends 890256cc048452e4632eacc6e8882bd5821f07f3. Pick-to: 6.1 Fixes: PYSIDE-1467 Change-Id: I105a52c124f43c88c2633dcb325fa4ed95f033ae Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6/QSignalSpy: Add constructor taking a signalFriedemann Kleint2021-06-164-0/+76
| | | | | | | Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: Ifb9061af1828e7348de3ad5407c830aeb7d4f386 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken: Fix a crash when running .pyi files in Python 3Christian Tismer2021-06-163-6/+13
| | | | | | | | | | | | | | | At the same time, a small overestimate of structures was fixed: The asterisk was missing here: PepHeapType_SIZE + sizeof(SbkObjectTypePrivate *); An omission in module enum_sig was fixed for Qt3DCore: Instead of __name__, __qualname__ is needed. Task-number: PYSIDE-1599 Pick-to: 6.1 Change-Id: Ifd6d70c4c1166a822c8ca517c0d3663c2fc00565 Reviewed-by: Christian Tismer <tismer@stackless.com>
* pathlib: remove return-type from modify-functionCristian Maureira-Fredes2021-06-161-16/+16
| | | | | | | | | return-type is not a valid element for modify-function, and it was generating many warnings. Pick-to: 6.1 Change-Id: I82b37d6af274fae784188cd2f7be3ed4d1953a6b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Add BluetoothServiceInfo::Alternative, SequenceFriedemann Kleint2021-06-162-2/+4
| | | | | | | Fixes: PYSIDE-1571 Change-Id: I0da6014b46222531738ad6d4981a29ba3d8235dc Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Fix duplicate indexes for template instantiationsFriedemann Kleint2021-06-164-28/+53
| | | | | | | | | | | | | | | | | | | | | | For a typedef "using Foo=QList<int>", shiboken generates SBK_QLIST_INT besides SBK_FOO which is then matched by function arguments. The code was however missing a check to restrict this to typedefs, so it triggered for class Alternative : public QVariantList, class Sequence : public QVariantList producing duplicate indexes. Restrict this to real typedefs (which are also represented as classes. Split out the function creating the special alternate index for clarity and add a check for potential equivalent typedefs which would also produce clashes. Pick-to: 6.1 Task-number: PYSIDE-1571 Change-Id: I9275963c4ddb8fc589e414ee1fa19282f6004793 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Silence warnings about unused variables when disabling wrappers ↵Friedemann Kleint2021-06-161-2/+8
| | | | | | | | | | | of abstract classes Amends 71d940b4d426e19b39843e773e345a5147cf9cc5. Pick-to: 6.1 Task-number: PYSIDE-1568 Change-Id: I6b3dc4bd01a2cf561a4b85116c853e15aa9ee2c1 Reviewed-by: Christian Tismer <tismer@stackless.com>
* libpyside: Streamline CMakeLists.txtFriedemann Kleint2021-06-161-41/+7
| | | | | | | | | | | Add the Qt libraries directly instead of building the include paths by hand. Task-number: PYSIDE-802 Pick-to: 6.1 Change-Id: Iaeb2f8cfe6638b9e73a96f5c508d928e7e19aea5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Fix signature of CoreApplication.instance()Friedemann Kleint2021-06-161-0/+1
| | | | | | | | Use the newly added pyi-type attribute to add Optional. Fixes: PYSIDE-1467 Change-Id: I19f203448cef7d14f49668ce296700099dcadda5 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Fix signature of QObject.tr()Friedemann Kleint2021-06-161-1/+2
| | | | | | | | | Use the newly added pyi-type attribute to specify str instead of bytes. Fixes: PYSIDE-1329 Change-Id: Ia2c78715851671056ba1fbaac9bc85e39f9ec4ce Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Add a modification for PYI typesFriedemann Kleint2021-06-157-3/+51
| | | | | | | | | | | | | | | Make it possible to directly specify the type, overriding the modified type and the original type. This helps for example to enclose a pointer return value within Optional[]. [ChangeLog][shiboken6] It is now possible to specify a function argument type to appear in the .pyi files. Task-number: PYSIDE-1329 Task-number: PYSIDE-1467 Task-number: PYSIDE-1588 Change-Id: I7a62059c1f85d09f6f607a4a8d3536894460b751 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Add Qt::FindChildOptions to QObject::findChild(ren)Friedemann Kleint2021-06-143-13/+49
| | | | | | | | Pick-to: 6.1 Fixes: PYSIDE-905 Change-Id: Iae343d15fb0db1d37f95ab2d443596777d2dfac6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
* examples: add default imageCristian Maureira-Fredes2021-06-121-0/+0
| | | | | | | | | | Adding a default image for examples that have no screenshot yet, or are terminal based. Task-number: PYSIDE-841 Pick-to: 6.1 Change-Id: I771173801218654a99f11d1062df12aa10a64eec Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* build support for pathlib.Path, baselineChristian Tismer2021-06-1213-6/+172
| | | | | | | | | | | | | [ChangeLog][PySide6] pathlib.Path gets additionally accepted for all function arguments which have a std::filesystem::path type. This is a first part that implements those modifications which have a std::filesystem::path entry. In a later patch, all the possible other Path insertions will be made. Task-number: PYSIDE-1499 Change-Id: I2dec04dbdb2aaff6ca56c39b28f60281262fe078 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Refactor qvariant conversion codeFriedemann Kleint2021-06-111-8/+18
| | | | | | | | | | | | Use a switch on the meta type id instead of string comparison and catch None-cases in qvariant conversion early on (QMetaType::Nullptr and QMetaType::VoidStar with 0). Pick-to: 6.1 Task-number: PYSIDE-1585 Change-Id: I05da179b8eef6f9a9b86a66e1c40762b655bd724 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Add a check-function attribute to custom type entriesFriedemann Kleint2021-06-116-4/+93
| | | | | | | | | | | | | | | | | shiboken knows some check functions and defaults to typeName + "_Check" in the end. For custom types in modified function arguments, it is useful to be able to specify a custom check function so that the overload decisor finds the right type. Add a CustomTypeEntry class with a checkFunction member for this. [ChangeLog][shiboken6] It is now possible to specify a check function for custom types in the typesystem. Pick-to: 6.1 Change-Id: I21ec541afd5073dede09d359f2e2e16a0c6a0a05 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add QSignalSpyFriedemann Kleint2021-06-114-1/+70
| | | | | | | Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: I7a413a5ca3e64e9270026d4ea5d73d28df20ca5c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* examples: tweak css for the galleryCristian Maureira-Fredes2021-06-111-0/+17
| | | | | | | | | - Using cards with buttons - Fit images as a cover for each example Task-number: PYSIDE-841 Change-Id: I1702fbad8fabc9d0f9e2a06d46afcf73b4075c8d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* QtSensors test: Handle failed readingsFriedemann Kleint2021-06-111-5/+12
| | | | | | | | | | | | Failures have been observed on Windows: qt.sensors.winrt: Unable to initialize orientation sensor factory. "CoInitialize has not been called." for i in range(0, reading.valueCount()): AttributeError: 'NoneType' object has no attribute Traceback (most recent call last): Change-Id: I67d2645b722666631c640bea865f2966b3deb130 Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Use replaced types in functions signatures in generated codeFriedemann Kleint2021-06-103-18/+37
| | | | | | | | | | | Add AbstractMetaFunction::minimalModifiedSignature() to be used in the overload decisor comments and split the formatting helpers accordingly. No caching is required as it is called only once. Task-number: PYSIDE-1588 Pick-to: 6.1 Change-Id: I29b7d6ba33bfe3f4348234697ef1ef8112f86ac9 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PyClassProperty: Correct the decorator and publish the classChristian Tismer2021-06-1011-42/+66
| | | | | | | | | | | | | | PyClassProperty is now correctly published as a QtCore class and existing as an import. As a side effect, a bug was fixed where a syntax error occurred because of a missing signature count. Task-number: PYSIDE-1019 Fixes: PYSIDE-1593 Change-Id: Iae733280d9f9c23244e83a356011104bf527c329 Pick-to: 6.1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix test that creates unrelated problems with paletteChristian Tismer2021-06-101-11/+3
| | | | | | | | | This old test is really redundant and suddenly creates errors. We replace it with a much easier version. Change-Id: I19327c9e1fab170a4bee954f7fe90419aeaec686 Pick-to: 6.1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Use replaced types in functions signaturesFriedemann Kleint2021-06-103-6/+25
| | | | | | | | | | | | This is a preparation step for PYSIDE-1499, but in effect it is solving a lot of old problems where signatures hat to guess what was changed, and failed. Task-number: PYSIDE-1588 Change-Id: Ib20f78e8f79e8928b5ec16b733f22fd85c3a1155 Pick-to: 6.1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
* libpyside: Add type check for PySideSignalInstanceTypeFriedemann Kleint2021-06-092-1/+21
| | | | | | | Pick-to: 6.1 Task-number: PYSIDE-1482 Change-Id: I00d30c95bd5835b6d904bc28f671e284017fffb5 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Fix qcalendar_test.py on Windows/debugFriedemann Kleint2021-06-091-0/+4
| | | | | | | | | | | | | | | | | | | | | There is apparently some clash between QCalendar(QCalendar::System)/ QCalendar(size_t) on Windows, causing: ====================================================================== ERROR: testCalendar (__main__.TestQCalendar) ---------------------------------------------------------------------- Traceback (most recent call last): File "sources/pyside6/tests/QtCore/qcalendar_test.py", line 47, in testCalendar calendar = QCalendar(QCalendar.System.Gregorian) TypeError: Invalid type for unsigned long long conversion Reorder the overloads manually to prevent this. Note this is only in debug mode. Pick-to: 6.1 Change-Id: I1de706d9bf8456a27ae68f995c6d744ce29ae23c Reviewed-by: Christian Tismer <tismer@stackless.com>