aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Pin qt5 sha1 to Qt 6.0.3 submodule updatev6.0.36.0.3Akseli Salovaara2021-04-081-1/+1
| | | | | | | Qt5 sha1 which was used to create Qt 6.0.3 release binaries. Change-Id: I1a5c6061ab6b072bd94155db72788be91234912a Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Cleanup version strings for 6.0.3 releaseAkseli Salovaara2021-04-072-4/+4
| | | | | Change-Id: Ida2f25efe7ff9d1a18f98b715ca504d55e3e4ab4 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Bump version strings for next releaseAkseli Salovaara2021-04-062-2/+2
| | | | | Change-Id: Ibca65269e9debb6571b0b7bea8e5e0124167c573 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add changelog for 6.0.3Friedemann Kleint2021-03-291-0/+31
| | | | | | | Change-Id: I4034127fc55fc8e9876ecc25182863a096ba4bd5 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 453f14aa244ae589e043d655acbdf263db929340) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: enable snippets translate toolCristian Maureira-Fredes2021-03-26520-40906/+78
| | | | | | | | | | | | | | | | | Create snippets directories in case they don't exist. Add "-q" option as the examples directory to keep the "--quiet" option from the build. Something to consider with this patch: Removing all the previous old snippets, which include not only 'cpp' files, but also '.h', '.qdoc', '.qrc', '.png', and '.qml', which might be used in the snippets, but will need to be updated in the generation tool, to not translate, and copy them over. Change-Id: Icbef9e1c93a12b90dbcfa990ef055ca6f8868407 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 9a4fb2eb72040aeadf6124ec1cad083859ac0787) Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* doc: snippet translate add missing quiet caseCristian Maureira-Fredes2021-03-261-1/+2
| | | | | | | Change-Id: I6d3520e9544d7d169a9c933a8aa904747bc7c6c4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit b89b8daeeac7b2b22c3887fa83fe0b986f9baec7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix missing doc snippetsFriedemann Kleint2021-03-261-3/+9
| | | | | | | | | | | Ensure doc snippets are copied to the build directory by creating a separate target. Amends 93ae3d9b38649e9d683a658a6a19b7623083f5a0. Change-Id: Idfd3b55e79769fdceda64ee29bffae801eb9055b Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit d6611611d65ef4759eda203657300d513f118c86) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* shiboken6: Fix 32 bit buildsFriedemann Kleint2021-03-251-0/+2
| | | | | | | | | | Remove ambiguous overload of TextStream operator for this case. Change-Id: I0e2bfccf944340a83802bae77fb45e17f055ee44 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 780223e30b5909aeaee2b0beb0780a8d8ac3168c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* PySide import: Make imports more safe against installation errorsChristian Tismer2021-03-253-15/+18
| | | | | | | | | | | | | | | | | | | | | This patch originally was "__feature__: Make imports more safe against installation errors" After applying the patch to 5.15 with errors, it became clear that not __feature__ was a problem, but the "import PySideX.support" did not work in the embedding case. This observation made the error message concerning PyInstaller pointless. Instead, the pseudo-import of PySideX.support was fixed to work correctly in all cases. Tested on 5.15 with PyInstaller, this is now going back into dev. Manually cherry-picked to 6.0 Pick-to: 5.15 Task-number: PYSIDE-1502 Change-Id: I2fd680a6a28de00f5392147b0d050deb7663dc22 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Improve deployment documentationFriedemann Kleint2021-03-224-0/+54
| | | | | | | | | | | | Extend the table by the Qt version. Add some chapter on Qt 6 support. Add some description for py2exe. Task-number: PYSIDE-1112 Change-Id: Ic3a9fb76d9c13017a107f083da4c7ed326d64e5c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 80aec29aca246f1f67a4f8c453b49f1eadfee6fd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* shiboken6: Fix crash when using enumeration types from other classesFriedemann Kleint2021-03-221-2/+5
| | | | | | | | | | | | | | qtbase/969337bcfd6af6d91b988e4b412703274a0b5877 changed QHostAddress to use enum values from QAbstractSocket which appear as fields. This caused a crash in the module initialization since QAbstractSocket was not initialized when creating the field entries. Consider this in the dependency calculation. Change-Id: Ie07dd39a373695cd604d0ebcf233be34a004c8bc Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 2ac1870053370e017567ae53e62cd1155a01c88f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Port examples away from deprecated QMouseEvent::pos()Friedemann Kleint2021-03-196-29/+32
| | | | | | | | | | | As a drive by, fix the left-over QtCharts callout example to work after 227020b118fa38ada1d8bd579593dae61f6e3881. Task-number: PYSIDE-1122 Change-Id: I945b57950014e882d4efd3cb0cab47262ad108b6 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 306ecd14ccba188a1c88061715456c329c1ff79c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Windows: Fix warning about inconsistent DLL linkage of QtQml_VolatileBoolTypeF()Friedemann Kleint2021-03-191-1/+1
| | | | | | | | | | Remove PyAPI_FUNC, which expands to export. Change-Id: Ice042b50044747bc61c6e480ad2d812ca007043b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 3777356c08258f74413187e2406679f3b0c89b07) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Improve Porting documentationFriedemann Kleint2021-03-191-6/+68
| | | | | | | | | Task-number: PYSIDE-1112 Task-number: PYSIDE-1482 Change-Id: Ic65d86e2567849f26cb28c480937e7fb41ad5856 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 9e02cd78a871f0e1c2dd855433ab750d6fe81c09) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: create examples dir if it doesn't existCristian Maureira-Fredes2021-03-181-3/+8
| | | | | | | | | For the examples gallery tool Change-Id: Ia77d2d22033ccb35df30fa8ed4c7f78de070dec1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 78ac4372ec5b84bd3ef2deac4c41aeacbcdb56ae) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Long live snippets_translate!Cristian Maureira-Fredes2021-03-188-0/+2031
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not a C++ -> Python translator, but a line-by-line conversion tool. This scripts requires two arguments to identify a Qt and PySide directory including the sources. There is a set of file extensions that are currently omitted from the process, and for the ones that will be copied, there will be messages related if the file already exists or if it's new. If you use the '-v' option, you will see the C++ code and the converted Python code, so it's easy to check for issues and missing features. Also, two command line options were added to have a different behavior '--filter' to include a word to filter the full paths of all the snippets found (for example the name of a directory), and '-s/--single' to translate only a specific C++ file to be translated. Including test cases for transformations related to the C++ snippets. Fixes: PYSIDE-691 Change-Id: I208e3a9139c7e84fe369a7c2ea93af240d83fa83 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit 1c65d71c468f2166ab20a867011a6d217a5f3ec1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: migrate qdoc approach to document examplesCristian Maureira-Fredes2021-03-1715-154/+23
| | | | | | | | | | | | | | | | | | There were two previous documented examples using the approach based on qdoc: stardelegate, and classwizard. This patch moves them into the 'doc/' directory for each example, and partially revert the changes from 308157f01260c640e21f6972619d3b380c007acb Additionally, an unrelated screenshot was moved to a new general 'images/' directory. Task-number: PYSIDE-1112 Change-Id: I239a24fa4e4f970540857ba8b33b9b13c18142b1 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit d97aedf37809c479ab409c4247b60c0cfcef35d6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: add sphinx-panels to the documentationCristian Maureira-Fredes2021-03-179-88/+170
| | | | | | | | | | | | | | | | | | | | | | | This plugin replaces sphinx-tabs, so that's removed. The panels plugin will add bootstrap responsive cards to the docs allowing us to use them instead of the ad-hoc table we had. Additionally, this changes the example gallery tool too, since the main gallery was built using our own table implementation. Since Panels also provides options to add content in tabs, with CSS instead of JS (from sphinx-tabs), we update the generated examples files. Fixing warning messages related to files that didn't exist, duplicated references, and redundant indexes. Task-number: PYSIDE-1112 Change-Id: Id19be92e72f0a18f63b76daf1898080f3e199626 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 4750fbcb8e5d1f0137a8660ffa77f595dac46504) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: use 'doc' directory for examples galleryCristian Maureira-Fredes2021-03-174-32/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The initial patch that generates a gallery based on the examples in the respository, was limited to only showing the content of the files in each '.pyproject' file. That approach didn't allow to describe each example, nor add complementary images, like screenshots to each example page. This patch introduces the option to consider everything inside a 'doc/' directory on the example directory. The files that are copied over are not directory, but only files, for images to be the main focus. For example, currently the Tetrix case contained the following files: $ ls examples/widgets/tetrix/ tetrix.py tetrix.pyproject On this patch you can see that now there is a doc directory with the following content: $ ls examples/widgets/tetrix/doc tetrix-screenshot.png tetrix.rst The example page that will be generated for this case will contain the content of the 'doc/tetrix.rst' file, plus the content of all the project files at the end. The 'doc/tetrix.rst' file contains a reference to the 'tetrix-screenshot.png' image, so that file will be copied over too. Task-number: PYSIDE-1112 Change-Id: I2d11833c461d8073d2d2888576d876d3f834103a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit f930fce091fbcc0cdc4d1d57ee688966b26ea53e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* shiboken6: Fix AbstractMetaClass::fullName() for nested classesFriedemann Kleint2021-03-161-1/+1
| | | | | | | | | | Use the fully qualified name. Task-number: PYSIDE-1520 Change-Id: I58bf8f2d3e1b95947769b725746f560947d25f06 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 3521dfcee8a800927aaf024ab2b64b1402e8256b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix broken return type conversions of QOpenGLExtraFunctions::glGetStringi()Friedemann Kleint2021-03-152-1/+6
| | | | | | | | | | | | | | | The function returns const unsigned char*, which was converted using the wrong snippet (QString conversion of parameter 1). Add a new snippet using the char *conversion of the return value at the end. Fixes warning: PySide6/QtGui/PySide6/QtGui/qopenglextrafunctions_wrapper.cpp:4630:35: warning: unused variable cppResunused-variable] const unsigned char * cppResult = cppSelf->glGetStringi(cppArg0, cppArg1); Change-Id: Iae3f0abd4a34fb3b6a41534508fb5d64a3eae224 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 7cd7141e43e98d4862de3aadf128b0d0080090c9)
* PySide6: Add QOpenGLFunctions.glShaderSource()/glGetShaderSource()Friedemann Kleint2021-03-122-0/+30
| | | | | | | | | | Add a simple signature taking and returning a string. Fixes: PYSIDE-1511 Change-Id: Ie52d5f55f168075ee6ee71fdb35463895f768c04 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit adf0babe9b006034ae10ac2df0fc45df6acb8478) Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add QOpenGLVersionFunctionsFactoryFriedemann Kleint2021-03-124-1/+109
| | | | | | | | | | | Make it possible to obtain versioned OpenGL functions. Task-number: PYSIDE-1482 Fixes: PYSIDE-955 Change-Id: Ife315de0aa05ac83610e228389bcf55214e93e55 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 091f488479227c58fd3944d68c48fc7efe223f9e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* libshiboken: Silence unimplemented array type warningFriedemann Kleint2021-03-111-1/+0
| | | | | | | | | | | | It is more of an annoyance than helpful since it is triggered by the implicit conversion checks already. Task-number: PYSIDE-354 Fixes: PYSIDE-979 Change-Id: I213ad607c61e0279c8cada4efa0a2cfd3cad8892 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit 7d602dc46163be603e87b1ef4f8db7b1ab87c1f6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* shiboken6: Do not hardcode libclang's build typeFriedemann Kleint2021-03-101-1/+2
| | | | | | | | | | Query and use libclang's build type instead. Fixes: PYSIDE-1515 Change-Id: If78908040be27530593a36db1bdb76649c167d82 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit 8088fe1a3ab13faff3acecaa504e428a49edd58d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* shiboken6: Mention add-conversion for conversion rulesFriedemann Kleint2021-03-101-2/+3
| | | | | | | | | Amends 4972d8cf6ea55884e501c452f32f558ad24240ae. Change-Id: I09a98e37646bb207239fc249e0a45812d3968dab Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 2701e617906bc2c00d03cb48bbb8ba319d5e389d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* shiboken6: Brush up the code injection documentationFriedemann Kleint2021-03-103-13/+22
| | | | | | | | | | | Link from the code injection page to the type system variables. Link from conversion rule to templates. Modernize the code a bit. Change-Id: Ibc8e56a2e3313a0be50dc8bbc92f49a7afc775a2 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 4972d8cf6ea55884e501c452f32f558ad24240ae) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix license check ref branchSimo Fält2021-03-041-1/+1
| | | | | | | | It seems that the CURRENT_BRANCH won't work for release branch, while there is no such branch for qt6 submodules. Only tags. Change-Id: I5da7db35762025f8cb0bb2552512c209282e6f70 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* build_scripts: remove unused codeCristian Maureira-Fredes2021-03-031-8/+1
| | | | | | | | | | | | | The function was removed in 609b1cd7ab8514354c93249e8a295e5e907d8de9 because CMake is in charge of discovering the location via llvm-config. This removes the code and raise a OSError if LLVM/CLANG_INSTALL_DIR is not defined. Change-Id: Ifb74b9eb327518dbc7b114e6868b773f304a577e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit b3dd5989db62cbb18bb9eff2ff8bad29f0ccb5a3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* tests: remove old files and rewrite python 2Cristian Maureira-Fredes2021-03-0317-110/+1
| | | | | | | | | | | | Some utilities from the tests directory were still around, and are not currently used. Additionally, there were still some old non active tests with Python 2 directives; updating them in case we reactivated them. Change-Id: I24aff3396041aa780dab94e70793cb62adea2b3c Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit aeed3d2ec76a74ba98441338c235ecc02281e347) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* testing: solve flake8 warningsCristian Maureira-Fredes2021-03-037-55/+51
| | | | | | | Change-Id: I75f1a367c8a86ec586820bd4a45339773c15a70a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 2de3a763fa18d5c30c2cff25057f1b81ceeed231) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* examples: add example with arguments parameter in SignalMaxime Roussin-Bélanger2021-03-033-0/+151
| | | | | | | | Change-Id: Ib6f19b5bad1644fb5eb062a5cbe512db2f2a8adc Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 8fd8d8f56cb06079ed7adf5fea916b3841229381) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* shiboken6: Fix parsing of project filesFriedemann Kleint2021-03-031-1/+1
| | | | | | | | | | For key/value pairs specified without space after '=', the key would be truncated. Change-Id: I154b1685ca8aab2f13fb916290cde17bc972afea Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit f726b4f406d15a9b85e5ced8bc18fb2f4da1b850) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* shiboken: Provide the correct inheritance for enum typesChristian Tismer2021-03-034-50/+88
| | | | | | | | | | | | | | | | | | | | | Originally, it was planned to follow a competitor and derive enums from int objects. But this was abandoned in favor of Python Enums. We therefore simply leave most code as it is and only insert a Shiboken::Enum class that accepts an optional integer. This class is published by shiboken with signature. Derived classes still have no signature themselves, but they all inherit from this known class Enum. This is intentional to avoid creating useless signatures for every derived Enum. A test was included. Change-Id: Ifaaea40a4ddf2337e565fb57e6a69b7cc9a6040f Fixes: PYSIDE-1347 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit e6a4a094ace43250e3ffca03a9f8d1f138de1b5a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: example gallery show code in tabsCristian Maureira-Fredes2021-03-033-15/+47
| | | | | | | | | | | | | | | | Before this patch, the auto-generated documentation page had all the files from the .pyproject listed one after the other. This uses a new sphinx extension called sphinx-tabs https://github.com/executablebooks/sphinx-tabs which allows us to easily add content in tabs. Task-number: PYSIDE-1112 Change-Id: Ibd66a8c911f05be13ae2700be6d3e95a2b98b775 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit a7c7c729a388b0a4e0e104fac1130feb6e03151b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix license_check reference license branchSimo Fält2021-03-021-1/+1
| | | | | | | | Change-Id: I32e70866b461fa0e2310a73c970da6b764c73064 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 79676495d188359b805c04ce4e983078772f4ca5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Documentation build: Avoid re-running qdoc/shiboken every timeFriedemann Kleint2021-02-262-25/+39
| | | | | | | | | | | | | | | | | | | | | | The qdoc and shiboken steps take quite a long time when rebuilding the documentation. Similar to the generator dependency on mjb_rejected_classes.log (see CMake macro create_generator_target_library_name / sources/cmake_helpers/helpers.cmake:262)), turn the qdoc/shiboken targets into custom commands producing specific files (qtcore-index.webxml, QtCore/index.rst). This prevents the commands from being re-run as long as the files exist and are not outdated. Adapt the documentation. Change-Id: I00033e6f1034a5fdc534a0f2fee018268e2e482a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 1251fb08619e030665651ea965c1ee6c283b9913) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* create_changelog.py: Fix shiboken versionFriedemann Kleint2021-02-251-1/+1
| | | | | | | Change-Id: If8d3bfdde3a1afe5cced1be4d3c8bcc92256048e Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit e389b7b6c497e1a38d5ace23f2e96732ca72553c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add changelog for 6.0.2Friedemann Kleint2021-02-251-0/+30
| | | | | | | Change-Id: Id5f8c2d1d44f24f82cc79d892a93adea15e7a57d Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit 55507e8a8f80e4b33eb3574a40b4f395a9b4bcb7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Port the Qt bindings examples to the <QtModule/QtClass> conventionFriedemann Kleint2021-02-244-14/+8
| | | | | | | | | | This simplifies the shiboken call; the global Qt include directory can be passed instead of each single QtCore/QtGui/QtWidgets directory. Change-Id: I55a59ad12b0a9596a2c8d9dc7f0b9c041c38665c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit cfe6ac20a7aaac8c4689c3e22f839e6d95886944) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update and unify README.md of our binding examplesFriedemann Kleint2021-02-233-44/+45
| | | | | | | | | ninja is the only working generator for Qt 6. Change-Id: I9640f646ffea7b21659966680df52a21ead7119d Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 28f76593fa6177a3a97fd308f0404529a7337169) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add changelog for 5.15.3Friedemann Kleint2021-02-221-0/+46
| | | | | | | Change-Id: Ie3769114fdf6c2c56465b0dba5a487c2190eb309 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit f119820caa46bebaa30acec55f0ee4659ec4e994) Reviewed-by: Christian Tismer <tismer@stackless.com>
* Add model example with Pandas DataFrameSacha Schutz2021-02-164-0/+274
| | | | | | | | | | | | | Create a PandasModel working with a QTableView to show DataFrame from Pandas library patch : add missing pyproject Change-Id: I16e2580f3fceba34a2491354394b3c78dd981a98 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit b9aa61247c355a9330e52059951649c6ba7697c2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* PySide6/Documentation: Fix QmlElement.rstFriedemann Kleint2021-02-151-2/+4
| | | | | | | | | | | Change the snippets to be Python code, fixing: QmlElement.rst:28: warning: Definition list ends without a blank line; unexpected unindent. Change-Id: I98fa640e206199a466fa9aa8b5df3363fe118f69 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit a47c2618139fdb5c63e4614fe164a63d30f32fa8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Documentation: Add the modules contained in other qddocconf filesFriedemann Kleint2021-02-151-0/+6
| | | | | | | | | | | This will fix the currently dead links to OpenGLWidgets SvgWidgets in 6.0 and handle the modules new in Qt 6.1. Task-number: PYSIDE-1482 Change-Id: If087b272b3bfd70e726c4f0b86ea679ad7241d76 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 0d43f0eae4071ceffa07ec6c89349fa7942699a8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* shiboken6/Documentation: Fix the TOC tables for modules with < 4 classes per ↵Friedemann Kleint2021-02-151-4/+1
| | | | | | | | | | | | | | | character Do not pad each table to 4 columns as this can lead to problems with trailing empty columns. Leave the normalization to QtXmlToSphinx::Table::normalize() instead. Amends e20d9db9e9dc8d599b76873d90a34acafe9fd9fe. Change-Id: I7b8b465856b58b8443f17f5c103a11b4009a0014 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 2e23681d8955b077e34ff064c242b53a0e5b9ea8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix the example_gallery quiet option for quiet modeFriedemann Kleint2021-02-151-1/+1
| | | | | | | | | | | | Use the right quotes. Amends 9f8fc934818c3ae7473fe6258056bc7c7bf9f718. Task-number: PYSIDE-1490 Change-Id: I9e5c999747ab96056180692c34c129e399915e56 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 6f6f9495a8f18408fbc233c1d889549fbb8567f9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* fix example_gallery quiet optionCristian Maureira-Fredes2021-02-121-1/+0
| | | | | | | | | | Passing '' was generating an error, so we don't set the variable so we don't pass empty quotes to the script. Change-Id: I672117d43ccd80ca3a625f590556b25a006514c6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit f23cbd1c5fd8315569440bcdcd3eee2a30fd0392) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* shiboken6: Fix broken tables in the QLocale documentationFriedemann Kleint2021-02-111-1/+1
| | | | | | | | | | Add a newline before the enumeration table. Task-number: PYSIDE-841 Change-Id: I83e81983dd7139c120480cba859e1683a4721c92 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit 69513c4c8bb0aed6976b1b7c884dce10b82dbdb0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* shiboken6: Do not fail when containing template class of inner class cannot ↵Friedemann Kleint2021-02-111-7/+16
| | | | | | | | | | | | | be found Change the error about not finding containing class to a warning for templates as it can happen for weird constellations in boost. Fixes: PYSIDE-1501 Change-Id: Ie446ebb6f22edbcd1c97a89c6a50eb9fe5d1b245 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit b6ab1bb8fc44e9c3c58b9c7cc946ebf626124df2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>