| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Pick-to: 6.10
Change-Id: Ie3007e3d0e5baf0440788ee9a89133ea4a003f70
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
On this occasion, add a test for a free operator<=>()
behind guards.
Task-number: PYSIDE-3245
Change-Id: Ife8f17add0a8f1c3bd1194a5dfabce4f97c78006
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Turn it into a flag to be able to specify masks to be synthesized.
Add a function checking for ordering comparisons for later use.
Task-number: PYSIDE-3245
Change-Id: Ibab47528f92ff8859677a85cccdcad50a767ccac
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
This leads to duplicated code in Py_tp_richcompare since
CppGenerator::writeRichCompareFunction() does not handle it
and CPython swaps the arguments itself.
Task-number: PYSIDE-3245
Change-Id: I39e9bf6adb2f737ad5f66327cd5a6f9447e86c9d
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
into AbstractMetaFunction
Task-number: PYSIDE-3245
Change-Id: If3590dd1fa54c45de0295973cad37bce74ea682f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Separate the overload decisor comment code path from the minimal
signature and use in all relevant places in the generated code.
Remove the Qt signature normalization.
Add more information about operators.
Task-number: PYSIDE-3245
Change-Id: Id023d36a3b9112fccb36c9f8a03e13fac6628b75
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Extend the internal flags of AbstractMetaFunction by C++ 20 operator
information and add helpers to format messages based on that.
Task-number: PYSIDE-3245
Change-Id: I65311e973f8995cd2535e4b936e9f576fa312b1b
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
This enables using them for messages and other things.
Task-number: PYSIDE-3245
Change-Id: If2acccbfdbc53d28f84cfe5341898347a9938c53
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Make it clear that the function is meant to be called for the global
namespaces or other namespaces, not for classes. Add assert and comment.
Task-number: PYSIDE-3245
Change-Id: I0e5e07c7822286ff148c5b76ff292d45d799165d
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-3245
Change-Id: I84bac9ef5afdbb4356884a7933ed8209d886d836
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
override
Re-check for None on the cache passed in by reference after
acquiring the GIL in case another thread set it in the meantime.
Amends eeacd90bdb71cebcdfb8d285254d7e42ddc4ff79.
Fixes: PYSIDE-3246
Task-number: PYSIDE-2916
Pick-to: 6.10
Change-Id: I9c1b9ac465a36ca885c5f7c0ee1b6f58e91dcf4d
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
RHEL 8.10 has 'Packaging' feature set, so it will export unnecessary
wheels for release.
Pick-to: 6.10
Change-Id: If7f01fc408ea3b6b74c80d0a522af3d0ec56e3d9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- QtWebView was previously missing from the Android build configuration.
Pick-to: 6.8 6.10
Fixes: PYSIDE-3248
Change-Id: I11230b9bff6a45bee3af0dba498e7d76ca678e61
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Several functions can return None, but the generated stubs used non-optional return types.
Added these functions to the missing_optional_return list so the typing information matches actual behavior.
Fixes: PYSIDE-3225
Fixes: PYSIDE-3218
Fixes: PYSIDE-3203
Fixes: PYSIDE-3197
Fixes: PYSIDE-3196
Fixes: PYSIDE-3195
Fixes: PYSIDE-3189
Pick-to: 6.10
Change-Id: I3ccb4285755f647cb9925156940ce878408fb099
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- Amends 6e6488f86942482f990993938b5d3520a2e9fadd
Pick-to: 6.8 6.10
Fixes: PYSIDE-3248
Change-Id: I9cf9cb92d2d92eb586c4bafd6939ede51078519d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- Docs for the `Qt Python` extension for Visual Studio Code
and its features for PySide6 development.
Pick-to: 6.10
Change-Id: I9dfc80b8dab651d3615fcdf4878c674222a74dee
Reviewed-by: Ben Cho <ben.cho@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Shiboken6Config.abi3.cmake checks to include Shiboken6Targets.cmake
if the Shiboken6::libshiboken does not exist, but it should always
exist in a top-level build.
Re-add the Shiboken6::libshiboken alias.
It is unclear why it was removed in the first place, so just to be
safe, only create the alias if it does not already exist.
Amends 39bf64f845d6b759ebc726e85949e82dab678d37
Change-Id: I1d5f29cd770fde7288dcd27703304b8fa5d1f2f5
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.10
Task-number: PYSIDE-2840
Change-Id: I5dbc5187efc327fd81e84f4a26a03a23b797df25
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
For some examples, it might make sense to load the Qt translations.
Pick-to: 6.10
Change-Id: I2c3fcc9980809a3f107800e369845c2019dabad7
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
Amends 19abd816e73bebdd489408d0a3b7676822bff39c.
Task-number: PYSIDE-862
Change-Id: Icf499f17eb7cf0e4b3805efbfc98ab462063574e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The function was wrongly implemented, it is actually
meant to clear the error state and be used along
with PyErr_SetRaisedException() to replace the deprecated
PyErr_Fetch()/Restore(). It cannot really be implemented
in terms of PyErr_Fetch()/Restore().
Partially reverts 9aabb3a509594f59306a96679938f2f43a9830e6.
Task-number: PYSIDE-2747
Change-Id: I5ee57112c905e9112b758e27904bbf4fa768aeea
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Prevent them from being converted to QVariantList by
checking the exact type.
Amends c47c5bdbc8e844c2c3c99e2b5e594b5615d5ae4f.
Fixes: PYSIDE-3244
Task-number: PYSIDE-3206
Pick-to: 6.10
Change-Id: I26656d871accc868cb77d95b7b8567e380f46390
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
List useful environment variables and remove the snake case point
since it causes maintenance problems.
Pick-to: 6.10
Change-Id: I5c3d5e182b471ab3983e3a124ad95389d0d9bc7f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
In lookupUnqualifiedOrOldEnum(), move the option checks up
so that the function does unnecessarily loop over the MRO
to resolve enumerations when they are disabled.
Task-number: PYSIDE-1735
Change-Id: Ifc5c869b21e2f1d291784beaf192e8e328f4966b
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.10
Change-Id: I8e428c5b1cb1c57cc628b4113fa58dd7889117c8
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Split the generator executable off to a new directory
shiboken6_generator.
Adapting the build scripts and cmake configuration.
Task-number: PYSIDE-962
Task-number: PYSIDE-1587
Change-Id: I301f96daace0331b0abc17bc59b44cd2396b9953
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
THIS COMMIT WAS GENERATED BY A SCRIPT
Task-number: PYSIDE-962
Task-number: PYSIDE-1587
Change-Id: I58b05c3d05606efb6303193f2d7f907a0ab5741b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
| |
Task-number: PYSIDE-3235
Task-number: PYSIDE-3105
Change-Id: If2a30172bdb5544d221e5cb713ec9336600c18cc
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Extract the architecture/platform information from compilersupport.cpp
into a separate Triplet class which can be tested independently and
is not tied to the shiboken logic (initialization to host defaults, etc).
As a result, compilersupport.cpp becomes much cleaner.
Task-number: PYSIDE-3105
Change-Id: I3ea709a02184c73814dc34686be75017fa1391fa
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Extract a mixin class handling registration of a QQmlListProperty<> and
providing virtuals for the list functionality.
It can be used by Bridges or when migrating some Bridges functionality
into PySide (for example, list properties wrapping a Python list).
Change-Id: I18db0a8196b0f8529e6d438744429a5630ee297c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Adapt to the current state of C++ example, which adds the audio level
meter and meta data display. The playlist handling was again removed
since it still relies on a copy of the QMediaPlaylist class from Qt 5.
Simplify the mime type handling to default to MP4 always, which should
work when using FFMPEG.
Task-number: PYSIDE-2206
Pick-to: 6.10
Change-Id: I6215c4bcff5a3ca83606e33da6da475caf6494d8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Turn the existing verbose flag into an int verbose level with
command line option and check the files.
Redirect warnings to stderr.
Pick-to: 6.10
Change-Id: I12fbc9dbc6da27010b0a072c3b377eb94784d9df
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.10 6.8
Change-Id: Iaef1f5971ff4f3d04b2a9eb958fced7bde4857eb
Reviewed-by: Simo Fält <simo.falt@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the option -nostdinc, which causes it to complain about
"'type_traits' file not found".
The option was apparently added for historic reasons
and is apparently no longer needed.
Fixes: PYSIDE-3235
Pick-to: 6.10
Change-Id: I3ab4bd9bf1e523e2c6ab6e655ef8d2cc4e865599
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Remove the getters/setters and make them function-local as
they unnecessarily clutter the code.
Task-number: PYSIDE-3105
Change-Id: Ia56f65ae169e1e9e7b96ca2d98b6694ae9f3f208
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Re-add parts of a line removed by 86e7c9e7674cc7bce872f2ec58bd1eeaf536b41d
that preprend the metatype directory.
Task-number: PYSIDE-3241
Pick-to: 6.10
Change-Id: Ic76d90a394ccd1309c0011c9008a5fb29bb0978d
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 42be1cc7d9973b7da44c048981001b823b329704)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
In Qt, the files were renamed from
"qt6core_relwithdebinfo_metatypes.json"
to
"qt6core_metatypes.json"
as has always been the case for Windows.
Fixes: PYSIDE-3241
Pick-to: 6.10 6.10.1
Change-Id: I12735c32504432ddffafa55e6c9ed209902f0554
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- Set a black pen for the callouts to be visible when using a dark theme
- Fix misspelt method name
Pick-to: 6.10 6.8
Fixes: PYSIDE-3239
Change-Id: I9b9941b6f0377250ce23c30ee932ddd2974624e7
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
The palette was once added for S60 phones.
Pick-to: 6.10 6.8
Fixes: PYSIDE-3240
Change-Id: I8cc61f0910e428890abf320159a621b841da031b
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Complements 91d0ec1e864c5c657e351c32af1f8d78a26c543d.
Task-number: PYSIDE-3235
Pick-to: 6.10
Change-Id: Ib106f2d9e0804125a434da7119aff8c7d317316e
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use Development.Module in find_dependency() when not cross-compiling.
Amends a377a3b253b6f584384ad6e22ca38f115b11fc6d.
Fixes: PYSIDE-3233
Task-number: PYSIDE-3138
Pick-to: 6.10
Change-Id: I0cabb3c85994ecd725c033d8728f02b334911b0c
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
When looking for the -qmlmodule.webxml file, try the
regular name first before falling back to a wildcard
search.
Fixes: PYSIDE-3238
Pick-to: 6.10 6.8
Change-Id: Ia432ecf7947bf875123df8d989945bc2d88690ed
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
This allows for removing a number of free functions and
eventually better separating QmlListProperty from Property.
Task-number: PYSIDE-3227
Change-Id: If2806f86bbbb615e59655d4f9a19b0fe87219fb5
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Take over arguments only if they are neither null nor Py_None
and simplify checks accordingly.
Make the error message more precise.
With that 2aff6a35a9aa2f233c9801456daa6986437d2647, can be
partially reverted.
Task-number: PYSIDE-3227
Change-Id: I335db395e969415022581e1ec95a7e3715725bf1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
For use in QtRemoteObjects and Python bridges.
Change-Id: Ica4d3c36cc87db958353d7d6de25806acdf5d8b7
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Move #ifdef, fixing:
sources/pyside6/libpyside/pyside.cpp:1231:13:
warning: ‘void PySide::formatPy_ssizeArray(QDebug&, const char*, const Py_ssize_t*, int)’ defined but not used [-Wunused-function]
Pick-to: 6.10
Change-Id: If2bd096c675a86ff0e403ef0c97928615580787a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
It silences some warnings caused by custom code injections.
Change-Id: Ic33c9b59a4ad8f3b65803f1c1e6c23b706d221bb
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit b70d69b3e4d0970640ef8cce1b7c4413ad23776e.
The commit breaks cross builds.
Pick-to: 6.10
Task-number: PYSIDE-3233
Task-number: PYSIDE-3138
Change-Id: I4303f728e1bc758fe21d29cd4fed15bda93d3fce
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
(cherry picked from commit a4461788af43ff62738efe146799950db0929578)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use Development.Module in find_dependency().
Amends a377a3b253b6f584384ad6e22ca38f115b11fc6d.
Fixes: PYSIDE-3233
Task-number: PYSIDE-3138
Pick-to: 6.10 6.10.1
Change-Id: I3516ff39ce685e722960ed234d8a0d699981a3be
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- For Java packaging, use ANDROID_API_VERSION environment variable if
set, otherwise fall back to CMAKE_ANDROID_API. This enables supporting
the CI which sets ANDROID_API_VERSION to 36 and also local builds
using the latest API level supported by the NDK.
- Added a small comment as to why Qt for Python builds can use API
level of 35 as opposed to Qt which uses 28.
Pick-to: 6.10 6.10.1
Change-Id: Id5cb2d5c6ab235b365c26da79b5e65bbe30c81e9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|