| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Pick-to: 6.9 6.8
Task-number: PYSIDE-3171
Task-number: PYSIDE-3147
Change-Id: Ie87993a9723679171c68db423741c47c46a374b6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
| |
Complements 5608c60f47f6c39a6c1dee5fb165c6d70bd1ee3f.
Task-number: PYSIDE-3171
Pick-to: 6.9 6.8
Change-Id: I57f0d8bbd8d0f82367f03d0f55297e74361c44da
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Somehow, by rearranging functions, the values of the converter
compatibility indexes were doubled, too, like the type indexes where
the underlying array was expanded. Maintain the correct value for the
converter compatibility indexes.
Amends 7f69d4d562e1d19efd2c505dceea387a4a87dcfe.
Pick-to: 6.9 6.8 6.5
Task-number: PYSIDE-2404
Change-Id: Iebd5b816090e5dcff3b122f17dbb18756f59e83a
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Expand to two function calls as explained in the documentation.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: I6862c541a273528d312c9521bff80e24ae36582c
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
debug Python
Call communicate()/wait() for the ctest process as well.
Fixes:
lib/python3.14/subprocess.py:1138: ResourceWarning: subprocess 232749 is still running
_warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
testing/runner.py:231: ResourceWarning: unclosed file <_io.BufferedReader name=3>
self._run(cmd, label, timeout)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Pick-to: 6.9 6.8
Change-Id: I7a6cdc29b65520fdd6670e2e8f0629ff0d2f629f
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Amends 0489ec7734c21f1329b432b629cc2e19aef47465.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Task-number: PYSIDE-2404
Change-Id: I1d922fbff3fac84fec83123be68ef3274d8ca5f6
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
| |
Replace by PyLong_AsLong()
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: Ie8e7edac7c92d7d4e126431921dfced387e588e6
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added missing operator << overloads for QPolygonF and fixed QPolygon operator << return as QPolygon instead of None.
- Added the glue code for QPolygonF as well.
- Stubs now correctly show returns as QPolygon/QPolygonF and chained shift calls type check as expected.
Pick-to: 6.8 6.9
Fixes: PYSIDE-3047
Change-Id: I075e5f3fe6644936a31c158136e033e6970797ce
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
| |
Apparently, some C-headers providing string functions are no longer
transitively included.
Change-Id: Iec8160a3bacbc314719bbe5b32f78403900031da
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QtCore.Property
- The stub previously declared notify as Optional[Callable[[], None]], but at runtime notify must be a Signal (emitted when the property changes), never a Callable.
- This caused errors in type checkers when passing a Signal to notify.
- The annotation is now updated to Optional[Signal]
Pick-to: 6.8 6.9
Fixes: PYSIDE-2308
Change-Id: Ie42e220c51dc0419524b9dc5696371f03c42cad9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
| |
Removed mypy comment and moved it below stub docstring
Pick-to: 6.9 6.8
Fixes: PYSIDE-3163
Change-Id: I8e1aafe45a9efe1797e097662c9740ca11422067
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
| |
Since having 'from __future__ import annotations' is redundant in .pyi files, this statement can be omitted.
Pick-to: 6.9 6.8
Fixes: PYSIDE-3162
Change-Id: I956ea7f1f7587ef2ddf942ca84b0941bd4bcc492
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adapt to qtdeclarative/a867363541b59b8e36d56717ff2cb3a271df5997.
Update the .qml files and fix the contact model to work.
Pick-to: 6.9 6.8
Task-number: QTBUG-119987
Fixes: PYSIDE-3167
Change-Id: Ib27ef248f539c130baa0f04d6c9a6938f718882d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hierarchies
Amends 6f996ff3439e69b3938e617135b266974802d5b1.
Fixes: PYSIDE-3158
Task-number: PYSIDE-3115
Task-number: PYSIDE-3069
Pick-to: 6.9 6.9.2
Change-Id: I66bbc9d79d850c108411f9dcbe7e3090ad15b0b3
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Inspecting the `samplebinding` example, much of the code to
effectively call `shiboken6-generator` can be moved into CMake
function `shiboken_generator_create_binding` and shipped with
`Shiboken6Tools` cmake package enabling users to
easily use `shiboken6-generator` in their CMake projects.
This also helps to get rid of the `pyside_config.py` script which
is used to query certain required paths.
- This `Shiboken6Tools` CMake package is packaged with the
`shiboken6-generator` wheel and can be used easily in CMake projects
by using the `find_package(Shiboken6Tools)` command by adding the
Python site-packages directory to the CMake module path.
- The `shiboken6-generator` path installed into the Python site-packages
is different from the one used by the consecutive setup.py build/
super project build. Hence, we create a new export set
`Shiboken6ToolsWheelTargets` just for the wheel package. When
copied into `package_for_wheels` this export set is used.
- Add a special condition to the `Shiboken6ToolsConfig.cmake` file
to skip the dependency checking when building PySide which would
otherwise lead to a circular dependency.
Task-number: PYSIDE-3138
Change-Id: I199b8d9fe743adee4e3b12e8a7e1ad01f3c277de
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
| |
Task-number: PYSIDE-3011
Change-Id: I64048d9263c529ccb41ee70eb6766f5e02507011
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
| |
Task-number: PYSIDE-3011
Change-Id: I0c09b222e68ee0563dc4b0bf07f798f800a63371
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit d563bfbd200ecd1ae538479b5031e88272c9ed37.
For 6.10, it creates an ambiguous signature for
QDBusArgument::operator<<(QList<QVariant>)->QDBusArgument&
QDBusArgument::operator<<(QStringList)->QDBusArgument&
and using iterable for containers other than QStringList and numpy
is incorrect.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3140
Change-Id: Id0732ac483b6b2928fe5a3943dfd61e03885d5fb
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
| |
Adapt to qtgraphs/467bcff49d9733ef7c564b6ee0ceffb66a03292d.
Task-number: PYSIDE-3011
Change-Id: I875631e17411ca1804854eabad8ef4a0d8be7cea
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
| |
Task-number: PYSIDE-3011
Change-Id: I36d115fd150419bc631e3ea4706e217500d00152
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][PySide6] Bindings for QNativeInterface.QWaylandApplication
have been added.
Initial-patch-by: Mark Harfouche <mark.harfouche@gmail.com>
Fixes: PYSIDE-2787
Change-Id: I3484fbd37cb4cd0ae70fde770eb9195a78f4b061
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some invalid Python code caused the highlight series to be empty and a
subsequent crash.
Also, adapt to qtgraphs/98029f9d71c7ae8c5c8f052b03f350ad23e8759c by
swapping coordinates.
Pick-to: 6.9 6.8
Fixes: PYSIDE-3153
Task-number: QTBUG-116785
Change-Id: I6366cb4858fad29e46fac01efbb6c26675c743b8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.9 6.8
Fixes: PYSIDE-3140
Change-Id: Ic88ad2b7afbf485c31ff71ccefb51b83731a609d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Amends eddb03bdc152a95ef7c161c0270e7da9001b327c to add a condition
for windows.
- For Windows builds, the default is the limited API build for
Shiboken as seen in ShibokenSetup.cmake and ShibokenHelpers.cmake.
Change-Id: I5c3823166969e3e7fc6306a2a32c5d82d2e9139d
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
In order to enable the deployment tool,
we need to have the Sounds in the same directory.
Ammends efd8944b263a099e901ab588bc2d9357554f6ead
Change-Id: Idd89ba3b1624f24ed2c36d45af3d09802eb9b22d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
| |
Fixes: PYSIDE-2956
Pick-to: 6.9 6.8
Change-Id: Id8f9d2fb1b5c623e2d449b9362088ba581dd3788
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
| |
Amends 857c8ba006b44c51aa45967fea966b9f813b5a91.
Pick-to: 6.9
Change-Id: I90871779252e93d9b67a1ac6f9109b8349ef96b9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
As of 3.14, the interpreter will sometimes just borrow references and
newly created objects may have different initial reference counts. Fix
the test cases where a base ref count of a new object is compared
against.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: I698be2309362fc65f6727971a5cec4fc4f40cf2e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
| |
Change-Id: I0df7e1365b130433fda670e3a7f7ea8fb93378b1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
| |
Use .value to compare against the Enum value in a hidden
namespace.
Task-number: PYSIDE-2404
Change-Id: I2a7bda2aeac6aa69b3d38d2e377ac9b1127e1fee
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
| |
Pass the moduleDef directly. As a drive-by, add error handling.
Task-number: PYSIDE-2221
Change-Id: Ifd8698fb2ddf4acb12207fa96e6107266b7d6597
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
| |
Correct the variable naming to camel case.
Task-number: PYSIDE-2221
Change-Id: I6241730b8be703e224104f19828d16cf08a3287e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
| |
- Amends efd8944b263a099e901ab588bc2d9357554f6ead to add a section on
preliminary setup for running/deploying the application by running
`pyside6-project` command.
Change-Id: I2a0c96ede0e7100f54f7081b4dc7c04b7fc49e3c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- For input_file and project_dir, use relative paths instead of
absolute paths so that it can be checked in to version control.
- Fix tests accordingly.
Fixes: PYSIDE-3146
Pick-to: 6.9 6.8
Change-Id: I4260a4844edc71964d5c2ab907915e5fbbcf4e41
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.9 6.8
Change-Id: I10cd7e2c160b649fa52ba395b70bd59f19171256
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is bound to grow as more interfaces with more modifications
are added.
Rename the code snippet used for int conversion.
Also add a test for X11.
Task-number: PYSIDE-2787
Change-Id: Ia5f5cf7f0fbb551c38367d80e9fdb4b004db9085
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.9
Change-Id: I030593a9feed8a2f1eaa4c7f3e22f15ef9ccdb7e
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The deletion of the weak ref in ~TrackingMethodDynamicSlot() did not
reliably stop the notification from being triggered, causing
corruption later on since the address of the dynamic slot was used as
user data.
Use the Python receiver object as user data instead (which is only
used for map look up) to delete the connection to protect against
multiple invocation.
Remove the deletion of the weakref since it is removed in the
notification.
Remove class TrackingMethodDynamicSlot as it does not really have any
functionality any more.
The comment about releasing the weakref in case DynamicSlot outlives
Python is apparently not an issue since otherwise the deletion of the
function in ~MethodDynamicSlot() would have caused issues.
Amends 33bd61d13d8d9e3794b6049891be62f3351313d9.
Pick-to: 6.9 6.8
Fixes: PYSIDE-3148
Task-number: PYSIDE-2810
Change-Id: Idc07d0774afaf99df93185c90e975291a42ffeaf
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update type check, typing.Union is now a type (not typing._SpecialForm) in Python 3.14.
Previous workaround that only checks a certain string removed.
Amends c22dd4fb11f8279b1946094e057988b7b40ea07c.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: I648626aeeddf6b2b05a745d7db688cd48aa2b0f6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.9
Change-Id: I579001734a451959592dfeef39e04aacfcf07fbd
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
| |
- The current version mentioned in the documentation is outdated.
- Updated to the latest version available.
Change-Id: Ia25d8fd648ab437833ef87263d19badbd02b1885
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- PYTHON_LIMITED_API variable is specific to Shiboken build and is
not available during the configuration of PySidePlugin because it
is not a global variable. Instead, FORCE_LIMITED_API should be used
which is the correct variable passed from setup.py to CMake.
- The issue was specifically noted in Windows where PySidePlugin tries
to link to the wrong Python library even when PYTHON_LIMITED_API
is passed.
Change-Id: I1d272d27053cdbc1c754b7e0fb6cfe49d37ff4ce
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use Optional[...] to reflect that these functions may return None for functions QGuiApplication.screenAt, QGuiApplication.modalWindow and QCompleter.popup
mapping.py file had already a list for functions missing optional return, the function names added to the this list and removed from typesystem.
Amends da0f2625bf368e7d8ebd643cc303c8b7e6a6805d.
Task-number: PYSIDE-3139
Pick-to: 6.8 6.9
Change-Id: Id6331862d7b0894a3e97b95e2e825533eca1896f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Open the files directly as advised, fixing:
testing/command.py:170: PendingDeprecationWarning: FileType is deprecated. Simply open files after parsing arguments.
type=argparse.FileType("r"),
testing/command.py:198: PendingDeprecationWarning: FileType is deprecated. Simply open files after parsing arguments.
"filename", type=argparse.FileType("w"), help="write the build dir name into a file"
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: I78949168309b8939d9dd2db5bedb277b6a679d28
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
| |
Adapt to qtbase/82eb0fc09e048b6074a9205e371a8c17576b421a.
Task-number: PYSIDE-3011
Change-Id: Id6aeab28948c54572069bca676c944327282a7ba
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
| |
Added a workaround to handle where 'typing.Union' is represented as '<class 'typing.Union'>' during signature parsing.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: I285e65dbf09a5f15429bcd279d89db173f2dff49
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new Qt Design Studio tutorial to the documentation. The "Drumpad"
example is added to the examples/tutorials folder, with both initial and
final projects.
The required Sounds are in a directory at the same level as both
tutorials in order to reduce space.
Change-Id: I59fdd662775ae48ee04e663d4aa5aa8cb333fcd5
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use Optional[...] to reflect that these functions may return None for functions QGuiApplication.screenAt, QGuiApplication.modalWindow and QCompleter.popup
mapping.py file had already a list for functions missing optional return, the function names added to the this list and removed from typesystem.
Amends da0f2625bf368e7d8ebd643cc303c8b7e6a6805d.
Task-number: PYSIDE-3139
Pick-to: 6.8 6.9
Change-Id: Id6331862d7b0894a3e97b95e2e825533eca1896f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Shiboken::AutoDecRef must not be used for return values, it causes a
missing reference.
Amends e3631c3322d28447068de3a874055ff937b237c4.
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Task-number: PYSIDE-3002
Change-Id: Ib011b35562947d45b997e35ca45a2f55d16348b3
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes warnings:
Unknown File>: QML WebEngineProfile: Please use WebEngineProfilePrototype for profile creation from 6.9, as this function will be deprecated in the future releases
<Unknown File>: QML WebEngineProfile: Please use WebEngineProfilePrototype for profile creation from 6.9, as this function will be deprecated in the future releases
Storage name is empty. Cannot change profile from off-the-record to disk-based behavior until a proper storage name is set
Switching to disk-based behavior
Pick-to: 6.9
Change-Id: Ie46aefdd522cbdb47bd8a0ac152ab61e7c69f50c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|