| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Remove obsolete types.
Change-Id: I6397f354fd02d47810668b93a65a661865697531
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit aaf3a48f544a40b75de2272f33fab512d85f6469)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Remove obsolete warnings and add new ones.
Change-Id: If4b8d1cfcfe858e86079eac32f24c3c65cbcf583
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit dbbbeb3c938be1f3f2a3888845113db1660873a7)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
macOS has
typedef uint32_t GLuint;
typedef int32_t GLint;
Add those types (C++11/C).
Fixes: PYSIDE-1646
Change-Id: I7cd857ed06fee9925250964bdcdd93c42a251e34
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 901c2bdc12f4d5ce25c9b05a23915447fcc037d7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are a number of cheating macros that allow to use
the same code in Python 2 and 3. Because Python 2 is gone,
remove these macros.
This conversion was partially difficult since certain types
collapsed in the XML files and generated functions contained
substrings of the macros. This is actually the fourth attempt.
Task-number: PYSIDE-1019
Change-Id: I116877afc8aa36f4710a40df1769f600b6b750ea
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit a21203d534c2947a2e5f472ace3e83c552e83191)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
++ This change was forgotten to port to 6.1 . It is needed for
++ feature: move getFeatureSelectId to Shiboken and refactor
[ChangeLog][PySide6] The tr() translation method of QObject
has been changed to be a class method. This makes it
possible to use tr() on a class without instantiation.
The tr() method of QObject should be a class method.
- Build class method support into apiextraktor.
- Use the new functionality in the tr() method.
Listing of tr() in QtCore.pyi will be solved in an extra check-in.
Task-number: PYSIDE-131
Task-number: PYSIDE-1252
Change-Id: If5093e038c091bf8c4d2a940fe206f6caa99568e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The removal of the range was not necessary and created a warning.
Task-number: PYSIDE-535
Change-Id: I07e87e544c13e58e6369b81bbecce43da37b0a86
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit dcfbb326e431de1e710385a8126b4a2739e2e921)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QItemSelection with no argument should create an empty
selector. This worked in Qt5.
In Qt6, everything works but the empty argument.
Without further analysis, this might be related to the
new [default] tag found in the Qt6 QItemSelection documentation?
Fixing this bug leads directly to the add operator, which returns
a list instead of a combined QItemSelection.
Fixed by removing `operator+(list<QItemSelectionRange>)` and re-adding it
with QItemSelection
Unrelated, occurred during bug hunting.
Task-number: PYSIDE-535
Change-Id: Ie5b881659e54fc0eebc8c9903df6e14eb2788565
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 16429c860888578b5bda7fd75437dd1f6a79b331)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Return a buffer from data()/constData(), from which a memoryview can
be constructed.
[ChangeLog][PySide6] QSharedMemory was added.
Fixes: PYSIDE-1370
Task-number: PYSIDE-1482
Change-Id: I089801c55ed696d3dd59ef64da0e52e538e9b54d
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 4ee3c492e3fd19d7f863f0e2853901e0cb8f2c9e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-1482
Change-Id: Ifb9061af1828e7348de3ad5407c830aeb7d4f386
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit d3388316c3ac87c19cc668d9b5bca2b988db74ca)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-1482
Change-Id: I337f8c817bc4d612a02a5482a63a94303e11c300
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 6938ca19e7a2b200ee83fdddce3c5908199c1f75)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:3019: enum 'QJsonDocument::DataValidation' is specified in typesystem, but not declared.
sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:2353: signature 'lock()' for function modification in 'QMutex' not found.
sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml:504: signature 'operator<<(QPointF)' for function modification in 'QPolygonF' not found.
sources/pyside6/PySide6/QtQuick/typesystem_quick.xml:108: enum 'QQuickWindow::NativeObjectType' is specified in typesystem, but not declared.
Change-Id: I2d36246c2b3df4b7a7a5678dd3eedf73601a85ef
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 4b0185393fa46bb1944877303b878c7f3be747ec)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Fixes: PYSIDE-905
Change-Id: Iae343d15fb0db1d37f95ab2d443596777d2dfac6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit c6b66ffab442d5ad9f0eb6a1d2dafec8bdded245)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is apparently some clash between QCalendar(QCalendar::System)/
QCalendar(size_t) on Windows, causing:
======================================================================
ERROR: testCalendar (__main__.TestQCalendar)
----------------------------------------------------------------------
Traceback (most recent call last):
File "sources/pyside6/tests/QtCore/qcalendar_test.py", line 47, in testCalendar
calendar = QCalendar(QCalendar.System.Gregorian)
TypeError: Invalid type for unsigned long long conversion
Reorder the overloads manually to prevent this.
Note this is only in debug mode.
Change-Id: I1de706d9bf8456a27ae68f995c6d744ce29ae23c
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit f090ca3c4431cb1ae569502fbf4bc68a0b9fa7e8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][PySide6] A number of missing classes from the qtbase
repository have been added.
Task-number: PYSIDE-1482
Change-Id: I7b5388df1a4773ccdf32d44e2d968ba814453e34
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 243aa7128cffd957f088ed66d5056211b64d7771)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The platform-specific enumerations were removed by
qtbase/59342379bde1be36b5c42cc8019c598138a0b534, so, there is no
need to have it in the platform type system files.
Task-number: PYSIDE-802
Change-Id: I66976e688c0642ae5cfef5d760c4d6a5d6d41467
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit fc64efb0ae9c60cfb58686b4a958f73519da26cb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove no-longer existent macOS-specific classes
- Move QAbstractEventDispatcher back to the core typesystem
- Move all warnings to the core typesystem
Change-Id: I9d733e1a1eb2682784f22ec3b4b7d976db737f02
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit 74ed92ee701780b94cab863e462ee7466ce4b9d4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With Qt6, PySide dropped support for Python 2.7,
thus it does not make sense to keep our exec_() renaming inplace.
This patch will enable the exec() functions,
and adds a deprecation note for exec_(), which will enable us
to safely remove it in the future.
Change-Id: I7375e10632e7ab534ca264304a5a65f380b9b1bb
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 62acb997f7fce1ae922e3a9995272c78353048b9)
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
| |
Add __enter__/__exit__ modeled after QReadLocker.
Change-Id: I6e8f93adf4e957bd20179c902aa429fb88f2537b
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Since Qt6's QPair uses it underneath,
we require to have a declaration so we are able to transform
from and to Python.
Fixes: PYSIDE-1544
Pick-to: 6.0
Change-Id: I9cc753cbbe0b352382996e896c00faff9bc0f819
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
| |
Change-Id: I3f5adb202722aecbd34766e782c218720926b73d
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the new overload to specify a new "type" parameter
was included, there was no documentation that could be reflected
in our API docs.
This adds a paragraph/example for the overload introduced by
78dad8180d797a647645b74255bfc29c46d7264a
Fixes: PYSIDE-1466
Pick-to: 6.0
Pick-to: 5.15
Change-Id: I843e650f8eb4c32f4c67a31ed5cf9047c4f171f9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
It prevents usage of std::shared_ptr in combination with Qt bindings.
Pick-to: 6.0
Pick-to: 5.15
Task-number: PYSIDE-454
Change-Id: Ie893a37d1482f12692a0198f9058c887cfa823a9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
- Adapt QPersistentModelIndex to
qtbase/6bc1a1ec2f630d38d87ff14c8ab4c3fa5eba35be
- Remove QList method from QXmlStreamAttributes which is no
longer found.
Pick-to: 6.0
Change-Id: I81c7b825b4a6028292b672476908c4317191580d
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
It was mistakenly added to QtGui, but it lives in
QtCore.
Pick-to: 6.0
Change-Id: I398eb9735b4a4d6e570b054d288b1ef7ffa0478d
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
| |
Use standard messages where applicable.
Move some messages over to messages.cpp and add a location.
Remove some messages that cannot be triggered any more.
Change-Id: I7fc821e4360b06af7ef6e5db7e30de0f1e8ed5ca
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
This is required for QSqlField among other things.
Re-add the conversions that previously existed for the
now deprecated QVariant::Type for QMetaType.
Change-Id: If47168f0f45ecfbfe483a8eaa9c6e037477f5ce6
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
| |
Change-Id: I7949defbd3f55b0ca231a21b0f9b8747024f8097
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
Adapt CMake files, build scripts, tests and examples.
Task-number: PYSIDE-904
Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88
Reviewed-by: Christian Tismer <tismer@stackless.com>
|