aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Update changelog 6.7.0Friedemann Kleint2024-03-271-1/+5
| | | | | | Pick-to: 6.7 Change-Id: I8791a1c733c27b309261f9e59e065e6ad497fb67 Reviewed-by: Christian Tismer <tismer@stackless.com>
* create_wheels: Add Qt quick controls style librariesFriedemann Kleint2024-03-271-5/+10
| | | | | | | Pick-to: 6.7 6.6 6.6.3.1 Fixes: PYSIDE-2655 Change-Id: I0049c6e7c639a63f16365e24723ee1eb18d6a729 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* pyi: Fix syntax error in class attributesFriedemann Kleint2024-03-271-1/+1
| | | | | | | | | | Amends 8b5b0458efdbaa933c6513cd666d62962beb0edb. Pick-to: 6.7 6.6 6.5 6.2 Fixes: PYSIDE-2653 Task-number: PYSIDE-2263 Change-Id: Ifefd08ebe5b5a0be8535840b81104180dbb5017e Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix handling of longs exceeding long long max in float conversionFriedemann Kleint2024-03-262-1/+9
| | | | | | | | | Use PyLong_AsDouble(). Pick-to: 6.7 6.6 6.5 6.2 Fixes: PYSIDE-2652 Change-Id: I97787ba9dd6cb348e45b43228cad4a87afe54a7b Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* Debug operators: Fix handling of longs exceeding long long maxFriedemann Kleint2024-03-262-5/+18
| | | | | | | | | | Use PyLong_AsUnsignedLongLong if an overflow occurs. Use hex for those large values. Task-number: PYSIDE-2652 Pick-to: 6.7 6.6 6.5 6.2 Change-Id: I9c3404cf8b01b1fcda20516c1105797fc512ed53 Reviewed-by: Christian Tismer <tismer@stackless.com>
* stubs: add type for os.PathLike type hintsCristián Maureira-Fredes2024-03-261-3/+3
| | | | | | | | | | | | | | | | | | Specifying 'str' for os.PathLike solves the issues found with tools like pyright. For example, for QUrl.fromLocalFile: error: Type of "fromLocalFile" is partially unknown Type of "fromLocalFile" is "(localfile: str | bytes | PathLike[Unknown]) -> QUrl" (reportUnknownMemberType) Using the string of the annotation to avoid an issue when Python tries to evaluate it at Runtime (see mypy issue #5667) Fixes: PYSIDE-2280 Pick-to: 6.7 Change-Id: Ib63bfe8636fbf6cbf1e393d29ef3caf9af0fb4c7 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* CI: Remove keyring disablingSimo Fält2024-03-261-15/+0
| | | | | | | | | Disabling keyring to avoid password prompt was moved into qt5 provisioning while it was blocking other projetcs. Pick-to: 6.5 6.6 6.7 Change-Id: I21cf6bc4f743b3198f38c86678eac94ddae3f5b6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix build with MSVCFriedemann Kleint2024-03-251-1/+8
| | | | | | | | | | | | | Add /Zc:__cplusplus, fixing: QtCore/qcompilerdetection.h(1257): fatal error C1189: #error: "Qt requires a C++17 compiler, and a suitable value for __cplusplus. On MSVC, you must pass the /Zc:__cplusplus option to the compiler." Also update the emulated MSVC version for libclang 18. Pick-to: 6.7 6.6 6.5 6.2 Change-Id: Iacbdf1da3bc1f73757ff5231391ebe847158cc2d Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* shiboken6: Handle CMAKE_CXX_COMPILER in non-standard locationsFriedemann Kleint2024-03-251-3/+16
| | | | | | | | | | | CMAKE_CXX_COMPILER on the build machine may point to a non-standard location. Add a patch search to handle this. Task-number: PYSIDE-2648 Pick-to: 6.7 6.6 Change-Id: I049aa1a9c5ac086d381912be1af5f166f1e54608 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* libpyside: Clean up lambdas connected to signals earlier in shutdownFriedemann Kleint2024-03-252-1/+21
| | | | | | | | | | | Run a signal handler cleanup in CoreApplication::aboutToQuit() already before the general cleanup. This prevents them from leaking out of a main() function, for example. Task-number: PYSIDE-2646 Pick-to: 6.7 6.6 6.5 Change-Id: I87cce8d131c40c02b44b0102b3774477676b8f89 Reviewed-by: Christian Tismer <tismer@stackless.com>
* libpyside: Fix spelling error in function nameFriedemann Kleint2024-03-253-10/+10
| | | | | | | | | | Amends 1270a9e82e5bc3bd53a1131698ece60403da1192. Task-number: PYSIDE-2646 Task-number: PYSIDE-2141 Pick-to: 6.7 6.6 6.5 Change-Id: Ib8a5146766166ec4fa7ae7b42ce6d52ccae0b3c6 Reviewed-by: Christian Tismer <tismer@stackless.com>
* shiboken6: Ignore Q_PROPERTY specified with MEMBERFriedemann Kleint2024-03-252-3/+8
| | | | | | | | | | | qtbase/9bbebb914422262b7b585b6d1dab9d21c4238c44 introduced support for defining properties from member variables. These should be ignored as Python properties are anyways generated for them. Task-number: QTBUG-16852 Task-number: PYSIDE-2620 Change-Id: Ib05ad909c21416f13fefe53eae4cf706ba8557e0 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* qfp_tool: Add an option to run build_base_docsFriedemann Kleint2024-03-251-2/+17
| | | | | | Pick-to: 6.7 Change-Id: I78aac2f14fdea467f5ba339bc6c3698e916efb86 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Documentation: Use single emphasis for Qt toolsFriedemann Kleint2024-03-2514-38/+38
| | | | | | | | Do some minor corrections. Pick-to: 6.7 Change-Id: If5b3f451a7d4005521bc78bc9683bf7b449d02fc Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Documentation: Rename Qt Designer to Qt Widgets DesignerFriedemann Kleint2024-03-2515-49/+57
| | | | | | | | | | | | | Use *Qt Widgets Designer* (emphasis/italics) instead of **Qt Widgets Designer** (bold) consistently. Also fix pyside-designer.rst (Qt Widget Designer -> Qt Widgets Designer). Pick-to: 6.7 Task-number: QTBUG-122253 Change-Id: I573264f5b02c62e4b91cfc0f8b0f38da691defed Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Documentation: Link the Qt Widgets Designer custom widget examplesFriedemann Kleint2024-03-254-10/+9
| | | | | | | | As a drive-by, fix the headlines and remove a dead link. Pick-to: 6.7 6.6 Change-Id: Ifb92c0ac7e02e04f3cffe1cb0cc8ff82e8fd803e Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Lazy Init: Evict the Achilles Heel of Laziness and fix NuitkaChristian Tismer2024-03-211-50/+53
| | | | | | | | | | | | | | | Instead of using the external __getattr__ attribute, patch the module tp_getattro function globally. NOTE: The error was a rare racing condition in Nuitka which was fixed by early insertion of a module into sys.modules . The Achilles heel was not the cause. Task-number: PYSIDE-2404 Change-Id: I929a9187f77cde7cde8318db28d4404b8ba8c1b3 Pick-to: 6.7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Add changelog 6.7.0Friedemann Kleint2024-03-201-0/+116
| | | | | | Task-number: PYSIDE-2497 Change-Id: Ib652fbca79d70cc1d755323633a87ee0238d065a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add changelog 6.6.3Friedemann Kleint2024-03-201-0/+60
| | | | | | Pick-to: 6.6 Change-Id: I18bd0a1cb106dc6bfae00b7a7eb9d2969ff4599c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Doc: Rearrange tools pageShyamnath Premnadh2024-03-202-177/+175
| | | | | Change-Id: I5f8212fe20ea2ec099769005b4a4920d70d86425 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* doc: Add page for pyside6-linguistAdrian Herrmann2024-03-203-3/+23
| | | | | | Change-Id: I7151c589a8d619f6ba822e7995eb342600ef8015 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix warning about invalid printf()-formatFriedemann Kleint2024-03-201-1/+1
| | | | | | | | | | | | | | Change d8910df3ccea2897f5e228058f17176cb1fe4093 moved the qWarning() out of the function were %FUNCTION_NAME is defined, causing: format '%F' expects a matching 'double' argument [-Wformat=] Replace by function name. Amends d8910df3ccea2897f5e228058f17176cb1fe4093. Change-Id: Ib25cbb20c6ffe9c225cefa1a22fab8b37406fb59 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* Fix deprecation warning about QRegularExpression::match()Friedemann Kleint2024-03-201-1/+1
| | | | | | | | warning: 'QRegularExpressionMatch QRegularExpression::match(QStringView, qsizetype, QRegularExpression::MatchType, QRegularExpression::MatchOptions) const' is deprecated: Use matchView instead. [-Wdeprecated-declarations] Task-number: PYSIDE-2620 Change-Id: Ia8a31e0286481b6de1b3edb8f736b7b2631c43b4 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* doc: Add page for shiboken6-genpyiAdrian Herrmann2024-03-203-4/+45
| | | | | | | | | Add a documentation page for the shiboken6-genpyi tool. This also removes an unused argument. Change-Id: I79939f45391694f1ca57b9a4f9da58ffc30cfd28 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* doc: display shiboken examples in shiboken's pageCristián Maureira-Fredes2024-03-201-0/+9
| | | | | | | | This includes the scriptableapplication and widgetbinding in the examples section on the shiboken page. Change-Id: Ia9409e427c2faa17e8f51c8618a6b09f5c07d70f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* doc: add page for pyside6-designerCristián Maureira-Fredes2024-03-205-0/+92
| | | | | | | | | This includes a few highlights of the designer page, in order to improve our custom-tools pages. Change-Id: I7f482421fe5adb8a3d85ffd249ca9acdca5ec833 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* doc: add pages for pyside6-lupdate, pyside6-lreleaseFriedemann Kleint2024-03-202-0/+48
| | | | | Change-Id: I19e92a51f82ec36274ee4394c933bf3acc1f73eb Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* doc: Add page for pyside6-genpyiAdrian Herrmann2024-03-192-9/+62
| | | | | | | | | Add a documentation page for the pyside6-genpyi tool. This also removes an unused argument and clarifies that the --feature argument is currently not available for PyPy. Change-Id: Ic2fa7e92ae0ccbc30e997db8d7dfad02e5b26732 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add QRhiGraphicsPipeline::StencilOpStateFriedemann Kleint2024-03-192-0/+2
| | | | | | | | Complements 879d804fb462589a206d200bfd0371284be8d394. Task-number: QTBUG-113331 Change-Id: I7b6acca80e2399463960760af315c7fe22aaa304 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* Doc: Add pyside6-android-deployShyamnath Premnadh2024-03-193-2/+223
| | | | | | Task-number: PYSIDE-1612 Change-Id: Ib838b46e65b00884e6a11a0c5eb8902ffcaac8d4 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* Doc: Add pyside6-qmlShyamnath Premnadh2024-03-192-4/+88
| | | | | Change-Id: I5fa5397cf3f7e9c70e58adec7321f02ba7d38c9d Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* doc: add page for pyside6-uicCristián Maureira-Fredes2024-03-191-0/+59
| | | | | | | | Include a short summary of the main usage, some caveats and reference to the tutorial. Change-Id: I0dfdeb914d5e590f5992a44d54eddcb4ccec970d Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* doc: add page for pyside6-rccCristián Maureira-Fredes2024-03-191-0/+55
| | | | | | | Adding a small description and a reference to our tutorial. Change-Id: Ia3829d04cb824050023798078a1e23e7d0a5f471 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* doc: Link translation tools to the "Translating Applications" tutorialFriedemann Kleint2024-03-191-4/+4
| | | | | Change-Id: I0915e2bc74f0b77491345c4f37d5f8220d8848ce Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* doc: add page for pyside6-qmlcachegenFriedemann Kleint2024-03-191-0/+25
| | | | | Change-Id: Ieac855ed8bf776759ee314ea99d25613eef03d2c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* doc: add page for pyside6-qmlimportscannerFriedemann Kleint2024-03-191-0/+53
| | | | | Change-Id: If416d5067fb5dcf02bd8802e3cb6795c6f0e75f5 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* doc: add page for pyside6-qmltyperegistrarFriedemann Kleint2024-03-192-2/+19
| | | | | Change-Id: I681454e28eb0eec8a920a415719c195549f403fc Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Documentation/example_gallery: List gallery examples firstFriedemann Kleint2024-03-191-1/+6
| | | | | | | | | List widget/graphs/quickcontrols gallery examples first. Pick-to: 6.6 Task-number: PYSIDE-2207 Change-Id: I94aad562a4085c2695bb3d0f592bb7034e6eae26 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* hellographs example: Fix sphinx warningFriedemann Kleint2024-03-191-1/+1
| | | | | | | | | | | Fix: example_graphs_2d_hellographs.rst:27: WARNING: Title underline too short. Amends 0414eec326959e40907b5aeb5db2e19f1c3dedd5. Task-number: PYSIDE-2497 Change-Id: I2e519e06cf9f30bca844a9f4a82a5a5edbe4a412 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* doc: add page for pyside6-qmllintFriedemann Kleint2024-03-181-0/+49
| | | | | Change-Id: I58b885287ab531f8b88267278688251a3fcf9941 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* Documentation: update pyside6-deployShyamnath Premnadh2024-03-181-5/+37
| | | | | | Task-number: PYSIDE-1612 Change-Id: Ifcc019542754785e8429231f302411aea37f0ee7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* doc: add page for pyside6-metaobjectdumpFriedemann Kleint2024-03-181-0/+92
| | | | | Change-Id: I3a45fe6cd80deb522f0b5da95027e74c582291f7 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* doc: add page for pyside6-assistantFriedemann Kleint2024-03-182-0/+21
| | | | | Change-Id: Ic3b462e097f1633e97c5b7bcecc0f5454b5f504c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* qiopipe: add missing includeSamuli Piippo2024-03-181-0/+1
| | | | | | | | | | Amend ef7bb87eee9bd4469ad858f7ca15f190dbc4aaf9 and fix | git/sources/pyside6/PySide6/QtCore/glue/qiopipe.cpp:17:30: error: invalid use of incomplete type 'class QIODevice' | 17 | class QPipeEndPoint : public QIODevice | | ^~~~~~~~~ Change-Id: Ica2c5da70def52d54ca13225280181d4530c6a2d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* shiboken6: Register typedefs of container typesFriedemann Kleint2024-03-1813-7/+94
| | | | | | | | | | | | | | | | | | For signals like QRemoteObjectRegistry.remoteObjectAdded(QRemoteObjectSourceLocation) where using QRemoteObjectSourceLocation = std::pair<QString,QRemoteObjectSourceLocationInfo> one needed to specify the fully qualified C++ name in @Slot() for the metaobject system to work and the shiboken converter to be found. Record the typedefs and register the container converters under the typedef name, too. Fixes: PYSIDE-2633 Change-Id: Ifc62f096277949a507957a0466adb47d082695c7 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Documentation/example_gallery: Fix example sort orderFriedemann Kleint2024-03-181-1/+1
| | | | | | | | | | Sort by name instead of target documentation file, which may contain additional subdirectory components. Pick-to: 6.6 Task-number: PYSIDE-2207 Change-Id: Ic5eacb4cf92614f5a4fd1c9cf489ccf8100a8ce4 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Documentation/example_gallery: Add a module sort orderFriedemann Kleint2024-03-181-4/+93
| | | | | | | | | | Add a description data structure for modules specifying type (essentials/addons) and a sort key. Bring QML/Quick/Widgets to the front. Fixes: PYSIDE-2207 Change-Id: I491f28bf72b5be30c94d51323a423cf9f2ddd73c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken tests/otherbinding: Add a test for star imports, amendedChristian Tismer2024-03-151-3/+6
| | | | | | | | This clarifies when Shiboken is actually loaded. Task-number: PYSIDE-2404 Change-Id: Iaef8d2f6757482c928c3489def70945cbe1c00af Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* QtAsyncio: Improve handling of outside terminationAdrian Herrmann2024-03-151-8/+5
| | | | | | | | | | | | | | Improve how QtAsyncio handles when the QCoreApplication is quit from outside, e.g., when pressing the close button. This will prevent scenarios where asyncio runs the BaseEventLoop destructor after the Qt application had already been shut down, resulting in RuntimeError. In addition, this removes some unnecessary RuntimeError raises related to a closed event loop. Pick-to: 6.6 Task-number: PYSIDE-769 Change-Id: I52553eed271b5fb5790c09751dd58cc2e52fa174 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Docs: Add pyside6-qmlShyamnath Premnadh2024-03-141-0/+8
| | | | | | | Pick-to: 6.6 Task-number: PYSIDE-2640 Change-Id: I03e42470055448d84899f7a167bd1a3dd3f41efc Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>