Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PySide6: Port to Qt include styleFriedemann Kleint2025-03-274-12/+12
| | | | | | | | | Replace the Qt forwarding headers by the .h files. This brings down the dependency list by approx 6%. Pick-to: 6.9 Change-Id: Iae7640ccbdf6a8be68137922d4191522d914d790 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix includes of libshibokenFriedemann Kleint2025-03-263-2/+8
| | | | | | | | | Remove the global header <shiboken.h> in favor of the respective headers. Pick-to: 6.9 Change-Id: I08ee39fbd5abb15741fa5746bb82f9ddcd32ed7f Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Raise Python version to 3.9Friedemann Kleint2024-12-041-1/+1
| | | | | | | Amends 262e2a6c2742eb9bb0887ae5cb7c2fb0a975f373. Change-Id: I9bb17b0ed53982fccacbef5b78687491899c3f06 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Raise Python version to 3.8Friedemann Kleint2024-12-031-1/+1
| | | | | | | | | | | | | | Fix some oversights of previous changes: - Bump limited API - Fix CMake files - Remove outdated version checks from Python code - Adapt some documentation Pick-to: 6.8 Task-number: PYSIDE-2943 Change-Id: Id8d9c4c6bb0629948de28beb3c4274991f84ff08 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* limited api: Remove PyTuple_GET_ITEM, PyTuple_SET_ITEM, and PyTuple_GET_SIZE ↵Cristián Maureira-Fredes2024-11-081-1/+1
| | | | | | | | | | | 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>
* Qt Designer plugin: Remove Python version checkFriedemann Kleint2024-06-181-16/+22
| | | | | | | | | | Pre 3.8 is no longer supported. Move the code into a static helper for macOS only. This also fixes analyzer warnings about ignoring return codes. Pick-to: 6.7 Change-Id: Idd1a53729152f132958f94d288c13ac4399b6c78 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Qt Designer plugin: Fix a build issue observed in 6.5 with Python 3.10Friedemann Kleint2024-05-241-0/+3
| | | | | | | | | Add QT_NO_KEYWORDS to avoid clashes with variables named slots in CPython headers. Pick-to: 6.7 6.5 6.2 Change-Id: I64a63d816b24f8bd5b3b58375fab26ddc2f6c76a Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* build: undef slots to avoid conflict with qt in designercustomwidgetsCristián Maureira-Fredes2024-02-081-0/+1
| | | | | | | | | While using unity builds, the 'slots' definition seems to come before the Python.h include. Pick-to: 6.6 Change-Id: I6ff147874fcad31b02438190c44cd70a8e573a1c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Replace <QtCore/QtGlobal> by respective smaller headersFriedemann Kleint2024-01-251-2/+0
| | | | | | | Task-number: QTBUG-99313 Task-number: QTBUG-97601 Change-Id: I2422a995d73f19e385c73d54410004f7b8f9d77b Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix usages of QLatin1String (deprecation candidate)Friedemann Kleint2023-11-291-4/+3
| | | | | | | | | Use QLatin1StringView or literals. Task-number: PYSIDE-2537 Change-Id: I03cb9ae80dacd84da9e53648dd179ad79e9189b1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Use correct install locationsSamuli Piippo2023-10-311-1/+1
| | | | | | | | | | | Use the correct install locations for QtAsyncio and designer plugin. Pick-to: 6.6 Fixes: PYSIDE-2494 Change-Id: I760e8f52f19cd1f1cdf742a15df071c4f4deffa5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* UiTools/Designer plugins: Fix some static code analysis warningsFriedemann Kleint2023-10-175-28/+34
| | | | | | | | | | | Fix warnings about implicit cast to bool (pointer/int). Fix some auto * definitions of pointers. As a drive-by, modernize string constants. Pick-to: 6.6 6.5 Change-Id: I05f83de9299dd91e80fc4252514f6cbbebcf1cfc Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> 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>
* CMakeLists.txt: Add header filesFriedemann Kleint2023-03-012-3/+3
| | | | | | | | | Hoping this will help the Qt Creator code completion. Change-Id: I0777f5c38e37d560cfc1942b8acd5c76c8d64d25 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Add license headers to cmake filesFriedemann Kleint2023-02-162-0/+6
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Task-number: QTBUG-105718 Task-number: QTBUG-88621 Change-Id: I98bd2e80f182d8bf7aef6b633f37a428e2dac69b Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Qt Designer plugin: Fix running from within QUiLoaderFriedemann Kleint2023-02-091-1/+3
| | | | | | | | | | Prevent re-initialization of Python. Fixes: PYSIDE-2222 Pick-to: 6.4 Change-Id: I50d813479598aa160ed163eb4de50bb9e34b6f99 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Build system: Use modern form of finding and linking Qt librariesFriedemann Kleint2022-11-292-8/+2
| | | | | | | Pick-to: 6.4 Task-number: PYSIDE-962 Change-Id: I91aed62a8e14bbc1101b4f23e25f57a5d6bca173 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Build system: Remove some outdated version checks in CMake filesFriedemann Kleint2022-10-211-5/+1
| | | | | | | | Task-number: PYSIDE-2091 Pick-to: 6.4 6.2 Change-Id: I2f54fb9016cdcf75e44bcd15cbb84370a482569d Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
* Port from qAsConst() to std::as_const()Friedemann Kleint2022-10-131-1/+1
| | | | | | | | qAsConst() will be deprecated in Qt 6.5. Task-number: QTBUG-99313 Change-Id: Ibc7c2e26b0e52cec905a406ef081e0b99bcce50f Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix warnings about unused parameters in codeFriedemann Kleint2022-09-261-1/+1
| | | | | | Pick-to: 6.3 6.2 Change-Id: Ie120284b290d22f2786591955465e0334555e658 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Use SPDX license identifiersLucie Gérard2022-05-276-228/+12
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I065150015bdb84a3096b5b39c061cf0a20ab637d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix designer plugin for macOSCristián Maureira-Fredes2021-05-111-3/+20
| | | | | | | | | Adding the site-packages path for standalone builds, similar to the issue we had for Windows and 3.8 Pick-to: 6.1 6.1.0 Change-Id: Iff4f2c7504d579ca7f00df1c9e07f62a9dd1f1e3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Use the Python version the plugin is running underFriedemann Kleint2021-05-111-1/+9
| | | | | | | | Pick-to: 6.1 6.1.0 Task-number: PYSIDE-1455 Change-Id: Iba9429d2c42f471661b250829aaf124a4b8b72b2 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Add a Designer pluginFriedemann Kleint2021-02-164-0/+380
| | | | | | | | | | | | | | Add a convencience class QPyDesignerCustomWidgetCollection to the Qt Designer module, which provides functions for registering widget types or adding QDesignerCustomWidgetInterface instances. A static instance of it is stored as a dynamic property on QCoreApplication, which is retrieved by a Qt Designer plugin, which provides the collection of widgets registered in Python. Task-number: PYSIDE-1455 Change-Id: If4055e6c9db6a03b32016b013a1130051bbd472a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* CMake: Use CMAKE_AUTOMOCFriedemann Kleint2021-02-101-3/+1
| | | | | | | As a drive by, clean up an old Qt 5 path. Change-Id: I98c357ce6cc09ca1d02b0fb60617652c143c1fc8 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Move the static UiTools plugin into a subdirectoryFriedemann Kleint2021-02-055-0/+0
| | | | | | Task-number: PYSIDE-1455 Change-Id: I5d919f6a1d98cd1c6109b33c7e83b1ce97f50218 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Rename PySide2 to PySide6Friedemann Kleint2020-11-025-0/+384
Adapt CMake files, build scripts, tests and examples. Task-number: PYSIDE-904 Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88 Reviewed-by: Christian Tismer <tismer@stackless.com>