aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
Commit message (Collapse)AuthorAgeFilesLines
...
* PySide6: Fix overloads of QWebEnginePage::runJavaScript()Friedemann Kleint2024-10-075-36/+101
| | | | | | | | | | | | | | | | | | | | | | Adapt them to C++, where: void QWebEnginePage::runJavaScript(QString scriptSource, std::function<void (QVariant)> resultCallback) and void QWebEnginePage::runJavaScript(QString scriptSource, quint32 worldId = 0, std::function<void (QVariant)> =resultCallback = {}) exist. Introduce a functor as static source to be able to share code with other classes to be added. Task-number: PYSIDE-2883 Change-Id: I61f913a38e761df18ce5a5f3ea43478b7dceace2 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6: Move snippets of QWebEnginePage to qtwebenginecore.cppFriedemann Kleint2024-10-074-114/+117
| | | | | | | | | The class has been moved in Qt 6. Task-number: PYSIDE-2883 Task-number: PYSIDE-946 Change-Id: I81ededa9d4eb1fb1a03249266f48cc65c84a6b02 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6: Add parameter names to QWebEnginePage's added functionsFriedemann Kleint2024-10-073-17/+5
| | | | | | | | | | As a drive-by, change the callbacks to PyCallable* and remove the parameter checks from the snippets. Task-number: PYSIDE-2883 Task-number: PYSIDE-946 Change-Id: I3986d2eced9606c71a3071755dce935b30cd67a5 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Deployment: Support Design Studio projectsShyamnath Premnadh2024-10-071-0/+92
| | | | | | | | | | | | | | | | | | - new class 'DesignStudio' to handle Design Studio projects. - Currently uses a way of monkey patching to override the 'main.py' to use 'main_patch.py' which has the same content but with 'app_dir' set to the parent of `main.py``. The reason for doing this is that Nuitka requires the `main.py` to be in the same directory as other resources required for the project. Once the corresponding patch, to alternate between evaluating 'app_dir' based on whether the application is deployed or called through the Python interpreter, is merged then this temporary fix of creating 'main_patch.py' can be removed. - Add tests. Pick-to: 6.7 Change-Id: I79e6572bdbbf4576fbdd9039a4922997a22139f8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* shiboken6: Handle QT6_DECL_NEW_OVERLOAD_TAIL within shiboken6Friedemann Kleint2024-10-021-3/+0
| | | | | | | | | | | Strip parameters of type Qt::Disambiguated_t similar to QPrivateSignal (see qtbase/0a3ff697380555538a0d035b768ddf10f772b55a). As this becomes more and more common, it saves the work of declaring those functions. Change-Id: I973b47ddcfa3ac40795885da0f4001a95ad108fd Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Update API (front page) module documentationFriedemann Kleint2024-10-012-18/+21
| | | | | | | | | | | | | Fix titles and wording according to qtdoc..qtmodules.qdoc (similar to bc87b5d3319d758827edcdff2798777bcf36ae6b). Add the Quick Controls module to the API page. In the Quick Controls module page, add the list of controls/QML types. Task-number: PYSIDE-1112 Change-Id: Ie68e00e8eac9194142e3d1625c72557455bc68c6 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* shiboken6/Documentation: Add doc-package attribute for QtQuick Controls2Friedemann Kleint2024-10-011-1/+1
| | | | | | | | | | | | For some reason, qdoc generates the class documentation into a folder named doc/qdoc-output/qtquickcontrols. Amends 2ae76e777d7cc8305b515099b24ce5627171b5b9. Task-number: PYSIDE-2620 Task-number: PYSIDE-1106 Change-Id: I91cee9dffc53edd6cbb74953743508f82cde2d3f Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* shiboken6/Documentation: Extract images from the .rst module descriptionsFriedemann Kleint2024-09-301-1/+1
| | | | | | | | | | | | | | | Images referenced in our .rst module descriptions in the "extras" directory (which are usually extracts of the WebXML module documentation) so far only were shown when they were also referenced from another parsed WebXML document, causing them to be copied to the doc/base directory. Add a function to extract them from the .rst document and pass them to the image resolving functions along with the source file path. Task-number: PYSIDE-1106 Change-Id: I8efbca9f6a63e2aea6dc25596c496cb41517bc32 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* shiboken6/Documentation: Add doc-package attribute for QtOpenGLWidgetsFriedemann Kleint2024-09-301-1/+1
| | | | | | | | | | | | | Amends 2ae76e777d7cc8305b515099b24ce5627171b5b9. As a drive-by, fix a syntax error in the modules list introduced by bc87b5d3319d758827edcdff2798777bcf36ae6b. Task-number: QTBUG-77650 Task-number: PYSIDE-2620 Task-number: PYSIDE-1106 Change-Id: Icfd0d68033405f00df04ab4513b636a8469df9f2 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* shiboken6/Documentation: Fix a syntax error in the modules listFriedemann Kleint2024-09-301-1/+1
| | | | | | | | | | | Amends bc87b5d3319d758827edcdff2798777bcf36ae6b. Task-number: QTBUG-77650 Task-number: PYSIDE-2620 Task-number: PYSIDE-1106 Pick-to: 6.7 Change-Id: I07604e3fb281fe9441bc69d189600c22f66b44a5 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* shiboken6/Documentation: Introduce a doc-package typesystem attributeFriedemann Kleint2024-09-2714-14/+14
| | | | | | | | | | | | | | | Make it possible to specify an alternate doc-package for locating the WebXML files generated by qdoc. For example the documentation of the QtMultimediaWidgets module is generated into the QtMultimedia module. This became a problem after the module split qttools/c51980bb0d9658f2ade4de1900d07b08e88cb52d. Task-number: QTBUG-77650 Task-number: PYSIDE-2620 Task-number: PYSIDE-1106 Change-Id: I09ab50f7e3b56c0a7d0f2e94e593a8d5e83b2001 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Documentation: Fix paths to additional documentsFriedemann Kleint2024-09-271-375/+373
| | | | | | | | | | | | | The additional documents were no longer found after qttools/c51980bb0d9658f2ade4de1900d07b08e88cb52d. Add the directories. Complements 752c1161d75f8c01e2c6c6b07ba02e9a62e65b10. Task-number: QTBUG-77650 Task-number: PYSIDE-2620 Change-Id: I57f0eb212dc8b2eae6786135e0fb85b1ac526022 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Add missing entries for QtGraphsWidgetsFriedemann Kleint2024-09-261-0/+4
| | | | | | | | | | - Add QtGraphsWidgets to README.pyside6_addons.md, fixing: Warning: the following modules are not in READMEs : {'QtGraphsWidgets'} - Add to to documentation index page. Task-number: PYSIDE-2620 Change-Id: Ida8964f852ae1e9869524ac59a50595b7ee59bb9 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Update module documentation for 6.7Friedemann Kleint2024-09-261-91/+90
| | | | | | | | | Fix titles and wording according to qtdoc..qtmodules.qdoc. Pick-to: 6.7 Task-number: PYSIDE-1112 Change-Id: Icffc619bcbdf8815c72cc06d18cf2e832e11dfa2 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Complete module documentation for 6.7Friedemann Kleint2024-09-265-0/+31
| | | | | | | | | | Add missing modules to the index page and add missing qdocconf files. Pick-to: 6.7 Task-number: PYSIDE-1112 Change-Id: Ide552aae911af86dea444733acf5fd3c00d8b899 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Documentation: Remove C++ example documents from the additional pages listFriedemann Kleint2024-09-251-242/+0
| | | | | | | Pick-to: 6.7 Task-number: PYSIDE-1112 Change-Id: Id08a4c204294078be739ee9ee39770791d7f3f65 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix a crash in the QStateMachine.postEvent() functionsFriedemann Kleint2024-09-201-0/+11
| | | | | | | | | | Modify ownership to C++, similar what is done for QCoreApplication.postEvent() Pick-to: 6.7 Fixes: PYSIDE-2870 Change-Id: I838720a694fcdb4726717c2e330ddda0156975db Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Documentation: Release NotesShyamnath Premnadh2024-09-191-0/+1
| | | | | | | | | | | | | - Introduces a new section in the navigation pane called "Release Notes" with subpages for PySide6, Shiboken6, PySide2, and Shiboken2. - The .md files are auto-generated by the script `tools/release_notes/main.py` and created in the directory `sources/pyside6/doc/release_notes/`. Fixes: PYSIDE-2853 Change-Id: I6def8b526f11a638581f29798dd6917cd435d19c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Update Qt Widgets Designer formsFriedemann Kleint2024-09-187-36/+66
| | | | | | | | Load and save once so that fully qualified enumerations are used. Task-number: PYSIDE-2846 Change-Id: I544467c1d9254533bf62e1344c26c90c7d17d118 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide6/SerialBus: Fix crash in CAN bus exampleFriedemann Kleint2024-09-182-2/+26
| | | | | | | | | Add snippet for QCanBus::availableDevices(QString*), adapting to qtserialbus/0eab51e1e451f92fbaf0df69793cbb4137a5ece4 . Task-number: PYSIDE-2620 Change-Id: I0667931000a8446db2e14d72fbba254a6866cc3c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* type hints: Fix some typing bugs for mypy (forgiveness)Friedemann Kleint2024-09-186-11/+13
| | | | | | | | | | | | | The new enums still support old syntax by the forgiveness mode. Nevertheless, when using mypy to check files, strict correctness is enforced. We correct a large number of forgiveness-induced errors, but there is still a whole lot of other complaints to fix. Task-number: PYSIDE-2846 Change-Id: If566187d268ef75bc09b8d86f73d2c7d19f284f9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Remove C++ function QSemaphore::try_acquire() which clashes with ↵Friedemann Kleint2024-09-171-0/+2
| | | | | | | | | | | snake case Hide the QSemaphore::try_acquire() added by qtbase/38448b19a1c61cb5d5592e73efdbc4750bb835b2 . Fixes: PYSIDE-2845 Change-Id: I78d20f5efc37361caf14653d9d02fc12e3b905e5 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Work around deprecation of PyWeakref_GetObject() in Python 3.13Friedemann Kleint2024-09-111-1/+1
| | | | | | | | Add a helper function checking on a weak reference. Task-number: PYSIDE-2751 Change-Id: I4f2d505636a24df083b0d2f4d3d312fcc44d125e Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide6: Add QModelRoleDataSpanFriedemann Kleint2024-09-114-5/+57
| | | | | | | | | | | | | Implement QModelRoleDataSpan with an index operator returning QModelRoleData* for modification. This enables QAbstractItemModel::multiData(). [ChangeLog][PySide6] QModelRoleDataSpan for implementing QAbstractItemModel.multiData() has been added. Fixes: PYSIDE-2859 Change-Id: I35e4812bd999538f6dbd9e63a623791640287bab Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Refactor __getitem__/__setitem__ code generationFriedemann Kleint2024-09-113-19/+28
| | | | | | | | | | | | - Introduce a shiboken message with parameters, reducing strings generated into code. - Return nullptr from __getitem__. - Adapt injected code. Task-number: PYSIDE-2859 Task-number: PYSIDE-2701 Change-Id: I4de98e40609cab400e4d7e11fe00f07594702b3a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Fix some clang-tidy warnings in generated codeFriedemann Kleint2024-09-111-4/+4
| | | | | | | | | | | - Remove inline from inlined functions, fixing [readability-redundant-inline-specifier] - Do not call parameterless base constructors, fixing [readability-redundant-member-init] - Use nullptr [modernize-use-nullptr] - Remove unneeded reinterpret_cast<>() - Fix some warnings about uninitialized variables [cppcoreguidelines-init-variables] Change-Id: I38e9ddc192556cf0d5770bd858b240f013c97c79 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* libpysideqml: Fix MSVC lossy integer conversion warning in QML error handlingFriedemann Kleint2024-09-101-4/+6
| | | | | | | | | | Returning the qint64 result of the QV4::ExecutionEngine::throw...() functions (usually 0) as int causes a lossy conversion warning. It is not clear what the original intent of the code was; return -1 instead to terminate processing in qt_metacall(), from which it is used. Change-Id: I3a4f7f38ae6f2b36de47f7d14f6c12254f85147d Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* type hints: Fix some more exotic problemsChristian Tismer2024-09-101-1/+1
| | | | | | | | | | | | | | | | | * QtStateMachine had the wrong return type in __init__ since a very long time (2010). * __dir__ has always the wrong annotation. Correction is needed because it inherits __dir__ from object. * the comment "#type:" is now reserved for mypy Errors before: 350 Errors after: 333 Task-number: PYSIDE-2846 Change-Id: I26c4a931ec9b612f15f173e559d0306dc36b3c32 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* size bench: Automate the Measurement of Size ImprovementsChristian Tismer2024-09-091-0/+151
| | | | | | | | | This script makes it easy to measure the size reduction on all three platforms. Change-Id: I54a9cce6fd18ef58421445c2eeb688bd97eca956 Task-number: PYSIDE-2701 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* QtHttpServer: Fix build after API review changeFriedemann Kleint2024-09-092-11/+12
| | | | | | | | | | | Adapt to qthttpserver/6acb3ccf221923a19118b3f3b15ffbebb3f33d4c. The example will be fixed in a follow-up change. Task-number: QTBUG-128113 Task-number: PYSIDE-2620 Change-Id: Ic454bcb8a37aa89ef6e9718df6dd8a7135e0b36c Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* QFix compilation of QDirListing helper codeFriedemann Kleint2024-09-091-2/+2
| | | | | | | | | Use a sentinel for end, adapting to qtbase/089263fd4f1db201c98f4200cbb6ecdad8a437c3 . Task-number: PYSIDE-2620 Change-Id: If3f8d745b405e7c4e8d8c8d72ef4c2411b2d703e Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* type hints: Fix some systematic problemsChristian Tismer2024-09-064-84/+84
| | | | | | | | | | | | | | __str__ and __repr__ are simply fixed by returning str instead of PyObject. __reduce__ actually has return type "str | tuple[Any, ...]", but using str here too fits the purpose. Errors before: 533 Errors after: 450 Change-Id: I6dd3527d3f5f3f035e667d0ca3c8f123e94e844f Task-number: PYSIDE-2846 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Tooling: Add pyside6-svgtoqml toolShyamnath Premnadh2024-09-052-0/+22
| | | | | | Task-number: PYSIDE-2620 Change-Id: I0627c35162d37a9fa4fdb716235aacd15cdfb698 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Deployment: Adapt tests to 6.8Shyamnath Premnadh2024-09-051-3/+4
| | | | | | | | | | - Some module dependencies of modules like QtQuick. The tests are adapted acccordingly. Task-number: PYSIDE-2620 Task-number: PYSIDE-1612 Change-Id: I89a2906fb756ea8c04e0545adc64be561101632c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Documentation: Adapt paths for 6.8Friedemann Kleint2024-09-052-2/+2
| | | | | | | | | Adapt to qttools/c51980bb0d9658f2ade4de1900d07b08e88cb52d. Task-number: QTBUG-77650 Task-number: PYSIDE-2620 Change-Id: Icc083c9b3d768093f45caa5d7a3c54aec5eb2d4f Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add QDirListingFriedemann Kleint2024-09-056-1/+150
| | | | | | | Task-number: PYSIDE-2620 Change-Id: I4e4826c5ab01a36022f43d2aa7d23558e6964a66 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Adapt to 6.8Friedemann Kleint2024-09-0527-178/+309
| | | | | | | Task-number: PYSIDE-2620 Task-number: QTBUG-125719 Change-Id: I6efeb1770c9bd7cddc3dbd91ca6294b9fddc9cc9 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Desktop Deployment: Unify API design of Config classShyamnath Premnadh2024-09-022-6/+6
| | | | | | | | | | | | | | - Implements a comment suggestion from 11064d4dcd688db1d54d7273ad700761fabe3f50 - _find_and_set_** methods renamed to _find_** methods. They now return the required property. - Property setters now update the value in the config class as well. This also aligns with the design of certain other properties. - Adjust tests. Task-number: PYSIDE-1612 Pick-to: 6.7 Change-Id: I135d0a64928381a863cbf7235240efc45421324a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Desktop Deployment: Upgrade Nuitka to version 2.4.8Shyamnath Premnadh2024-08-302-3/+3
| | | | | | | Pick-to: 6.7 Task-number: PYSIDE-1612 Change-Id: I001f0f446d41330e1ef0a798c82297a0e7c47021 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* doc: improve a bit the gettingstarted pageCristián Maureira-Fredes2024-08-284-31/+74
| | | | | | | | | | | | | | | Add explanation of Qt Widgets and Qt Quick, remove outdated information, and move the notes around where they make more sense. Add a banner for both technologies, and adding a screenshot of the Quick example. At the end, add a section to point the readers to the Examples and Tutorials sections. Change-Id: Ie3b1856b7150a83633f9747a22057d902fb44b48 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* PySide: Fix QByteArray.fromRawData() signatureShyamnath Premnadh2024-08-231-0/+3
| | | | | | | | | | | | | | | | | | | - For some reason, libclang after parsing the headers ignores the `const` qualifier in the `data` parameter of the `QByteArray::fromRawData()`, making the paramerter `char*`. `char*` maps to `typing.Union[bytes, bytearray, memoryview]` which causes the issue. The expected correct type for the `data` parameter is `str` in Python. - This patch explicitly specifies the pyi-type as `str` thereby overriding the default `char*` type. Note: This patch is a workaround for the issue. The actual issue should be fixed in the libclang, if it is fixable. Fixes: PYSIDE-2831 Pick-to: 6.7 6.5 6.2 Change-Id: Iee3f6a54e1d65e9e4cb0082b7b6b17ba9ac501aa Reviewed-by: Christian Tismer <tismer@stackless.com>
* libpyside: Reimplement signal connections for Python callables not targeting ↵Friedemann Kleint2024-08-2112-661/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | a QMetaMethod The code previously used a instances of class GlobalReceiverV2 inheriting QObject in a hash in SignalManager per slot tracking the list of senders to be able to use standard signal/slot connections in Qt. This was a complicated data structure and had issues with cleanups. This has been replaced by using an invoker object based on QtPrivate::QSlotObjectBase which can be passed to QObjectPrivate::connect(const QObject *, int signal, QtPrivate::QSlotObjectBase *, ...). The connections (identified by ConnectionKey) are now stored in a hash with QMetaObject::Connection as value, which can be used to disconnect using QObject::disconnect(QMetaObject::Connection). Deletion tracking is done by using signal QObject::destroyed(QObject*) which requires adapting some tests checking on the connection count and weak ref notification on receivers as was the case before. [ChangeLog][PySide6] Signal connections for Python callables not targeting a QMetaMethod has be reimplemented to simplify code and prepare for removal of the GIL. Task-number: PYSIDE-2810 Task-number: PYSIDE-2221 Change-Id: Ib55e73d4d7bfe6d7a8b7adc3ce3734eac5789bea Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix hangs when calling QMediaPlayer.setSource() several timesFriedemann Kleint2024-08-211-0/+1
| | | | | | | Pick-to: 6.7 Fixes: PYSIDE-2843 Change-Id: I2e3476605d2818d20159ce945856d24dab26ff86 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix Enum properties for Qt DesignerFriedemann Kleint2024-08-201-1/+21
| | | | | | | | | | | Split the Enum check function to have an overload for a PyTypeObject * and add a helper function checking whether an enumeration is registered in the Qt meta type system. If so, use its name for the property type. Fixes: PYSIDE-2840 Change-Id: I8253e28d9020dcda9b23d6ad5ddd4e60cd2086d7 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* pyi: improve findChild/findChildren type hintsCristián Maureira-Fredes2024-08-161-3/+3
| | | | | | | | | | | Add a TypeVar that's bound to QObject in order to use it as a generic QObject-based for the returns of both findChild and findChildren. Fixes: PYSIDE-2517 Pick-to: 6.7 6.5 6.2 Change-Id: I165cdc391bd7b57df95247202170d6fa9d2aa824 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Documentation: Remove example anchorsFriedemann Kleint2024-08-169-10/+14
| | | | | | | The example_gallery tools also adds anchors, use these instead. Change-Id: I488250fae608cf50804c3edfe0ec12d4aa08194a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Docs: Fix sphinx warningsShyamnath Premnadh2024-08-163-3/+25
| | | | | | | - Mostly toctree warnings, missing file paths and indentation issues. Change-Id: I3531f3b7ab3341dd21955ffe73664916b81ecfa2 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Docs: Fix broken links from base documentationShyamnath Premnadh2024-08-1613-32/+31
| | | | | | | | - Many https links and sphinx references which were broken have been fixed. Change-Id: Ia10a44bbbbe4ed7e761c72042b45a46030d02186 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Docs: Update tutorial to use sphinx referencesShyamnath Premnadh2024-08-1526-22/+100
| | | | | | | | - Changed relative paths to use sphinx references. Task-number: PYSIDE-2837 Change-Id: Ia581af3820650ea35b675a1b360779bcaabd84bb Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Docs: Find broken_linksShyamnath Premnadh2024-08-141-0/+7
| | | | | | | | | | | | | - Adds a new script that find the broken sphinx links and writes them into broken_links.json file. This is to be run after running sphinx-build with linkcheck, which will generate a output.json file with the status of all the links in the documentation. - Modified conf.py.in to ignore relative paths when runnning sphinx-build with linkcheck. Task-number: PYSIDE-2837 Change-Id: If2437049abc344ad942814a2304c88c4ef7b0c3f Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>