| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding screenshots and small documentation file to the modules
- corelib
- datavisualization
- external
- opengl
- quick
- sql
- uitools
- webchannel
- webenginewidgets
- some widgets
- xml
Renaming the widgets gallery due to name conflict
with the quick controls gallery, and fixing two
typos from contextinfo.py and hellogl2.py.
Task-number: PYSIDE-841
Pick-to: 6.1
Change-Id: I2705e5d605fa738da0dca906cf6acb4b9d5d3dcd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding screenshots to:
- declarative
- multimedia
- network
- widgets
Renaming examples to avoid conflict on images names.
Task-number: PYSIDE-841
Pick-to: 6.1
Change-Id: I21f403ee62b45c0cb2a45eca6c5c99f11901610e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][PySide6] pathlib.Path gets additionally accepted for
all function arguments which have a std::filesystem::path type.
This is a first part that implements those modifications
which have a std::filesystem::path entry. In a later patch,
all the possible other Path insertions will be made.
Task-number: PYSIDE-1499
Change-Id: I2dec04dbdb2aaff6ca56c39b28f60281262fe078
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use a switch on the meta type id instead of string comparison and
catch None-cases in qvariant conversion early on
(QMetaType::Nullptr and QMetaType::VoidStar with 0).
Pick-to: 6.1
Task-number: PYSIDE-1585
Change-Id: I05da179b8eef6f9a9b86a66e1c40762b655bd724
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
shiboken knows some check functions and defaults to
typeName + "_Check" in the end.
For custom types in modified function arguments, it is useful to be
able to specify a custom check function so that the overload decisor
finds the right type. Add a CustomTypeEntry class with a checkFunction
member for this.
[ChangeLog][shiboken6] It is now possible to specify a check function
for custom types in the typesystem.
Pick-to: 6.1
Change-Id: I21ec541afd5073dede09d359f2e2e16a0c6a0a05
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: I7a413a5ca3e64e9270026d4ea5d73d28df20ca5c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
| |
- Using cards with buttons
- Fit images as a cover for each example
Task-number: PYSIDE-841
Change-Id: I1702fbad8fabc9d0f9e2a06d46afcf73b4075c8d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
| |
Change-Id: Ibf646d91978d6df2ecd1932737b5d0f3d45965a1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Failures have been observed on Windows:
qt.sensors.winrt: Unable to initialize orientation sensor factory. "CoInitialize has not been called."
for i in range(0, reading.valueCount()):
AttributeError: 'NoneType' object has no attribute
Traceback (most recent call last):
Change-Id: I67d2645b722666631c640bea865f2966b3deb130
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
| |
Change-Id: I4929dd24bd09f47ad221a4646bfb029c72e69748
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Add AbstractMetaFunction::minimalModifiedSignature() to be used
in the overload decisor comments and split the formatting helpers
accordingly. No caching is required as it is called only once.
Task-number: PYSIDE-1588
Pick-to: 6.1
Change-Id: I29b7d6ba33bfe3f4348234697ef1ef8112f86ac9
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PyClassProperty is now correctly published as a QtCore class
and existing as an import.
As a side effect, a bug was fixed where a syntax error
occurred because of a missing signature count.
Task-number: PYSIDE-1019
Fixes: PYSIDE-1593
Change-Id: Iae733280d9f9c23244e83a356011104bf527c329
Pick-to: 6.1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
| |
This old test is really redundant and suddenly creates
errors. We replace it with a much easier version.
Change-Id: I19327c9e1fab170a4bee954f7fe90419aeaec686
Pick-to: 6.1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The build scripts used a reimplementation of ldd to determine
library dependencies in case ldd is not installed which may
fail on recent systems.
Try ldd first and fall back to the reimplementation only
if it fails.
Change-Id: Icca16c2fae0ce6086284eb0194a28d8ec32daae6
Reviewed-by: Simo Fält <simo.falt@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a preparation step for PYSIDE-1499, but in
effect it is solving a lot of old problems where
signatures hat to guess what was changed, and failed.
Task-number: PYSIDE-1588
Change-Id: Ib20f78e8f79e8928b5ec16b733f22fd85c3a1155
Pick-to: 6.1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
| |
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: I00d30c95bd5835b6d904bc28f671e284017fffb5
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Pick-to: 6.1
Change-Id: I1de706d9bf8456a27ae68f995c6d744ce29ae23c
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Generate a separate, private module header containing classes marked
as "private" in the typesystem. This can be used for classes that are
not used in dependent modules and helps to prevent propagation of for
example private headers required for them.
Task-number: PYSIDE-802
Change-Id: If7f19c152d007c689bf719e13292107dceb802da
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
In CMake, remove the AUTO_OS variable from the check_os() macro. Fold
the macOS/X11 type system files of Qt Core into the common type system
file.
Task-number: PYSIDE-802
Task-number: PYSIDE-1568
Change-Id: Ib751f40fbf7eca8fe4d08270db4fbc1e938323c5
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add ConditionalStreamReader as replacement for QXmlStreamReader,
handling Processing Instructions to exclude/include sections depending
on keywords.
Task-number: PYSIDE-802
Task-number: PYSIDE-1568
Change-Id: I1e2151849e79189943f49313137879bbf6ba3665
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
Rename QCameraInfo/QAudioDeviceInfo to QCamera/AudioDevice,
adapting to qtmultimedia/1c4dd0c23c0a7bdefaeecbae491a12f49a6b9ce5.
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: I1a2972300aa0a8119e4c90919ed464124a7a6419
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
Amends e72dc6d88f85fea451338523058e0407e8c8f0b5.
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: I4eea6fc9949ef2307d3b30e18cf2801e8b56d6bb
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For classes that have increment/decrement operators
(++/--), shiboken6 generated operators +=/-= ( __iadd__/__isub__)
by calling them n times. This was mainly intended for iterators.
However, when both operator++/-- and operator+=/-= were present (as
introduced by qtdeclarative/f8f31dd0e1f9425ba272691c79e719ebc4bcfb94
for QJSPrimitiveValue), duplicate code and errors were generated.
This requires filtering of the operator functions.
Introduce a separate function type for increment/decrement operators
and remove them if operators +=/-= were found. Also, when
both prefix and postfix version of the increment/decrement operators
are found, remove one.
Extend existing class IntWrapper from libsample for testing.
Add explanatory comment and use prefix increment.
Pick-to: 6.1
Change-Id: I0f8a0c79a6f74974ba327d21f35fff74962ffd3a
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the need to remove the constructors in the typesystem.
Amends 1d044f467070a040713c9566a8a8de3a56c571e7.
Task-number: PYSIDE-1568
Pick-to: 6.1
Change-Id: I2e2312b01c160b420c637a0eb7ddb049a7f596af
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
This showed up when working on unrelated pathlib stuff.
Change-Id: I230be79183c3dc41fa25abb276b1fdceb7df1630
Pick-to: 6.1
Task-number: PYSIDE-1499
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][PySide6] A number of missing classes from the qtdeclarative
repository have been added.
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: Ic6a74cca926338fef5dcf0a5d60a9aa540c6602e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
Rename QAudioOutput to QAudioSink and QAudioInput to QAudioSource,
following qtmultimedia/3350275e25c96b391e31d2c9c472b4f0aa58b8f7,
qtmultimedia/aa1f073a32147d147e4e9a0fee9dde8ccc30531e.
Pick-to: 6.1
Change-Id: I78bca6f8e9c43ef42753b3a81921440afe4ad387
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][PySide6] A number of missing classes from the qt3d
repository have been added.
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: I469b86196133fa82c5acca0caf91d29d991015de
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
As a drive-by, fix warning about non-existent function.
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: Iaa6bd9c2a08e96d996fda0f88d0217340f16526f
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
SimpleNamespace was hand-written for Python 2.7,
but Python 3.X has it as a builtin.
Pick-to: 6.1
Task-number: PYSIDE-1415
Change-Id: Ic3f94d064e46661868a08f46de154840170e7ca9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The function DynamicSlotDataV2::key needs to handle compiled
functions as well, which are not covered by a PyMethod_Check.
The author of this patch is Kay Hayen.
Some AutoDecref usage was then applied for simplification.
Change-Id: I8d0f0c15100a385fd655a96c95a25bacb1b61f1b
Fixes: PYSIDE-1589
Pick-to: 6.1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Introduce a list variable shiboken_command to which elements
can be appended, avoiding empty options (--drop-type-entries)
- Use the include directories from Qt6::Platform instead of the
global QT_INCLUDE_DIR since it also has the mkspecs directory
containing qplatformdefs.h.
- Introduce list variables for the shiboken include directories
and framework include directories as an extension point where
other directories can be added.
- Remove old workaround for
qtdeclarative/8d560d1bf0a747bf62f73fad6b6774095442d9d2.
- Move positional arguments (global header and typesystem)
to end of argument list.
Pick-to: 6.1
Task-number: PYSIDE-802
Task-number: PYSIDE-1568
Change-Id: Id4d020a163c79010616749701251891545858447
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"disable-wrapper"
Factor out a helper function to return the class name
for which Shiboken::callCppDestructor<> is to be called
and handle the case.
As a drive-by, fix nullptr in class register.
Amends 1d044f467070a040713c9566a8a8de3a56c571e7.
Task-number: PYSIDE-1568
Pick-to: 6.1
Change-Id: I22e5596c066422274c3c994cc398311fc99f1709
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix: "Fatal Python error: Python memory allocator called without holding the GIL"
when running sources/pyside6/tests/QtWidgets/qimage_test.py
Acquire the GIL for releasing.
Amends a97698f0a5d011fd206db94cf73dba6353f39b29.
Pick-to: 6.1 5.15
Task-number: PYSIDE-1563
Change-Id: Idf8dbf857f6dde76f80a78f581dacb3cf5fea16b
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][PySide6] A number of missing classes from the qtbase
repository have been added.
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: I7b5388df1a4773ccdf32d44e2d968ba814453e34
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
sources/shiboken6/doc/typesystem_manipulating_objects.rst:333: WARNING: Could not lex literal_block as "xml". Highlighting skipped.
sources/shiboken6/doc/typesystem_specifying_types.rst:236: WARNING: undefined label: typesystem node
sources/shiboken6/doc/typesystem_templates.rst:47: WARNING: undefined label: insert-template node
Pick-to: 6.1
Change-Id: Ia031acd2fdef925ff2995fa217bd297fe4512679
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
| |
Output the arguments line by line to show CMake quoting errors.
Pick-to: 6.1
Change-Id: I80958f10fa90b6adc5719653f93b4e28771ce261
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Comparing a derived class against the base class should not be possible
(for example, QBluetoothUuid and QUuid).
Pick-to: 6.1
Change-Id: I546cdb6d00c9f0e7f045780b800418c1fc90acc7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
|
|
|
|
|
|
|
|
|
| |
Pass the proper default value when reading the geometry.
Fixes: PYSIDE-1584
Pick-to: 6.1 5.15
Change-Id: I6cff4e9e47b68704d6a75384a84c36268892b409
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
| |
Change-Id: I17d1abecf7349e2cc495ac96c571f36819c6195c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Having the temporary file open while qmake runs causes an access
error on Windows.
To fix this, create the file in a temporary directory,
where also the stash file goes.
Pick-to: 6.1
Change-Id: I3e972bbf29f68ec5d22d993488fc88b8b5c0a5a6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The platform-specific enumerations were removed by
qtbase/59342379bde1be36b5c42cc8019c598138a0b534, so, there is no
need to have it in the platform type system files.
Pick-to: 6.1
Task-number: PYSIDE-802
Change-Id: I66976e688c0642ae5cfef5d760c4d6a5d6d41467
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
| |
Pick-to: 6.1
Change-Id: I1f6226ece1e12aa5886d1093fee87b5a520416b0
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove ENABLE_X11 in favor of ENABLE_UNIX to match the Q_OS_
defines.
Remove unused ENABLE_SIMULATOR.
Task-number: PYSIDE-802
Task-number: PYSIDE-1568
Pick-to: 6.1
Change-Id: I231580d562c4ee06db1bd6bf04eb53283d882134
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the per-platform typesystem files from QtWidgets and
QtPrintSupport. It should not be necessary to repeat the Qt::HANDLE
definition from QtCore. Keep the ones from QtCore and QtGui as they
might be reused for native interfaces.
Pick-to: 6.1
Task-number: PYSIDE-1568
Change-Id: I409fd7209c6ff130d1eef639398a57f19b25dcd5
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Pick-to: 6.1
Fixes: PYSIDE-1583
Change-Id: Id2fc50237c8c5256a280f822b4c2e1445a9b9aec
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
| |
Pick-to: 6.1
Change-Id: I27778adabb8b7681b1a5155f2804429d238d3624
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.1
Change-Id: I702f1a3e9f0add747d93db7ae19bf5878a96563a
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove no-longer existent macOS-specific classes
- Move QAbstractEventDispatcher back to the core typesystem
- Move all warnings to the core typesystem
Pick-to: 6.1
Change-Id: I9d733e1a1eb2682784f22ec3b4b7d976db737f02
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Imports now import needed things, only.
Task-number: PYSIDE-1019
Change-Id: If2dc2d04934123c3a6db7e69388d4c4d37cbc475
Pick-to: 6.1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|