aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
Commit message (Collapse)AuthorAgeFilesLines
...
* shiboken6: Replace options related to nb_zero by nb_boolFriedemann Kleint2023-09-061-1/+1
| | | | | | | | | | | | | | nb_zero is Python 2 terminology. Rename the related functions and use new options. [ChangeLog][shiboken6] The command line options --use-operator-bool-as-nb_nonzero and --use-isnull-as-nb_nonzero have been replaced by --use-operator-bool-as-nb-bool and --use-isnull-as-nb-bool, respectivily to match Python 3 terminology. The old options continue to work. Change-Id: I1201f4b15e021c8df96740149c20fa1478c12ae1 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide Build: Remove patchelf for Qfp binariesShyamnath Premnadh2023-09-061-0/+8
| | | | | | | | | | | | | | | | | | | | - patchelf was used only for setting RPATH - This approach uses CMake for setting RPATH instead of using a post processing hack like patchelf - Additionally, CMAKE_INSTALL_RPATH_USE_LINK_PATH which was passed explicitly is removed - For shiboken6 generator, removal of patchelf dependency leads to having local paths in the binary because of appending local path to linked library files when installed. With this patch, similar to Windows, for Unix platforms shiboken6 generator used for building PySide6 sets the path to the dependencies using a shell script by appending to the `LD_LIBRARY_PATH` variable Task-number: PYSIDE-2410 Change-Id: Ibee03ce7d8085a94b343664295b3ab93b76317c2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* PyPySide: Fix a crept-in incompatibilityChristian Tismer2023-09-051-0/+2
| | | | | | | | | New modules should always be checked for PyPy compatibility. Task-number: PYSIDE-535 Change-Id: I244dad65d1a10d3ebbb0a9cb4bb0e54e458937fe Pick-to: 6.5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Strictly check the argument names argument to SignalFriedemann Kleint2023-09-053-18/+34
| | | | | | | | | | | | | | | Accept only lists and tuples of strings as argument names, preventing crashes when passing numbers or strings being split into characters by the sequence check. As a drive-by change PySideSignalData::signalArguments from QByteArrayList* to QByteArrayList which eases error handling. As it is a shared class anyways, the overhead is negligible. Task-number: PYSIDE-2368 Change-Id: I460b5d7297cf66c6ab5566a99c998527daf12eed Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* libpyside: Refactor passing slot data between @Slot and MetaObjectBuilderFriedemann Kleint2023-09-053-34/+51
| | | | | | | | | | | | | | | The slot data required for MetaObjectBuilder were stored in a PyList set as an attribute on a method. This required concatenating return type and signature, converting the resulting string to CPython in the @Slot code and converting it back to QByteArray in MetaObjectBuilder. To simplify this, introduce a small C++ struct storing the QByteArrays and store a list of them as a PyCapsule (encapsulating a void *ptr) which is used as the attribute value. Task-number: PYSIDE-748 Change-Id: I7f4075f5e828fe543d01e5dfbdc7087905cd004f Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Fix incorrect signatures in class QStateFriedemann Kleint2023-09-041-0/+5
| | | | | | | Pick-to: 6.5 6.2 Fixes: PYSIDE-2444 Change-Id: Ic0b12f109452e7b395a1cd24402984a41875af03 Reviewed-by: Christian Tismer <tismer@stackless.com>
* QIODevice: Implement buffered readsAdrian Herrmann2023-08-313-3/+97
| | | | | | | | | | | | Some users of QIODevice read functions (read, readLine and peek) might want to use fixed buffers to avoid reallocation, e.g., asyncio's buffered protocols. This adds overloads of said read functions that take an input buffer (as a bytearray) and return the number of read bytes. Pick-to: 6.5 Change-Id: I0c3678d3a87811029278c5ae8f829eef0432099a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* libpyside: Use a static string for the slot attribute attached to methodsFriedemann Kleint2023-08-305-6/+6
| | | | | | Task-number: PYSIDE-748 Change-Id: Ieeeb2c1c392706a5c74bf29ff67ff4ddd8c4feaa Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6: Fix up QDataStream.readRawData/writeRawData()Friedemann Kleint2023-08-293-0/+26
| | | | | | | | | | | writeRawData() was historically implemented to take a string. Fix the signature. Add an overload for PyBuffer/bytes. Fix the return type of readRawData() to be bytes. Fixes: PYSIDE-2442 Change-Id: I1684afd5aae2f8d118fa2fac87d916c23bd4a59e Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* libpyside: Add QDebug operators for PyTypeObject/PyObjectFriedemann Kleint2023-08-282-0/+126
| | | | | | | | | | Complement the operators std::ostream in libshiboken which are very verbose, outputting all flags and refcounts, by simple operators for QDebug which basically output a simple type: value. Change-Id: Icf99c55cd64d63eb9d2e47b40fdc6df88e9119e3 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Fix signature of PySide6.QtCore.SignalFriedemann Kleint2023-08-281-1/+1
| | | | | | | Pick-to: 6.5 6.2 Fixes: PYSIDE-2368 Change-Id: I8e52e7d5787795ec336683134c098b37e085aa01 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix QGestureRecognizer.registerRecognizerCristian Maureira-Fredes2023-08-251-0/+10
| | | | | | | Task-number: PYSIDE-287 Change-Id: I9308ec96c607097f91daff78b5197c2d1045cff6 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Documentation/Signal slot tutorial: Recommend to use @Slot alwaysFriedemann Kleint2023-08-251-0/+13
| | | | | | | | Task-number: PYSIDE-463 Task-number: PYSIDE-2436 Pick-to: 6.5 6.2 Change-Id: Ida83a0b4207ab499cfaaa2090f8aabbc6246bff5 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide: Fix QLocale::system() in macOSShyamnath Premnadh2023-08-252-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - QSystemLocale for macOS relies on CFBundleAllowMixedLocalizations/ CFBundleLocalizations in the Info.plist file for the C++ Application bundle, as seen from 1d3ae5f0e98f252214d20ce8561533891311a71f. Python being an interpreted language, there is no application bundle unless the application is deployed. As such a Python application in macOS relies on the Info.plist file of the Python interepreter. This Info.plist file is a read-only file and hence it is not possible/recommended to patch the Info.plist file of the Python interpreter at runtime. The issue has been raised upstream in CPython and can be tracked here: https://github.com/python/cpython/issues/108269 - A possible solution/hack is therefore to use to POSIX environment variables for macOS, for Qt for Python. This is also what the Python locale module does. See: https://github.com/python/cpython/blob/3.11/Lib/locale.py#L534 For other Unix systems, QLocale::system() uses the POSIX environment variables, just like Python's locale module. - For Windows and Linux, QSystem::locale() remains unchanged. - The idea here is to obtain the system locale from the Python locale module, and use the result to initialize and return a QLocale object. - As an extra, for qrunnable_create fix the typo - snipped to snippet. Fixes: PYSIDE-2419 Pick-to: 6.5 6.2 Change-Id: I12b16e824ddba21d1ebcd0695262c1dc0cc61eb2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Fix crashes related to enums in QML singletonsFriedemann Kleint2023-08-241-0/+2
| | | | | | | | | | Initialize missing members of QQmlPrivate::RegisterSingletonType. Pick-to: 6.5 6.2 Fixes: PYSIDE-2433 Change-Id: I441951e79471707129d42e21d27c4de352b0d703 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* layouts: error instead of segfault for invalid itemCristián Maureira-Fredes2023-08-241-0/+6
| | | | | | | Pick-to: 6.5 Fixes: PYSIDE-2422 Change-Id: Id07b891083e11577e21c2ac2a429ef453328830e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix connections to base class slots falling back to global receiverFriedemann Kleint2023-08-221-4/+30
| | | | | | | | | | | | Narrow the test condition for pre-Jira bug 1019 to check whether the receiver method is not declared in the same class in which the slot returned by the MetaObject search is declared. Fixes: PYSIDE-2418 Pick-to: 6.5 Change-Id: I01591a4e948daa19caf75eaa8f803acb17b66550 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Brush up code related to pre-Jira bug 1019Friedemann Kleint2023-08-222-2/+6
| | | | | | | | | | Add explanatory comments; fix up the debug operator of GetReceiverResult. Task-number: PYSIDE-2418 Pick-to: 6.5 Change-Id: I77b9ad2d38a5bba1b78ffaf8835f20fbb93636d0 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix QLocale.toLong return valueCristián Maureira-Fredes2023-08-152-0/+17
| | | | | | | | | | | | | | | | | | The currently implementation was using an inherited toLong function, not returning the Tuple[int, bool] that the docs described. This adds a modification to follow the same idea of all the other to*() methods. Additionally, we remove all the to*() methods that accept a QStringView, due to behaving the same with the QString variations. [ChangeLog][pyside6] QLocale.toLong now properly returns a (int, bool) rather than only int Fixes: PYSIDE-2226 Change-Id: I5634e4010982e115c8208fdb9b56cfc57960358b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
* doc: Add note to avoid Windows Store PythonCristián Maureira-Fredes2023-08-142-0/+6
| | | | | | | | Change-Id: I2683d0e95bdb6fbf22974b117562bcc6edae8d3d Pick-to: 6.5 Fixes: PYSIDE-2405 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
* Add support for QQmlComponent in PropertyCristián Maureira-Fredes2023-08-103-0/+39
| | | | | | | | Fixes: PYSIDE-2415 Pick-to: 6.5 6.2 Change-Id: I2b19b20b1dec584667fa82abe6be2901b9580f96 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* pyside6-deploy doc: fix broken linkShyamnath Premnadh2023-08-081-1/+1
| | | | | | Pick-to: 6.5 Change-Id: Ie12b1dbbc2dfa07de29e49ab83dc80d2a4961fe1 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix documentation for QPainter.drawText()Friedemann Kleint2023-08-072-0/+22
| | | | | | | | | | | Inject Documentation and fix the snippet to indicate the QRect return. Task-number: PYSIDE-2411 Pick-to: 6.5 Change-Id: Id52f4c0a875301c6eac4a1d33034a04fa652e0d5 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Developer Documentation: Add documentation hintsFriedemann Kleint2023-08-042-7/+33
| | | | | | | | | | Move the sources/pyside6/doc/README.md to a new page of the Developer Documentation and prepend some information about fixing snippets/texts. Pick-to: 6.5 Change-Id: If80eaa34cce1c98f46dcd3102670ec61dd0ffbb0 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* example_gallery: Handle Qt example directoriesFriedemann Kleint2023-08-031-1/+1
| | | | | | | | | | | | | | | Add an option to be able to include examples found in the Qt / qtdoc repository. The build_rst_docs target also uses it if --qt-src-dir is given. It is then possible to include pure QML C++ examples from the qtdoc and other repositories. Task-number: PYSIDE-2206 Change-Id: I1b28d5ba5a134101a21fa936f87264a68bada71e Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6 Qt Designer plugin: Silence warnings when used from QUiLoaderFriedemann Kleint2023-08-031-3/+11
| | | | | | | | | | Only output warnings when run from Qt Designer as determined by the application name. Pick-to: 6.5 Change-Id: I870ca75242bf70bdf53c51fdeb0f70067455e268 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* PySide6: Fix signatures of the qmlRegister() functionsFriedemann Kleint2023-08-021-0/+6
| | | | | | | | | uri is str. Pick-to: 6.5 Fixes: PYSIDE-2272 Change-Id: I1e10ef65bf223b08b035c24f44bac83f0450ad14 Reviewed-by: Christian Tismer <tismer@stackless.com>
* doc: mention --debug option for windows debug buildKeith Kyzivat2023-08-021-0/+2
| | | | | | | | | | | | | | The Windows Getting Started doc page mentions how to build a debug version of PySide6, however it omits that you need to pass the `--debug` option to `python setup.py build`. Mention using `--debug` when building debug. Fixes: PYSIDE-2401 Pick-to: 6.5 Change-Id: I9d5eb1a5e44409f7984f14c5cbf9611efafaf768 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* stubs: setParent should accept an Optional objectCristián Maureira-Fredes2023-08-022-0/+4
| | | | | | | | | | | | | | | | | | | | | | The current stubs specify the type of the required argument, for example: w = QWidget() help(w.setParent) reports: setParent(self, parent: PySide6.QtWidgets.QWidget) -> None which makes some IDEs to complain when passing None, behavior that it's accepted as well. This change adds an Optional to the parameter. Pick-to: 6.5 Fixes: PYSIDE-2235 Change-Id: I57b54f47aee6783b1b7027981b5d282798d57ad4 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Enable DBus/HttpServer on WindowsFriedemann Kleint2023-08-011-6/+2
| | | | | | | | | | | | There was a comment about a clash of macro DELETE in Windows headers with some enumeration that was apparently renamed. Pick-to: 6.5 Fixes: PYSIDE-2402 Change-Id: I32d6da712a3388059cbbc0181f565ebfb82bd45c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Clean up some unused rejection warningsFriedemann Kleint2023-08-019-96/+0
| | | | | | Pick-to: 6.5 Change-Id: I155f0297a1f6d31dc84472c8c7f99e2842da33e6 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Clean up some unused suppression warningsFriedemann Kleint2023-08-016-44/+2
| | | | | | Pick-to: 6.5 Change-Id: I261ec7ec933e21658d357ad1ffbeb4de5b84d13f Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix signature of qVersion()Friedemann Kleint2023-07-281-1/+5
| | | | | | | | | It returns a string. Pick-to: 6.5 Fixes: PYSIDE-2387 Change-Id: Ibb814acf9535a2529fb022bfe07dcc28f75b7c02 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Implement custom asyncio event loop based on QtAdrian Herrmann2023-07-279-0/+885
| | | | | | | | | | | | asyncio is an established library for Python applications with concurrency and asynchronous I/O, and the de facto standard that multiple other async frameworks build upon. Like Qt, it is based on an event loop, so to this end, it offers an extensive API to implement custom event loops that applications using asyncio can then leverage. Task-number: PYSIDE-769 Change-Id: I3daf5d631e2fa0d44fd8c3c272ac5cce96f58653 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix warning about unused allow-thread attribute on add-functionFriedemann Kleint2023-07-262-1/+3
| | | | | | | | | | | | | Allow-thread must be done in code for add-function. Fixes: typesystem_widgets_common.xml:537:164: Warning: 1 attributes(s) unused on <add-function>: allow-thread="yes" Amends 65e48138e166c3575dfe23dfec259e112302fd28. Task-number: PYSIDE-2384 Change-Id: Idf906c27fb3caa2361cff71ccca5f5385881ae40 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add QWizardPage::registerField() with a signal instancFriedemann Kleint2023-07-262-0/+20
| | | | | | Fixes: PYSIDE-2384 Change-Id: Iad7a26385b40267308c287b8f6a4915972468574 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add a convenience function for retrieving signal emittersFriedemann Kleint2023-07-263-6/+28
| | | | | | Task-number: PYSIDE-2384 Change-Id: I38cd611439a882e65f9f3bc6ca47dedd0a4fc66c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix stub and signature for QClipboard setPixmap and setImageCristián Maureira-Fredes2023-07-252-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Incorrectly, the pyi file described that it was possible to pass a: Union[PySide6.QtGui.QPixmap, PySide6.QtGui.QImage, str] for setPixmap, and: Union[PySide6.QtGui.QImage, str] for setImage. This uses the typesystem entry to restrict the setPixmap to accept a QPixmap and only a QImage for setImage. Additionally, this enable a PyPathLike signature, so users can pass 'str', 'bytes', 'pathlib.Path' as well, so the accepted arguments are: setImage(...) - PySide6.QtGui.QImage - Union[str, bytes, os.PathLike] setPixmap(...): - PySide6.QtGui.QPixmap - Union[str, bytes, os.PathLike] Pick-to: 6.5 Fixes: PYSIDE-2395 Change-Id: I521980dbc781a72e54f49fc84af5349733385133 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6: Undeprecate QSqlQueryModel::setQuery(const QSqlQuery &) in Qt 6Friedemann Kleint2023-07-251-1/+4
| | | | | | | | | | | Disable the deprecation warning for the moment. A better solution needs to be found in Qt 7. Pick-to: 6.5 Fixes: PYSIDE-2394 Task-number: QTBUG-91766 Change-Id: I6bf47c631b27a3378ab1d0c17d2551671a39cf93 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Type hints: change Slot result to Optional[type]Cristián Maureira-Fredes2023-07-141-1/+1
| | | | | | | | | | It was wrongly set to Optional[str] Fixes: PYSIDE-2390 Pick-to: 6.5 Change-Id: Ieb0892fcf69a03263693a867aab0cd998d0133fa Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* build: remove traces of distutilsCristián Maureira-Fredes2023-07-142-2/+2
| | | | | | | | | | | | | | | Removed mentions, comments, and fallback usages in some sections of the build scripts and documentation. On the CI, we upgrade setuptools in order to avoid having missing functionality, so it shouldn't be an issue. For Shiboken and CMake, there is still a helper that relies on distutils in case people is using python < 3.8.2 Pick-to: 6.5 Change-Id: Ic33abe9fa8bd8564e9d44c8714b7fedd4e50434a Reviewed-by: Simo Fält <simo.falt@qt.io>
* Fix signatures of qDebug() and friendsFriedemann Kleint2023-07-131-0/+4
| | | | | | | | | Pick-to: 6.5 Fixes: PYSIDE-2386 Change-Id: I4a3eb40bc597952173718d7326234f6c7a0ea221 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* adapt qC{Debug,Info,Warning,Critical} for new definitionCristián Maureira-Fredes2023-07-131-4/+4
| | | | | | | | | In response to: I3eb1bd30e0124f89a052fffd16a7564f4450ec8a Change-Id: I5393660521a8ee12a14bf2c287a6ea9a0393408f Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Add a Python module for example assetsFriedemann Kleint2023-07-073-0/+93
| | | | | | | | | Task-number: PYSIDE-2206 Task-number: QTBUG-110428 Change-Id: I47b9ae8fa5357a9d7517d046ba47bd3baf3e91e3 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Add QtGraphsFriedemann Kleint2023-07-077-0/+687
| | | | | | Task-number: QTBUG-111305 Change-Id: I7ac79f59cfd0b85645d30485e86b6ff74bba20bb Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix 3 strange cases in QSettings.value() round trips of a listFriedemann Kleint2023-07-072-1/+56
| | | | | | | | | | | | | | | | | | | - The "default value" parameter had an int 0 default value, which lead to strange behavior ['0'] being returned for string lists with missing keys. - QStringList was not converted when forcing the type to be list due to the QByteArray split mechanism. - String values could not be coerced to a list Fix the default value to have a default {}. Add a helper function checking whether a custom type conversion is actually needed or the default QVariant converter can handle it. Pick-to: 6.5 Task-number: PYSIDE-2381 Change-Id: I91b22c05f851c2dc8c3792bd9f1446cfc8ceba51 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Factor helper functions for QSettings.value() type coercionFriedemann Kleint2023-07-072-52/+81
| | | | | | | Pick-to: 6.5 Task-number: PYSIDE-2381 Change-Id: Iac0922ad8eb67f6f19f43d9e796600ed11da2322 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Adapt to Qt 6.6Friedemann Kleint2023-07-0713-1/+36
| | | | | | Change-Id: Ie6379044282809fe73790d03cd086845bee98089 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Raise version number to 6.6.0a1Friedemann Kleint2023-07-071-1/+1
| | | | | Change-Id: I2b107b279332b35380ad3667d69365500c50c43c Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix signature of QWizardPage.registerField()Friedemann Kleint2023-07-061-1/+4
| | | | | | | Pick-to: 6.5 Task-number: PYSIDE-2384 Change-Id: Ib32a4b336c39c4710745c221f9f1036dc21d6a29 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>