| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
Qt For Python Release 5.15.7
Change-Id: I49808098e3ba42be4be438cb3536fc25672c7127
|
| |
| |
| |
| |
| | |
Change-Id: I88e86001ba76945e34cf6aed1faf4f0fc1b6f3fb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The result was set to true unconditionally when
self == other. Fix and rearrange the code.
Fixes: PYSIDE-1696
Change-Id: I8892d0f6439186d8629c5a24347fc1ce700ecb58
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 9399408fd1e7e12215389a5bf96ae5e4ec38905b)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The identifier for anonymous enums has been changed, causing
shiboken to no longer recognize them.
Task-number: PYSIDE-1686
Change-Id: I4d463132b8bd3fffa0b57f03be6c58ecbae94a49
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 1948a1b6f9a3547ba9fba9b8c525eb6e1c6b4f13)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add missing import, fixing:
Traceback (most recent call last):
File "C:/Users/qt/work/pyside/tqtc-pyside-setup/sources/pyside2/tests/QtCore/feature_with_uic_test.py", line 72, in testFeaturesWorkWithUIC
QCoreApplication.process_events()
NameError: name 'QCoreApplication' is not defined
Amends d57e16a89fb963c7416f6a9875773ac0edbcb032.
Task-number: PYSIDE-1626
Change-Id: I25508996c0aa4a12afb6be25bf92e35442c04864
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add allow-thread.
Fixes: PYSIDE-1681
Change-Id: I624979c5845a3366bcd9d7827ff2c77438ec54f3
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit b8dadf54c3736b52a770d7715c8320a4dd016427)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
shiboken needs to run with pyside extensions to parse the Qt
annoations correctly.
Change 62c21af778b7bff6c86e7f89ef03a87efa6c51cb moved the compiler
defines from the pyside global header into shiboken. This caused the
function type detection to fail in the doc generator since it
did not pyside extensions and thus signals/slots were listed as
normal functions.
To fix this, move the --enable-pyside-extensions option to the base
class Generator and add it to documentation's CMakeLists.txt.
Change-Id: I70142367ee01839d8e44cbf31e894991cf941197
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 614787bfc8f0210e30beecc0f03c9fe772f9c139)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The QBackingStore part of qrasterwindow_test.py does not work
on macOS. We remove this part of the test that should not
even reside in PySide but is a Qt matter.
This was first done in Qt 6, but is now also needed
in 5.15 since apparently a relevant change in Qt
was cherry-picked.
Change-Id: I520a5fd1336850d3e3883bcccb9b6a4b2cdafeda
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 35f0aa7be658c6dc5887aad6c38e098e3466ec5f)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The argument type is not necessarily a PrimitiveTypeEntry.
Task-number: PYSIDE-1660
Change-Id: I312f20e24cfe888d10c218db596d29c3ab318bd6
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit f6e8ba7e9861e29dbd995d984accc79e96a10388)
|
| |
| |
| |
| |
| |
| |
| | |
Fixes: PYSIDE-1659
Change-Id: I9025e8454d7153faec8b49f0ae02bf175dae3fd8
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 650d22e26ce4543aa62169c99a0753de7f6891ed)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix the macro name, amending 4d63dfffb661115f58cca60c80c4649ba982e01b.
This was actually discovered by PyPy bug hunting.
Change-Id: Ic71ecf07dc3e03d23fa505d8a3fad3f7b933c354
Task-number: PYSIDE-1655
Task-number: PYSIDE-1033
Task-number: PYSIDE-535
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit df81513945fd40c3ce6b28605ba656f35c814602)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix the macro name, amending 4d63dfffb661115f58cca60c80c4649ba982e01b.
Task-number: PYSIDE-1655
Task-number: PYSIDE-1033
Change-Id: I2d86806dda51091cecebfa4b90ce7d5582b7b197
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit cc7da649aff335ad86c669e3ccb0185738e9d9ae)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove stream attributes from the attributes list after
the stringview has been dealt with.
Fixes: PYSIDE-1655
Change-Id: Ib50b661e93ca164d68981fc3572cc132412f3302
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
(cherry picked from commit f0425d31701d96e8c048b889c9ca8b59e910e043)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The check code itself crashed when qApp_last == nullptr.
Fixes: PYSIDE-1647
Change-Id: Id8839bf551ad63f6ef2a1a997dabf455d3588c11
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 2c41d10a6a1f6fb7b496fc8c4c59e377b819f634)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|\|
| |
| |
| |
| |
| | |
Qt For Python Release 5.15.6
Change-Id: I7a6874dfca79fbc46f5a6101e713b0c1dde9a640
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes: PYSIDE-1639
Change-Id: I14ed08de3ba883650c32b4c2242c54c57624e087
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 9a54b25b35539e0710e0dd00c95267ae7d5c8954)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows threads in the methods:
- waitForBytesWritten(int)
- waitForReadyRead(int)
Fixes: PYSIDE-1640
Change-Id: I391feb7b5c834574c12e378318d5a39c49a4a75e
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit c7c0d1527085b4038ee39c66910285a83a110735)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ie100f89b542580dfe88e8488c92572f71aa26526
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This includes a case where the passed type is not
a Python type, so we fallback to a QVariant type
as Qt/C++ does.
A 'TypeError' is raised if the Python type used
is not considered.
Added a couple of tests too.
Fixes: PYSIDE-1619
Change-Id: I5f2e277bb6ccbf9c3a1b23e79717c11ff7635ce5
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 07b93a82afc22760f87a68fa9926dd316c4a0815)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The BindingManager::getOverride function computes the current
switch state from information of a type object. But the type object
must first be updated in case a switch has happened.
The solution was an extra update call at the beginning of the
function.
This solution _always_ works, with or without inheritance, for
Python >= 3.7.
[ChangeLog][shiboken6] Coexistence of different feature
selections works now, especially for UIC files and inheritance.
Fixes: PYSIDE-1626
Change-Id: I577331cfb2d7511110d1e16e729bed80985340a0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 9b5fa60d1fed5025e97c393ba1bab80f81ba833a)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With the new implementation of an importer for virtual
zipfiles, there is no longer a problem with traces of files
in the file system.
Especially, cx_freeze should have no longer any signature
related problem.
This version cannot be backported to Python 2.7, but it will
work for Python 3 and PySide 5.15 .
[ChangeLog][shiboken6] Embedding of supporting Python files
is now completely virtual. No FS files are involved any longer.
Change-Id: Ifa0942b4476bff95e823505897b867735418ca69
Fixes: PYSIDE-1621
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit f7db16f3e9e7a567a3f8993507b701b20addb627)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The signature scripts needed an update to make them
work even when no source files are available.
* Access to the license text should avoid source files
* Some loader simplifications are possible since Python 2 is gone
* The import list for PySide is incomplete
* Enforce embedding in COIN mode for better testing
This is a preparational step before the zip file access
becomes totally virtual.
Change-Id: I85e750bb718855f140edac6de34955adbd7843bc
Task-number: PYSIDE-1621
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit a9de26109fca55154511f5d074c7d9e135b397f6)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Checks for the number of arguments were not generated in some cases.
Change-Id: If414cdd2eb4190966e847232128600d61a4769f6
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 947a7f5f5d55b6f72b449578d905e9a4b5feb6ea)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For all objects encountered in findChild(), a wrapper
was created just to be able to retrieve its type object
and check against it. As there is a name lookup involved,
it happens that non-QObject wrappers are created for this
(in the specific case, an enum wrapper), which leads to
crashes later on.
Refactor the code, extracting a helper function to PySide
which finds the best-matching type object for a QObject
to check on that. Rearrange the check so that the name is
checked first.
Fixes: PYSIDE-1609
Change-Id: I026854201f3f6eca9e5905105127f0a4b4588fa9
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 98aef951920641dcdf4c217a0c51626cdf82caf8)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also test Python-derived types.
Task-number: PYSIDE-1609
Change-Id: Ia85a64ffc713c8cbbca0506dd9390f601e206e15
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit ba819888cad86b0cacb2a992f01287b476b29a04)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][PySide6] The `tr` function now works also for
PySide derived Python class instances with the right context.
Qt has a translation feature that works fine on strings that
are directly parsed from a Python class.
For derived classes, the correct context could not be found.
This problem could have been solved by obtaining the calling
function name from the frame stack, walking the mro and
examining in which class dict the calling function can be
found, but this works for Python functions, only.
For any function, simply probing the translation result is
even easier and always works.
We walk the mro, too, but simply use each class name in turn
as context and probe by comparison if a translation was done.
Change-Id: Ibca9dc0098a3aa26a674b3d5e24ea14e651fe6de
Fixes: PYSIDE-131
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit c61141d43fd6e56a52449cbfe6cc13d07f9156bb)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds a missing Py_INCREF on the base class
`Shiboken.Enum` when a new type is created. This is _not_
automatically provided (but it _is_ for the meta type...).
The error was visible in a debug build, only.
Change-Id: I213713535acd1dde71bd8e3a0efe6122119d43b5
Fixes: PYSIDE-1487
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit ddb03b40f311a9c34b599136ac1cb0324f6b2b42)
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|\|
| |
| |
| |
| |
| | |
Qt For Python Release 5.15.5
Change-Id: Id8648afb982e4f1354257a0b523bc9c6f1acce2a
|
| |
| |
| |
| |
| | |
Change-Id: I36a805bb033ac4fbcad8f1062a5612a803b448a1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][PySide2] QOpenGLPaintDevice has been added.
Fixes: PYSIDE-1090
Change-Id: Ia476a810f65956b73c28b1bed41da87bc28443f3
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
Task-number: PYSIDE-1563
Change-Id: Idf8dbf857f6dde76f80a78f581dacb3cf5fea16b
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 039776b1af905ab90ab49f6986214450e8099882)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The constructors expect a range of memory that remains valid
through the lifetime of the image and may also modify it.
Crashes occurred since apparently the Py_Buffer was released before
it.
To fix this, inject code to increase the reference count
and decrease it in the cleanup function.
Fixes: PYSIDE-1563
Change-Id: Ic4a47e0f458ed5b59b88813139102a9f1490a9df
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 7079bc4ffc63dd42054014b4b78bff78abed962b)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It breaks a use case in pyqtgraph, which expects to be able
to manipulate the image by modifying the data.
This reverts commit cc011c8980cc4ce02e3d9cceb74ee028c204214e.
The helper Shiboken::Buffer::copyData() is left in place since
it can be useful for other cases.
Task-number: PYSIDE-1563
Change-Id: Ib0d58662a4257a315865436a32e99d9ee6369e03
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 4daaa2edd881865172f19c007c69113bf4afc8cd)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Imports should not touch the feature dict unless they are feature imports.
This was a small error in the import logic.
(also fixed a const_cast glitch)
Change-Id: I16045fffb4b770861ff2efba674667894e0798e5
Fixes: PYSIDE-1548
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 39ba36db0fb8a3c722cb23e02f38abab9c67592c)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
by pointer
Indicate Default ownership, for QClipboard.mimeData(),
QTextCursor.currentList(), QTextCursor.currentTable(), fixing:
RuntimeError: Internal C++ object (PySide6.QtCore.QMimeData) already deleted.
RuntimeError: Internal C++ object (PySide6.QtGui.QTextList) already deleted.
[ChangeLog][PySide6] Crashes in QClipboard.mimeData(),
QTextCursor.currentList() and QTextCursor.currentTable()
have been fixed.
Change-Id: I1e4f55856bce8bf951edd8579331f0242e904ae6
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 8cd50636102be2e1178c8c602a3e374891398e3e)
|
|\|
| |
| |
| |
| |
| | |
Qt For Python Release 5.15.4
Change-Id: I8457501ba90fc481fb9de686eb8a2f880ecc06cd
|
| |
| |
| |
| |
| | |
Change-Id: I751fef7ad1f19416313cbd565a02fd5a52723b79
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The constructors expect a range of memory that remains valid
through the lifetime of the image and may also modify it.
Crashes occurred since apparently the Py_Buffer was released before
it.
To fix this, add a new buffer helper, copyData() that makes a copy
of the data and pass that along with std::free() as cleanup
function.
Fixes: PYSIDE-1563
Change-Id: Idb09eadea658f02968f75c6bdfc6cc3f467111d5
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit cc011c8980cc4ce02e3d9cceb74ee028c204214e)
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Similar to 3a18da91353a71e801658329c55b170c18bcd824, pass an allocated
list to the function.
[ChangeLog][PySide2] A crash in QCustom3DVolume::setTextureData()
has been fixed.
Fixes: PYSIDE-1362
Change-Id: I7dddaf7be33b84b89d66378ec61f6a065f6d71be
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit a6dfbb2a72235ecabc7b1d61c085a7d7de3df8d0)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Even when using the code, some portions
of the cmake file in sources/pyside6/doc/
was still being executed.
This makes sure everything is skipped if we use
the '--skip-docs' option when building.
Change-Id: If78b19b9650b61b642e447b8c96b814e82994d7c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit fbbae556c9bf060be366fd578986cae85ff8caec)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Task-number: PYSIDE-1513
Change-Id: I5817869aaf495f4005c4fda92d15fceafb15600a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 6a06abd970bc55ae3439897a7399c3acbfd5d0a7)
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Unlock in the threads, fixing warnings:
QReadWriteLock: destroying locked QReadWriteLock
QReadWriteLock: destroying locked QReadWriteLock
Change-Id: I484b7947fdcf241fca069c02ecd9e0ff7c20c151
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 8245dd6356dbb0124a7477b16f19e5f031074f85)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In writeInjectDocumentation(), pass class Documentation (including
format) instead of just the string to writeFormattedText()
to prevent it from running through XMLToSphinx.
Change-Id: I6116552fc3ea8f7ddc1cc07d51370f868de97bb3
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit d9b11bb733e3a3e2546634f6792691aaa473be65)
|
| |
| |
| |
| |
| |
| |
| | |
Change-Id: I648dfaa0049e7ca9bba0b90f6e06ea6e0bda1bd3
Fixes: PYSIDE-1524
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 2f18ab9c93d4fae8d8d7e4d84bd9cd2e7fd22c3d)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It was often a pain to handle embedded files correctly. Often, when
embedding was used, one could not see any effect after
re-compiling when --reuse-build was specified.
This rendered the --reuse-build option often quite useless.
The new approach adds dependencies for all involved Python
files, and at the same time reduces them to a single list.
Fixes: PYSIDE-1536
Change-Id: I6ef36c9ffccd2cd1ac290bb8e879b050f633eaf4
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit e641c225d2954cfc5c85e00eda83f5319c84b3c8)
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Result tuples do not (yet) get information from XML.
Instead, they fetch their info solely from the embedded
signature strings and information encoded in mapping.py .
When a variable is determined as a result variable, it is
removed from the arg list and normally appended to the
return tuple.
It turned out that a special rule is needed:
A variable that comes first in the variable list should
also be first in the result tuple.
This heuristics should be replaced by more introspection.
Right now, this suffices as a working fix.
Fixes: PYSIDE-1409
Change-Id: Ib65682439e2f678380e0f58a42a36506d0766ddf
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 3506158551488788450498f9b4ffe86375172fea)
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move the extraction of the brief text from the
QtDocGenerator to the QtDocParser and store the brief text
in class Documentation, allowing for later extraction.
The handling for qdoc and doxygen should then be consistent.
Change-Id: I86b37ae1c4a92f96508a03f5dbcfb6dc56014382
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 1c4b7ddb0f879909f5d2f9f6207c06dfd2493340)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Registering static fields invokes converters, which
can cause crashes for uninitialized types (see also
2ac1870053370e017567ae53e62cd1155a01c88f). To solve
this problem, move the static field initialization
to the end of the module initialization function
to ensure all converters are available.
Fixes: PYSIDE-1529
Change-Id: If40c6faf049077db8afcdee2069f4441c21beaa4
Reviewed-by: Renato Araujo Oliveira Filho <renato.araujo@kdab.com>
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit af1bdd8447771728321984f87447187f0284db6b)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Reorder the overloads so that the QPolygon overload is checked first
before the costly sequence type check of the QPoint list.
Speeds up the example from 1800ms to 80ms.
Fixes: PYSIDE-1540
Change-Id: I108b0e98c82540703ee80345026ecdc3b55dfd4e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit ef707d2077862933b767bccf17ca0c54f9475de0)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Put the settings file into a temporary directory,
which ensures it is cleaned up.
Pick-to: 6.0 5.15
Change-Id: Iacab066e1b1da20a8771a844e20751d1e5fb90d2
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 5109bcc49ee907d15c7e9735f8642f15bef90eb9)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|