| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Task-number: PYSIDE-186
Change-Id: Ic4ba7f22bead8418a18dec100a77e3befe038a76
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-1482
Pick-to: 6.1
Change-Id: I337f8c817bc4d612a02a5482a63a94303e11c300
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Task-number: PYSIDE-1378
Change-Id: I9433fd3b1d4d09c6a7d961d67c103ccd651e5beb
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
[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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Amends d3388316c3ac87c19cc668d9b5bca2b988db74ca.
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: I0a3b73ac632bca5953eb624f8e5a932d2a83f2e1
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
The qmake variable was changed to a string by
579372b8d45f847ddaae14b361b9d8ca54c044f3.
Task-number: QTBUG-75870
Pick-to: 6.1
Change-Id: Idec1e9062fdbe474429885d70f36eb3accca0193
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
[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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
qtpaths has become the recommended tool for querying Qt properties
(see qtbase/fef850c51a069ed89ba400e6ffccbbea4b0cbb9f). Deprecate the
--qmake option in favor of it and use qtpaths for the values. qmake is
only used if a path is given on the command line.
[ChangeLog][PySide6] qtpaths is now used to query Qt properties.
Task-number: QTBUG-75870
Change-Id: I9a29b05d8b6e982647eeeeeda0134ddc807da141
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Determine build type and macOS target by creating a cmake
dummy project instead of a qmake one.
Task-number: QTBUG-75870
Change-Id: Ia25124e42dd10bf503f7e613b0edcec88a005633
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: Ifb9061af1828e7348de3ad5407c830aeb7d4f386
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
| |
Prepare for adding more binaries.
Task-number: PYSIDE-1378
Change-Id: I0156556503b2379a738175491300057e3d7b132c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
| |
Previously we set that only when running test.
Pick-to: 6.1
Change-Id: I2102e591737d0c9febf26406fb32ef33f1cb94dd
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
- Add screenshot
- Add one-phrase for each example from doc.qt.io
Pick-to: 6.1
Task-number: PYSIDE-841
Change-Id: I72ee7b34d9ecfd595c7e6301fe1576086bc82203
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are two hard-to-solve refcounting bugs that are
only detected in debug mode.
For the new Windows debug test setup (hopefully coming
soon), these errors need to be ignored.
Task-number: PYSIDE-68
Task-number: PYSIDE-79
Change-Id: I86bb3fa06cc201e5c123aa3f7cff1d814d44e242
Pick-to: 6.1
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
of abstract classes
Amends 71d940b4d426e19b39843e773e345a5147cf9cc5.
Pick-to: 6.1
Task-number: PYSIDE-1568
Change-Id: I6b3dc4bd01a2cf561a4b85116c853e15aa9ee2c1
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
qtchooser does not exist in Qt 6. Change _qmake_command to a string.
Task-number: QTBUG-75870
Pick-to: 6.1
Change-Id: I6eb69fbd839567ba0e67c9d792666662126494cc
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
| |
Prepare for adding more binaries.
Task-number: PYSIDE-1378
Change-Id: I1e3a39db28da19fe9a307145d599d7448428652d
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
The module does not exist anymore.
Change-Id: Ia66265cb95305e8a4d8732ebd440023c823f62ae
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
Python 2 is obsolete.
This reverts commit 6635c196f3813f722c3498ecd98a4fbf4bf14741.
Pick-to: 6.1
Fixes: PYSIDE-1437
Change-Id: I2eae44459efd6b4b9a6473563c4b5864ad932bd5
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding screenshots and small documentation file to the modules
- corelib
- datavisualization
- external
- opengl
- quick
- sql
- uitools
- webchannel
- webenginewidgets
- some widgets
- xml
Renaming the widgets gallery due to name conflict
with the quick controls gallery, and fixing two
typos from contextinfo.py and hellogl2.py.
Task-number: PYSIDE-841
Pick-to: 6.1
Change-Id: I2705e5d605fa738da0dca906cf6acb4b9d5d3dcd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding screenshots to:
- declarative
- multimedia
- network
- widgets
Renaming examples to avoid conflict on images names.
Task-number: PYSIDE-841
Pick-to: 6.1
Change-Id: I21f403ee62b45c0cb2a45eca6c5c99f11901610e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: I7a413a5ca3e64e9270026d4ea5d73d28df20ca5c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
| |
Change-Id: Ibf646d91978d6df2ecd1932737b5d0f3d45965a1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I4929dd24bd09f47ad221a4646bfb029c72e69748
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
The build scripts used a reimplementation of ldd to determine
library dependencies in case ldd is not installed which may
fail on recent systems.
Try ldd first and fall back to the reimplementation only
if it fails.
Change-Id: Icca16c2fae0ce6086284eb0194a28d8ec32daae6
Reviewed-by: Simo Fält <simo.falt@qt.io>
|