| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-487
Change-Id: Ia20a9dbfc00e61781fb4be0fa0a205facbb82a1a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
It needs to be a value type for the underlying QVariant conversion.
Fixes: PYSIDE-2936
Pick-to: 6.8 6.5
Change-Id: Id62adad6b886546a33d3f030ee98312d1b0586ab
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a missing docconf files:
- QtWebView
- QtStateMachine
Fix documentation of QtPdfWidgets (point to QtPdf).
Adds documentation Qt::mightBeRichText and Qt::convertFromPlainText
(namespace "Qt"/QtGui).
Pick-to: 6.8
Task-number: PYSIDE-2918
Task-number: PYSIDE-1106
Change-Id: I4eccaa20cfe82c2ec44cdbef6ec091d4592c0699
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Nuitka 2.5.1 imposes strict checking for the Qt plugins included
through the --include-qt-plugins option by checking if the plugin
actually exists in PySide6 installation. Consequently, the plugins
"accessiblebridge", and "platforms/darwin" which are not required
by Nuitka are removed from the list of plugins to be included.
- Adapt tests.
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: I89cef4acf102e01c229b1dd6063fc08903ea686d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Ignoring .webp files are not needed in the newer Nuitka version.
- Additionally, also adds a comment differentiating between the
`plugins` fields used in the deployment configuration file.
- Adapt tests.
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: Ibbaab03021fa50e4777caa346a2c128fd5e1a06c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Change-Id: I82f38a1ec06b922e8554d7aac8969cf945e338ba
Task-number: PYSIDE-535
Pick-to: 6.8 6.7 6.5
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-1106
Change-Id: I28edb166ca6568841012276679ac290b09e64505
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to the API limitations, we have to ensure that the engine is deleted
before other parts of the application is deleted. Otherwise exposing
objects using setInitialProperties() or setContextProperty() for example
will cause warnings to be printed. It is a good practice to always
delete the engine manually so all the code should be consistent.
Task-number: PYSIDE-1612
Pick-to: 6.8
Change-Id: I01f16359e9d90cefd5957708fe12ce489bd7edc0
Reviewed-by: Jaime Resano <Jaime.RESANO-AISA@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
This change would have been very simple (basically one constant)
if there were not mypy which needed more effort to stay correct.
Change-Id: I464b0522f9d174c5a302f85caf2fcbe202dcaed2
Pick-to: 6.8
Fixes: PYSIDE-2624
Task-number: PYSIDE-2846
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Adapt to qtdoc/545681fbf071aa1c2ccc7a1211814440e592314a.
Pick-to: 6.8
Task-number: PYSIDE-1106
Change-Id: I5697cdc2ec8798b09a8b13f715821f012aeb3d74
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
|
|
|
|
|
|
| |
It brings some clarity to the documentation.
Pick-to: 6.8
Change-Id: I8787e5d6a3ceedcd91442e0e1f9561dbea657d7c
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Adapt to qtbase/8c8d6ff7b6e2e6b1b673051685f1499ae4d65e05
and add a deprecation warning.
Task-number: QTBUG-108199
Change-Id: Ic16b302f87fd4a9b507e1ee670447b6addd90f34
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I55de688e62287c4fef8e88964fa878690f6134a0
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is a continuation of the previous patches that were
replacing the usage of macros for: lists, tuple, bytes, and float
in the code, by the equivalent functions.
[ChangeLog][PySide6] For the limited api builds (wheels) PySide had in
place aliases from Python macros to their function equivalent. This is
now removed, in favor of using the functions directly.
Change-Id: I838bebac80067e3094b2a0dfadd1614f9644f7ca
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Removed PointConfiguration since it does not exist in QtGraphs.
Amends 649592a8cbc9c656a7b9be77f043538bf4e242d5.
Pick to: 6.8
Change-Id: Ic4f1a58700c5b3c19e5d9f51bb2d644382bfa40e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Task-number: PYSIDE-2926
Change-Id: Iadbbdfea8a5f515ef46f7a32169cd6d19b3ae77d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Change the parameter to be (object type) 'QLoggingCategory *'
to ensure type checking. Shiboken will then generate the argument
conversion.
Amends 936bdcf97f8ca657531496592dfce7d9144fa977.
Task-number: PYSIDE-1899
Change-Id: I3afa43c8c410c57ee1be12f65e3cbd5675bd2d41
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I0e97b7eaf45f35fc2bd86c84417e4231198a6134
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
It causes less overhead than the previously used stream operator.
Pick-to: 6.8
Change-Id: I3ed1365c7da3dee1af3258391d0150ade8a667f0
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Additional include "pyside_numpy.h" needs to be within
<extra-includes>, else it replaces the class include file.
Amends 649592a8cbc9c656a7b9be77f043538bf4e242d5.
Pick-to: 6.8 6.8.1
Fixes: PYSIDE-2927
Change-Id: I4883976144743f04e27589626c182e3478bea155
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Added appendNp and replaceNp
Added test for appendNp and replaceNp
Added the missing file "qcharts_numpy_test.py" to QtCharts .pyproject
Pick-to: 6.8 6.8.1 6.5
Change-Id: I55aeba0fd117a8a82c3f69e18a50358936610af9
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- Expanding on part2 documentation to include detailed steps on
creating a backend REST API using FastAPI and SQLite.
Pick-to: 6.8
Task-number: PYSIDE-2850
Change-Id: Icfe2b9582e53b1fc59a67be661da1c5fe290fe6f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- This tutorial expands on part1 by integrating SqlAlchemy with PySide6,
by storing the data in a SQLite database.
Pick-to: 6.8
Task-number: PYSIDE-2850
Change-Id: I195149bd861b1fb1a25623a9fe05e42f1e85054c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Detailed tutorial with instructions, explanaton of code concepts,
gifs, steps to run and deploy the application.
- Additionally, register a new role {deco} to be used in markdown.
It is the same as :deco: in reStructuredText.
Pick-to: 6.8
Task-number: PYSIDE-2850
Change-Id: Icb732e830948ee7ad1cb9dcf6bd07b5077c89497
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The custom pages that document specific classes/functions
need a title to be properly displayed once searching in the
documentation page.
The extra module pages don't need a specific title.
Change-Id: Icff3991cc1dee38a2072b49810b22a5bf228147e
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
| |
It is useful for leak checking.
Pick-to: 6.8
Change-Id: Ida19cb863e8232e26c86fa82a64d0d3f741b4646
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
libclang 16 was not working, and to have consistency it is changed to 18+
Pick-to: 6.8
Change-Id: I54e4db59f45ff90bc19916ca77434eb2541272b4
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Change-Id: I7d22571e97e9bbbca663783aaa480b21e1bc991c
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Discovered while testing deployment on macOS,
nuitka fails when the directory and file (e.g. Main/Main.qml)
have the same name.
This might be able to be fixed by other arguments or even
upstream in Nuitka, this is a simple change that will encourage
people not to use the same name in the meantime
Pick-to: 6.8
Fixes: PYSIDE-2919
Task-number: PYSIDE-2910
Change-Id: I596d820e4a30996f9cf934a9f93e6436e51ad0d2
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The other missing things are sequence and mapping methods
which need some more support from cppgenerator. Will be
added later.
typing.Self is only known since Python 3.11 .
We emulate that by patching it into typing and adjusting
the Python version for mypy.
Task-number: PYSIDE-2846
Change-Id: Icb1060c7bba355061d8f134c8e76fb14369d7dda
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The enum Loops provides constants ( Infinite = -1, Once = 1) to be
passed to functions taking int. Change the type to IntEnum to enable
this.
Fixes:
self._sound.setLoops(QSpatialSound.Infinite)
TypeError: 'PySide6.QtSpatialAudio.QSpatialSound.setLoops' called with wrong argument types:
PySide6.QtSpatialAudio.QSpatialSound.setLoops(Loops)
Pick-to: 6.8
Change-Id: Ife4d7a6197220f13a2d59547d8a6b3a503eaff55
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Remove old macros usages for the Limited API compatibility,
and doing some refactorings to their usages.
Change-Id: I10d675a1831d26b3fc878151e3a6ec40c5caddb1
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
macros
Removing old macros for compatibility with the limited api,
and refactoring some of their usages
Change-Id: I33954199d2ef9884c64b963863b97aed851c440f
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Add missing find_package() statement and simplify condition.
Amends 83603fed574fc7b0eed452b347170862b12a98f6.
Task-number: PYSIDE-2910
Pick-to: 6.8 6.5
Change-Id: I9d899f141495c486002f01bf7e5db036244d009a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Removing old compatibility macros for the initial limited api
implementation.
Change-Id: Iced149450bd9bda18e43ac0acea0061cdcdb211e
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PySequence_Fast_GET_SIZE is defined as:
(PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
and when using the Limited API we re-define the _GET_SIZE macro
to be the _Size function, and considering this is our standard
use case, the macro could be replaced directly by the function.
Replacing also some cases were int was used instead of Py_ssize_t
when using PySequence_Size.
Pick-to: 6.8
Change-Id: I31aecd571a1d8ea82a3441f0b9e16ee19f026b05
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PySequence_Fast_GET_ITEM is defined as:
(PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i))
and when using the Limited API we re-define the _GET_ITEM macro
to be the _GetItem function, and considering this is our standard
use case, the macro could be replaced directly by the function.
However, the function returns a new reference, so we need to manually
drecrease a reference after the usage, to avoid reference counting
issues.
Change-Id: If361e80b9e40b033e009ad46b2b9430e5b4c8eaa
Pick-to: 6.8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Modify
virtual QByteArray QQuick3DInstancing::getInstanceBuffer(int*)
to return a tuple of <QByteArray, int>.
Pick-to: 6.8
Change-Id: I3a6c249e2e72c4a490aa34c6caa847528b1ceb62
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Addressing a few comments from tests that were related
to the Python 2 compatibility.
Pick-to: 6.8
Change-Id: I88c614549cfb91f879fe3e0d82a6988362e0ce19
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was still commented out due to not being present in the 6.7
snapshot used for adaption in
a2486060f78a42739d88a460b47f23b0c75b4a79. Remove private class
QWebEngineMediaSourceModel.
It needs to be a value type since it is used in signal
QWebEnginePage.desktopMediaRequested(const QWebEngineDesktopMediaRequest &),
but has no default constructor. This is normally not supported but works
due to it not being used in any other API.
Task-number: PYSIDE-2497
Fixes: PYSIDE-2913
Pick-to: 6.8
Change-Id: Ifaf6bd11988e802b245b33724b1b0b071f7e098a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It turned out that mypy is not loaded by COIN tests when
requirements_coin.txt is used. Also enforce mypy existence
in COIN to prevent further configuration errors.
As a drive-by, a new cache is used that is > 10% faster.
Task-number: PYSIDE-2846
Change-Id: I75a27cfd0cb0fb0d7cd44c2a121291af052b0d8f
Pick-to: 6.8 6.8.0
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The __all__ support for the PySide6 module works just fine.
But there is a last incompatibility that might strike others
as it did hit ourselves when using PySide6.__dict["__all__"]:
Use a derived dict type and define a __missing__ attribute.
Derive further a module type, then it works without problems.
A little support function in Shiboken allows to replace the
dict of PySide6 with this derived type.
amends 703d975f16aff95bc9014a2689a3ae824b5a552f.
Pick-to: 6.8
Task-number: PYSIDE-2895
Task-number: PYSIDE-1890
Change-Id: I018228116a5fdd1401c1ebd42ceb886f6829deeb
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default, mypy stores its cache data in $(pwd)/.mypy_cache .
It is better to save it in the pyside_setup folder under a version
specific name. This makes the cache survive full rebuilds.
We tested that this folder is really writable.
Task-number: PYSIDE-2846
Change-Id: I739e74cb24b5aaa1b2b457195e8a143b56a2bc44
Pick-to: 6.8 6.8.0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
First attempt to explain a little how mypy errors were treated.
Task-number: PYSIDE-2846
Change-Id: I13a0d2b8298d5fd1637d3bca9e2b979c7062b811
Pick-to: 6.8 6.8.0
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Referencing inner classes like QByteArray::FromBase64Result did not
properly work due to the inner classes being generated to separate
documentation pages.
Change this such that inner classes are nested into the documentation
of the outer class.
The problem though is that this causes excessively long pages for Qt
modules with namespaces like Qt3D/QtDataVisualization (all
deprecated). For them, a type system attribute is added to keep the
old behavior.
Pick-to: 6.8
Task-number: PYSIDE-1106
Change-Id: I51330afa739027c28930af3902b83b1e762b92ef
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Extract longer QtCore documentation snippets to a separate file such
that a minimum build also has doc snippets. This also makes maintenance
easier.
Pick-to: 6.8
Change-Id: I9fb0c93f52d3560e2e07cff076ae516ba96c90a4
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- Add indentation
- Use refs for classes and decorators
- Fix method/parameter listings
Pick-to: 6.8
Change-Id: Iaada9d40e734935d5e56d75fc2a9b1a72da58e33
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Introduce references. Add a note pointing to the Qt.ConnectionType
parameter.
Pick-to: 6.8
Task-number: PYSIDE-2901
Change-Id: Ibed6d439ef536053dc00c1b941b6d0b02f626b95
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Turn it into a proper class documentation, which can be referenced.
Fix the tutorial link.
Pick-to: 6.8
Task-number: PYSIDE-2901
Change-Id: Id09946fc8598ccc0eb9658ae1a8a5cbef102a2e5
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Adapt to qtbase/482287debbecf0c4ee9057faed2c17f0e1126b56.
Task-number: QTBUG-69988
Pick-to: 6.8
Change-Id: I9277b74fa9d7cb2029921432cda96bf552d7ccca
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|