| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
| |
All classes are in a namespace Qt3DAnimation, which produces an overly
long page. Fixes an oversight in a8b0954cae4b4322ee8a206875f942977174b826.
Pick-to: 6.8
Change-Id: I61b7d703f260ac9cbe09170a32580ef5ba635720
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch refactors the code of the pyside6-project tool to simplify
the upcoming change of the project file format, pyproject.toml.
The CLI tool documentation is also improved.
Task-number: PYSIDE-2714
Change-Id: I010bbb58f3ed8be5ad5f38687f36b4641a4a021d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
| |
This patch cleans up the pyside6-deploy tool code.
Adds some type hints and fixes some casing consistency issues.
Change-Id: I16988ebf8a15bd3d2bfd12366ebacb3ffe4001e2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
| |
This guarantees that all find_package hints for `Qt6` are accounted for.
Fixes: PYSIDE-3026
Change-Id: Iab7d3a72b1743747e360e7f5ed2372e1b30fa047
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
When an exception occurs in a task, the logging is not helpful since it prints out nothing specific about the error that occurred. Catching the traceback and printing it out with the task in which it happened brings a lot of details to resolve the exception faster.
Task-number: PYSIDE-3001
Pick-to: 6.8
Change-Id: If199da28a37406779ac5bec178fe756d1757b08c
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameter
When retrieving the function groups, check if there overloads that
differ in one parameter and remove them based on rules specified in
the type system. For example, when QByteArray::number(qint64) and
QByteArray::number(int) exist, it does not make sense to generate an
overload for int with parameter checking.
[ChangeLog][shiboken6] It is now possible to specify rules
to remove redundant overloads that differ in one parameter.
Task-number: PYSIDE-2701
Change-Id: I8e1ccbccfe7b5ad76486dc197e8d9c36f1809fbe
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
Add it as an integer-type. A follow-up change is needed to remove the
resulting redundant overloads with int.
Change-Id: Iba6eb399d218d5116c8030144c1e4984d11218a7
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
It turned out to be boring if the PYI files are printed locally.
Task-number: PYSIDE-3012
Change-Id: Ic47e1828367c1f00c263451a6090cb5e03313103
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
The old implementation was calling the string-based overload, but did
not add the '1'/'2' markers added by SIGNAL/SLOT. Call the QObject
overload directly.
Fixes: PYSIDE-1277
Pick-to: 6.8
Change-Id: I912f46c33959b622301b0a75e771057c8874f7e3
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Reason: We cannot find an error which happens in CI on Windows 11, only
Task-number: PYSIDE-3012
Change-Id: I99a2d72e49027cc76767c70bdc94d8d3f6451782
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Import Callable, Iterable and Sequence from collections.abc,
since using them from typing is deprecated.
Pick-to: 6.8
Task-number: PYSIDE-3012
Change-Id: I131c00005df410fdaa40b338a2a728512269aaa0
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
The restricting type annotation for call function in Slot class is updated to more flexible one.
Pick-to: 6.8
Task-number: PYSIDE-2846
Change-Id: Ic26ebb42bb6bfe4f4d0455125ac92b3552c62d06
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
Reason: We cannot find an error which happens in CI on Windows 11, only
Task-number: PYSIDE-3012
Change-Id: I8f2e4c56ee8c81e8d3b348c624be5df80d5df275
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I0780ee2f7f5f42a9281f4add3818109628df8332
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add a file cache caching a small number of files with a convenience
API for retrieving lines and regexp-delimited snippets. This avoids
re-opening snippet files several hundreds times during building.
As a drive-by, fix a broken doc snippet.
Pick-to: 6.8
Change-Id: Ic468dbff755285456034a176e4d3eae348dcbf15
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Add the overload-number attribute to parse function to execute first
QString check and then QStringList.
Test for parser added.
Fixes: PYSIDE-3017
Pick-to: 6.8
Change-Id: I7e5a02fec50405bc3d71c5662a7909d34f4d20df
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The --pretty switch shows a little context.
If that does not help, we will have to send the whole
PYI file back from CI.
Task-number: PYSIDE-2846
Task-number: PYSIDE-3012
Change-Id: I45a4111c6ea78bf6c487077c43eb37b946602ec8
Pick-to: 6.8
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
Brush up the code and remove unused templates.
Pick-to: 6.8
Change-Id: Ic9a0a6fb941e0d110124df7f02b2fc3c91664656
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Prototypically move some template code from QtGui into
snippets.
[ChangeLog][shiboken6] It is now possible to use
file snippets for XML template content.
Change-Id: Ifb23407819c843e9059225a5bd269d954f837ee3
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Amends cab304e70cce68bbdaa70d7f7b2bf6e95e85e6d2.
Restructure the test.
Pick-to: 6.8
Fixes: PYSIDE-3020
Task-number: PYSIDE-1057
Change-Id: I8954a534648ded5d476fec608d0699132a026461
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
The old name was modeled after std::auto_ptr, which has
been deprecated for quite a while.
[ChangeLog][shiboken6] Helper class AutoArrayPointer has been renamed
to ArrayPointer. A convenience typedef is provided.
Change-Id: I067b22a102961348067a131fcc6e6b5fc42d3f76
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I9530a1b3f2b315a91fbc8d0885a46640c73c4f2a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Use templates introduced by e3631c3322d28447068de3a874055ff937b237c4.
Pick-to: 6.8
Task-number: PYSIDE-3002
Change-Id: I5b7948c83768fa0c03c6b360717d202270ebbc9e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
It has been widened to qintptr in Qt 6
(qtbase/3b38c)3c7ffa71c00c172cf0e05742835a304300).
Pick-to: 6.8 6.5
Task-number: QTBUG-72968
Change-Id: I17846607108b29527415c97bbaabe2acecf9bac0
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Use the existing code snippet for glGetString.
callArrayFunction appears to be unused.
Pick-to: 6.8
Change-Id: I7eeff9866bc7b4eb6e0f9bb409ae0382723c96c4
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-3011
Change-Id: I92fde30427d6fc8572f1d65e267809c1255b0d31
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
geometry primitives
Add argument conversions PySequence<->C-style array, modelled after
QGraphicsView::drawItems().
Move some templates around to the common template file and add generic
conversions for lists of value types.
[ChangeLog][PySide6] The virtual functions of QPaintEngine taking a
C-style array of geometry primitives have been fixed.
Fixes: PYSIDE-3002
Pick-to: 6.8
Change-Id: Ife8fed0e17c79091f25f57bf97bcca438452e177
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The benchmark tool now uses per default the limited API but
is becoming more flexible. This will take some more checkins
until it comes to convergence.
The starting point stays 2025-01-27 right before a substantial
change which is otherwise not measurable.
The switchable size reductions will slowly vanish. The difference
approach makes then no longer sense, and the --absolute switch
will become the default and vanish.
Task-number: PYSIDE-2701
Change-Id: I990ef26860924c10784a70ec74a2a318b4be7d41
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
The constructor is a non-type template that checks the string length.
Add a function for it.
Pick-to: 6.8
Fixes: PYSIDE-3013
Change-Id: I35626c29edddf38c04c5b913a35b36c540c45d6a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Adapt to qtbase/d49a7412f55390e461773f4ffc36a82958d59b6d.
Change-Id: I45065fd96a055f7966268ca14fd517f23798a923
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I90fe3e854af90618cc2e450a473110306d651b4f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Add the missing native return value conversion. Complements
6c0a0d70305cd6e12260a352099e74d34f3c239e.
Pick-to: 6.8
Fixes: PYSIDE-3014
Task-number: PYSIDE-106
Change-Id: I7cce422512175dcbf15ca0e9c0a0a3be5dfb93d6
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Add a further indirection in callPythonMetaMethodHelper()
when only a pointer conversion is available for a const-ref parameter.
Task-number: PYSIDE-3004
Change-Id: I6ec7c5a9d4d30c8e4973ec79534d5f3eb3bf8204
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Use string literals instead of str(version), which causes
6.10 to be returned as "6.1".
Task-number: PYSIDE-3011
Change-Id: I2c5a295c6f283d1efb92dabcb05c3baed8b20b9e
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After sizebench.py was used successfully on relative changes
(with a disable switch in the code), we now add an absolute
mode. This way, we can stop to support switching.
The starting point is 2025-01-27 right before a substantial
change which is otherwise not measurable.
The new mode is activated with --absolute / -a
It works much faster since it compares against a constant.
Task-number: PYSIDE-2701
Change-Id: I341a23722a304473e92f8ef38c6d16b3b69a8a92
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This enables removing a duplicate modification for
QGraphicsWidget::getContentsMargins() which is inherited from class
QGraphicsLayout, QGraphicsLayoutItem (2nd base class) and activates
other base modifications for QGraphicsObject-derived classes.
Also add a flag indicating whether the modification is inherited
from a base class or directly specified for later use
in size reduction.
[ChangeLog][shiboken6] Modifications from base classes in multiple
inheritance will now be correctly applied.
Task-number: PYSIDE-2701
Change-Id: I190764a673fb6b7ad44aea5ed90ff64c57eda324
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Fixes: PYSIDE-2862
Change-Id: I7cef186d1fb1e1b23cb62daa659db6fab2f460d9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
- Remove superfluous casts
Pick-to: 6.8
Change-Id: I8dd7cdd1e9d3f30103fc6d87bf04d7f0d0182603
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- Fix spelling and a misplaced anchor
- Add note about enumerations
Pick-to: 6.8
Change-Id: Iafb8eaff6140381aeaa705c0d164b72708a00154
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
In preparation for a change that might remove the automatic finding of
private modules.
Task-number: PYSIDE-2862
Task-number: QTBUG-87776
Change-Id: I22f872d341b20a3f39aa722ee83c2a7993661710
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is arguably a bug, but would only be noticed in testing. It was
preventing proper garbage collection in tests using QSignalSpy.
I can see an argument it should keep the target object alive while
running, but I don't see a good way to DECREF on close, so not holding
a reference seems like the best option.
Change-Id: I730d8b0a6efd3fef63dfd224917c2e5927d144c4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- Add an example of a mock Design Studio project
- Add tests for pyside6-project CLI tool
Task-number: PYSIDE-1612
Pick-to: 6.8
Change-Id: Ida3e469a4d2dab2fa4d8a2e473242faf1716b075
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Fixes: PYSIDE-2988
Pick-to: 6.8
Change-Id: I29f5fcbcafdf240a8cb6f91f6c4b8d7fce47ec72
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Design Studio projects will specify the resources employed by the
project in the .qrc file. This way, the deployment process is way
simpler since all the file dependencies are stored compiled in a .py
file.
Task-number: PYSIDE-1612
Change-Id: Icc0047e9f9c183a4db51052a84743e5b095ec76a
Pick-to: 6.8
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Just adding some type hints and a bit of code cleanup
None of the existing logic should be affected by this change.
Task-number: PYSIDE-1612
Pick-to: 6.8
Change-Id: I42175426a03dc463b8da82aa560c3f13ab842392
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- Uses `create_wheels.py` instead of `setup.py install`
- Additionally, fix some spelling mistakes.
Pick-to: 6.8
Change-Id: I79ccdc940295dc48650742af57f3abc1b3e2fd2b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Add a custom admonition for modified functions
to highlight Python-specific aspects.
Pick-to: 6.8
Task-number: PYSIDE-1106
Change-Id: I3fd32151b0786b6225970a7a05df56953d999fb1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- The tutorial explains how to deploy PySide6 applications to Boot to Qt
OS on Raspberry Pi.
Pick-to: 6.8
Change-Id: I0764c13ddc2ad47084821048e734c70ed6263b0c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- Add `uv` to the building instructions for PySide6, to make it easier
for users to build PySide6.
Pick-to: 6.8
Change-Id: I95708b5f8049ddc1f94ff7dd9d9a8b1cca4d2ce3
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-487
Change-Id: I8aea7a1e0e6a11a44728c7c4a402576d27ad4790
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|