aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6
Commit message (Collapse)AuthorAgeFilesLines
...
* Enable threads for QML load methodsFriedemann Kleint2023-06-281-0/+5
| | | | | | | | Otherwise, for example QQmlAbstractUrlInterceptor locks up. Pick-to: 6.5 Change-Id: I4f1b3e1829b00c16cbf983d6f297304c0e99023f Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix typing error for QQmlExpression::evaluate(bool *v)Friedemann Kleint2023-06-201-1/+1
| | | | | | | | | | | Use Any instead of "any". Amends 3c2117c6ce31ff403fc2f17a181763057cd2e1bc. Pick-to: 6.5 Task-number: PYSIDE-2285 Fixes: PYSIDE-2364 Change-Id: I1adc6c2e8e4d12516c42ba09b9431638423af1d3 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Enum: Enable toInt for QVariant(PyEnum/SbkEnum)Shyamnath Premnadh2023-06-132-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | - For Python/Shiboken types not known to Qt that requires wrapping around a QVariant, we use the PyObjectWrapper type. This patch registers a toInt() QMetaType converter for PyObjectWrapper, which enables automatic conversion to int for a QVariant(PyObjectWrapper) within C++ i.e. QVariant(PyObjectWrapper).toInt() will work - This means that cases like QAbstractItemModel::data() that calls QtPrivate::legacyEnumValueFromModelData(const QVariant &data) would work without explicit conversion from QVariant(PyObjectWrapper) to QVariant(int). But for cases like QMetaProperty::write() explcit handling is still required. - This would also work for cases where the QVariant(PyObjectWrapper) is simply channeled from Python to C++, and from C++ back to Python without performing any operations on it. - Incase, the wrapped object is not a PyEnum/ShibokenEnum object, then toInt() would return a -1. Pick-to: 6.5 Task-number: PYSIDE-1930 Task-number: PYSIDE-2339 Change-Id: I983351f2ff88c79c29399c257e38421116efc7a3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Fix a few type hints of functions taking a strFriedemann Kleint2023-06-071-0/+28
| | | | | | | | | | | Fix QCoreApplication::translate(), SIGNAL(), SLOT() and QMetaObject.indexOf*(). Fixes: PYSIDE-2357 Fixes: PYSIDE-2331 Task-number: PYSIDE-2340 Change-Id: I5198b1159ede06536bfc36287be8b3178f54d036 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix crash when using QScxmlStateMachine::connectToEvent()Friedemann Kleint2023-05-311-2/+4
| | | | | | | | | | Change (gadget) QScxmlEvent to be a value type. Refactor the test to check for events as well. Pick-to: 6.5 Fixes: PYSIDE-2340 Change-Id: I0e37de05740f17d41794ebc74c81e49c49753495 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6: Fix some generation warnings about enumsFriedemann Kleint2023-05-128-0/+27
| | | | | | | | | | Some modules pull in QtNetwork/QtQml via their Depends headers although it is only a private/link dependency. Suppress warnings about the enums. Pick-to: 6.5 Change-Id: I35d75ca538bb770294e434b83233600462805e99 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Improve message about missing type entriesFriedemann Kleint2023-05-121-1/+1
| | | | | | | | | | List the loaded (dependent) type systems as the reason mostly is a missing dependent type system. Pick-to: 6.5 Change-Id: Iaefd39b3097357402292b2520ae410a7fd6a8911 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* PySide6: Reject some internal namespacesFriedemann Kleint2023-05-128-0/+27
| | | | | | | | This reduces noise in the log files. Pick-to: 6.5 Change-Id: I0c8c98859058d9bbef26f71da83918490099a318 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6: Fix some generation warningsFriedemann Kleint2023-05-126-10/+6
| | | | | | | | | | Remove obsolete enumerations and classes. Add a few new enums. Pick-to: 6.5 Change-Id: I8283cb7b20000839b2c9f4ba16b9a69ffab9f2c6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Revert "PySide6: Fix build broken by mixed flag operators"Friedemann Kleint2023-05-111-8/+0
| | | | | | | | | | | This reverts commit 87eb93ea934774bab6e8359ce3c80ae818fa9b7e. The functions are reject (cannot find base operand class) and cause warnings. Pick-to: 6.5 Change-Id: I6a99405e41720a748dda2c7156e4effccbdab189 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Numpy support: Handle short/long/long long integer typesFriedemann Kleint2023-05-051-0/+16
| | | | | | | | | | | | | | | The default type of numpy is int64 on Linux and long in Windows these days. As numpy is still based on the old long/long long scheme for the types, add some mapping. [ChangeLog][shiboken6] numpy support has been extended to handle short/long long integer types. Fixes: PYSIDE-2313 Pick-to: 6.5 Change-Id: I75d9277ae0867401c2c188efb3a50f4c53c4fc24 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* shiboken6/clang: Suppress class scope look up for parameters with scope ↵Friedemann Kleint2023-04-282-2/+2
| | | | | | | | | | | | resolution Add a flag to AbstractMetaBuilderPrivate::findTypeEntriesHelper() to suppress the class scope look in case scope resolution. Task-number: PYSIDE-2288 Pick-to: 6.5 5.15 Change-Id: I04a4810d03845fb48393c5efed3641220bd12d87 Reviewed-by: Christian Tismer <tismer@stackless.com>
* PySide6: Add QTextLayout.GlyphRunRetrievalFlag(s)Friedemann Kleint2023-04-261-0/+1
| | | | | | | | | | Introduced by qtbase/1fe7144a0746353ea629cd91b5c0d04a8434159b. Task-number: QTBUG-103932 Pick-to: 6.5 Change-Id: I5455d22a71e917f469e2789ae38b08199efa8c09 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix build when using QT_FEATURE_opengles2Christophe Marin2023-04-242-10/+3
| | | | | | | | | | | | | | | | 'QT_CONFIG(opengl)' doesn't necessarily mean all of the qopenglfunctions_* headers are present. That's not the case when QT_FEATURE_opengles2 is enabled. Only qopenglfunctions_es2.h is installed in this configuration. Amends: 6d6f614fdd7510a1b8a00a51bb6232a3d151523b Fixes: QTBUG-112708 Pick-to: 6.5 Change-Id: I00219554caf25e48236724c150f8bcd7fc9dc46c Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix image loading from a thread blocking the UIFriedemann Kleint2023-04-191-1/+1
| | | | | | | | | | Complements 4106f1420119f77b41246836f1829431a1c58395. Fixes: PYSIDE-2302 Task-number: PYSIDE-803 Pick-to: 6.5 Change-Id: I48af4f9ca364cc742f2ad69f9d604147f4c5cd0e Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix missing QSqlQueryModel::query()Friedemann Kleint2023-04-181-0/+3
| | | | | | | | | | | The function was removed by qtbase/2ca30440835ef99d8b5f720866fc163a9629bed7. Bring it back with a FIXME for Qt 7. Pick-to: 6.5 Task-number: QTBUG-105048 Fixes: PYSIDE-2300 Change-Id: I4c1fb0d8a87bcbc1cd3d8068500cf5ec9e047dde Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add QTimeZone::InitializationFriedemann Kleint2023-04-141-0/+1
| | | | | | | Fixes: PYSIDE-2298 Pick-to: 6.5 Change-Id: Idcfe91d1f2be5c3591b66977c8c7cc5e3275b4dc Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Add type hints for return values modified to Tuple[]Friedemann Kleint2023-04-138-42/+42
| | | | | | | Pick-to: 6.5 Fixes: PYSIDE-2285 Change-Id: I525ffea2f79bf54de43dc02c31a41994fe3004d5 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add QScreenCaptureFriedemann Kleint2023-04-052-0/+5
| | | | | | | Pick-to: 6.5 Task-number: PYSIDE-2206 Change-Id: I6776abea0eebda9f736ae77c6c3f395bde7afe93 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add QWebEngineFileSystemAccessRequestFriedemann Kleint2023-03-302-0/+8
| | | | | | | Pick-to: 6.5 Task-number: PYSIDE-2206 Change-Id: I6ebb82b93df4dc31083adc209190fab4dcc4299b Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add parameter names to the qmlRegister() functionsFriedemann Kleint2023-03-301-7/+7
| | | | | | | | Pick-to: 6.5 Task-number: PYSIDE-2272 Change-Id: I8f67505875178c007de2c141a524e9bc1e76169a Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add the QtWebEngine version functionsFriedemann Kleint2023-03-291-0/+4
| | | | | | | | Pick-to: 6.5 Task-number: PYSIDE-2206 Change-Id: I3bbbc063525d6cb2b4a30281915578b36fbe6bbb Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add enums of the Permission APIFriedemann Kleint2023-03-291-0/+4
| | | | | | | | | Amends ed68eec67393338d1019ad9babb03aa7d3e1bc1c. Pick-to: 6.5 Change-Id: I4bf74558562ac4dc1cd9cbc09328fa218415426a Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
* Add basic permission APIFriedemann Kleint2023-03-272-0/+44
| | | | | | | Pick-to: 6.5 Change-Id: Ic3b1df1afaf96af8118fda7efa4e7b76fc201e73 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Clean up module CMakeLists.txtFriedemann Kleint2023-03-273-18/+8
| | | | | | | | Fold in outdated version conditions, sort code module. Pick-to: 6.5 Change-Id: I63fe4c687d2487f28fb9781612ac63ec6ef1a5c7 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Introduce QHashSeedFriedemann Kleint2023-03-222-0/+3
| | | | | | | | | | | | | Qt 6.6 deprecates qSetGlobalQHashSeed() in favor of the class QHashSeed introduced in 6.2 (qtbase/4ef99b8fbb3ba32df5591ac306fe8a7baa31c92c, 7ac0621ad1a649254e7d6175205e7ea22290b4d0). [ChangeLog][PySide6] Class QHashSeed has been added. Pick-to: 6.2 Change-Id: Ie87a945c217e5717b4068ef50303ef96319bb8e1 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* cppgenerator: get rid of all goto constructsChristian Tismer2023-03-201-1/+2
| | | | | | | | [ChangeLog][shiboken6] The generated code no longer contains `goto`. Change-Id: I3b90abafd8dbe2c19b4fffb7880322451d1ed068 Fixes: PYSIDE-2256 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Implement QOpenGLContext.getProcAddress()Friedemann Kleint2023-03-182-1/+16
| | | | | | | | Declare QFunctionPointer as a PyLong type. Fixes: PYSIDE-971 Change-Id: I617216b169f1e161b2f80eab311f1f979d35f370 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Expose QAbstractTextDocumentLayout::PaintContextFriedemann Kleint2023-03-171-1/+0
| | | | | | | | | Extend the QRasterWindowTest to test it. Fixes: PYSIDE-2252 Change-Id: If36253d00edab4dc9026ccd483485b2ba6d3f69e Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6: Clean up rejectionsFriedemann Kleint2023-03-163-34/+9
| | | | | | | | Remove non-existent functions and move stuff to QtWidgets. Task-number: PYSIDE-2252 Change-Id: Id2c73698a138b0e6a28dfd531ac7d7de9a1df3de Reviewed-by: Christian Tismer <tismer@stackless.com>
* Android Deployment: OpenGL wrappersShyamnath Premnadh2023-03-162-45/+44
| | | | | | | | | | | | - by default, it can be assumed that Qt for Android has opengles enabled. - Basically amends 486168a83d29ea8d59fbb7dc45163ee61805423e Change-Id: I3e9493834958fcd306dad9ba28bdd13884146353 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* shiboken6: Handle returning primitive types by pointerFriedemann Kleint2023-03-141-1/+1
| | | | | | | | | | | | | | | This manifests in QtDataVisualization's const QBarDataArray *QBarDataProxy::array() const where QBarDataArray is handled as a primitive type. This required adapting a code snippet which was relying on the argument QString* being treated as QString. Task-number: PYSIDE-2206 Change-Id: Ib05f01d7b54e103cf5bb71be86ffa9b5067ca3fb Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix warning about QBuffer::setData() not being found for modificationFriedemann Kleint2023-03-101-1/+1
| | | | | | | | Adapt to qtbase/817e47fbcde21ab54d353efd647685159cb437a9. Change-Id: I066ee378b4b5cc6f3dc19a4d95a6e07a202d95b8 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Revive QtLocationFriedemann Kleint2023-03-072-8/+1
| | | | | | | It has been re-added to 6.5. Change-Id: I2a8b7889d1179c173a9c8d81b04e0a224c9cf0a7 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Android: Adapt cross compilation for 6.5Shyamnath Premnadh2023-03-062-39/+46
| | | | | | | | | | | | | | - Starting with 6.5, we only install the required headers for each platform - See QTBUG-103196. This means that the QOpenGLFunctions_* headers are now not included with Qt Android installations as it is not relevant anymore. Nevertheless, shiboken would try to generate the wrapper files for the missing classes, whose headers are now not present. This patch instructs shiboken to skip checking those headers. Task-number: PYSIDE-1612 Change-Id: Ib71b8cd6e2b583b56119791a8cf027f866bdf27e Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix QScatterDataProxy::resetArray() crashFriedemann Kleint2023-03-032-5/+10
| | | | | | | | | | | | | | Pass an allocated array to the function, similar to 00228b7605f63c58ab979362ecaa2bef96c7dc67 for QSurfaceDataProxy. A specific code snippet is used since it needs to operate on a pointer (QList* instead of the custom type for the 2-dimensional types of surface/bar). Task-number: PYSIDE-1438 Task-number: PYSIDE-2206 Pick-to: 6.4 6.2 Change-Id: I20b0f67ace4090e21c13995f94e22e37fb5fa940 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix QBarDataProxy::resetArray() crashFriedemann Kleint2023-03-012-6/+17
| | | | | | | | | | | Pass an allocated array to the functions, similar to 00228b7605f63c58ab979362ecaa2bef96c7dc67 for QSurfaceDataProxy. Task-number: PYSIDE-1438 Task-number: PYSIDE-2206 Pick-to: 6.4 6.2 Change-Id: Ic3dd05b014b04425846889feb5e4df6cbe9d7675 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide: Add QRunnable create()Shyamnath Premnadh2023-02-272-0/+20
| | | | | | Fixes: PYSIDE-2234 Change-Id: I3fc1c669c3985a8aad57785927fb4e48e69431a4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Add QMetaMethod.fromSignal()Friedemann Kleint2023-02-272-0/+23
| | | | | | Fixes: PYSIDE-2236 Change-Id: Ibf516529799b35982c8c210f657983d511b622a0 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add configuration options for some Qt classesFriedemann Kleint2023-02-222-15/+72
| | | | | | | | | | Add entries for classes not present in WebAssembly for QtCore. Task-number: PYSIDE-962 Change-Id: I0b69ce4cfbbb1172893ccd2e87620b1d7ebb3872 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* PySide6: Enable sorting overriding QStandardItem::operator<()Friedemann Kleint2023-02-211-3/+0
| | | | | | | | | | | | Sorting of items can be achieved by overriding virtual QStandardItem::operator<(), similar to QTreeWidgetItem::operator<(). For unknown reasons, the QStandardItem operator was removed in the initial Qt 5 commit. Fixes: PYSIDE-1014 Pick-to: 6.4 Change-Id: I027dd4f0340e81bbbd6d453378e3aca62c420b1d Reviewed-by: Christian Tismer <tismer@stackless.com>
* Rename Qt::Appearance to Qt::ColorSchemeFriedemann Kleint2023-02-201-1/+1
| | | | | | | | Adapt to qtbase/32749c913b32e89e2027227233794f2296166cc6 Change-Id: Ie1336621baa94cfa94f4a595808023592fe96df8 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
* Add license headers to cmake filesFriedemann Kleint2023-02-1655-0/+165
| | | | | | | | | | | | 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>
* Add enum QSvgGenerator::SvgVersionFriedemann Kleint2023-02-151-0/+1
| | | | | | | | | Added by qtsvg/5019037adf38f7b7fd299949af3f8f46c07e574d. Amends a1f368a504f1c465cdf85dbc137db4880a09738a. Change-Id: I6f24fbf3c39a71e823858abcdcabb87b4a187ef3 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Adapt to Qt 6.5Friedemann Kleint2023-02-097-9/+22
| | | | | | | | | | | | | | | | | | | | - Add new enums - Hide field QMetaMethod::mobj made protected by qtbase/0b701ec0cd86afbf6bb0d0abb361cfb6500c2e1b - Adapt to PDF qtwebengine/6769bd1544c56a514fe35bf16d05614605a49bea - Adapt to qhttpserver/55d10201dc7a47b239825548e053c1fb0de61115, adding a virtual method with rvalue reference to QAbstractHttpServer - create_wheels.py: Adapt to changed location of the metatypes directory in Qt after qtbase/4234ce12dc819b9ca76c8dc4c251f5bd4fe0bc9c. - Adapt error column in QDomDocument test - Fix QMetaObject::invoke() to work after qtbase/fe92b080658f0d8609e2a2a69e5ec2b51dd7bf9d by making the cast of the helper types to Q(Generic)ReturnArgument explicit in the snippets Change-Id: Ifb514878e999ad4c9ef00ff83172626eff112a3d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* nogil: Apply the first necessary fixesChristian Tismer2023-02-081-1/+1
| | | | | | | | | | | | | In a few old patches, we had not updated ob_refcnt to Py_REFCNT. This will now be necessary when we try the nogil branch. Thanks to Jim Kring for providing this initial patch. Task-number: PYSIDE-2221 Change-Id: I2085407e44d93faf4929aac24facef167f09ac52 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Enable QPainter Draw Methods that Accept PointersOgi Moore2023-01-261-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QPainter draw methods are highly performance sensitive operations, and it can be the case that users want to draw data that is already structured in a continuous numpy array. Instead of creating numpy specific draw methods (such as drawPointsNp) instead we can use the pointer based methods that are already in the C++ API. In this case it would go something along the lines of. size = 10_000 # number of lines memory = np.empty((size, 4), dtype=np.float64) lines = shiboken6.wrapInstance(memory.ctypes.data, QtCore.QLineF) rng = np.random.default_rng() x = rng.random(size) * size y = rng.random(size) * size arr = np.empty((size, 4), dtype=np.float64) arr[:, 0] = x # x coordinates arr[:, 1] = y # y coordinates arr[:, 2] = x + 2 arr[:, 3] = y + 2 memory[:] = arr qimg = QtGui.QImage(1_024, 1_024, QtGui.QImage.Format.Format_RGB32) qimg.fill(QtCore.Qt.GlobalColor.transparent) painter = QtGui.QPainter(qimg) painter.setPen(QtCore.Qt.GlobalColor.cyan) painter.drawLines(lines, size) painter.end() This method was tested against QPainter.drawPointsNp and was found to outperform it by a significant margin. This commit exposes the following method signatures QPainter.drawPoints(const QPointF*,int) QPainter.drawLines(const QLineF*, int) QPainter.drawRects(const QRectF*, int) Pick-to: 6.4 Fixes: PYSIDE-1924 Change-Id: I844a7bc5fec33673b47228896cb63e4245552a94 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* QtBluetooth - Fix toUInt16() and toUInt32()Shyamnath Premnadh2023-01-161-0/+22
| | | | | | | | | | | | - The argument 'ok' for both the functions in Python is removed - Instead, we create the passed argument 'ok' in CPython wrapper - The modified value of 'ok' and the original result are now returned as PyTuple Pick-to: 6.4 Task-number: PYSIDE-2194 Change-Id: If947129f90dda9aedb392a1cbb3822fa04c87415 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* build: Fix "support" in non-setup.py casesChristian Tismer2023-01-121-0/+2
| | | | | | | | | | An explicit support dir had to be added. Change-Id: Id43b8a01988fd2ee949b8b80b269c3a6a0bdbb9d Fixes: PYSIDE-2183 Pick-to: 6.4 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* shiboken6: Add element for opaque containersFriedemann Kleint2023-01-112-1/+3
| | | | | | | | | | | Add an element enabling adding opaque containers to existing container-type entries (including builtins). Task-number: PYSIDE-1605 Task-number: PYSIDE-2174 Change-Id: I1b4a94331b264dc5e9503ab795edf882dfaa070f Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>