| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Considering we are not compatible with Python 2 anymore,
we can drop the 'object' explicit inheritance in the class
declaration.
Pick-to: 6.8
Change-Id: Iac3a95aa9721c3ff1a755f457c0936ca157a8470
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8
Change-Id: Ia185a68fe276c9b83bd47fdb2b964d22bee5e382
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I07da9405e29be26fa12f9efc9b6d180dab30a970
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.8
Change-Id: I1a5964463f703ade0657816cb974206355a5ae5b
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Amends 83d745497f4d2db0c95e1b3586049b9d68848f7d
- The following corner cases were missed
- When the example doesn't have a doc file. In this case, the
'desc' will be empty
- When the example has a .md doc file instead of .rst
- When the example includes a sphinx reference as the first line
Pick-to: 6.8
Change-Id: I0f00b74afb9ca6d5d69a77444ef6a54a87680a14
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Fixed the tool; not getting some split modules.
Since the PySide and PyQt versions should be identical for running the tool, compared version decreased to 6.7
Amends 97a49cfb4acf532e35bfc647e6579f74b8e17c15.
Pick-to: 6.8
Change-Id: I6562f1c4a06f5acec2633507430244e1ea6220aa
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Adding the first paragraph (as much as possible)
when the example card is hovered, and use the example headline
as the title of the card.
- Amends 133e8005def4314320062a9a36d950b8692e6f35 by removing
the custom html tag and also merging '.sd-card:hover' into
'.sd-card-hover:hover' to avoid duplication.
Change-Id: I4edf96a5e61138c88a421e70f16ef9bfe4b4e04d
Pick-to: 6.8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add the tutorial title to the example data struct and sort them to the
front.
- The examples under a module which are tutorials are organized
under separate subtitles under the module name.
- Change the grid layout for the examples and add a hover effect to
the grid.
Pick-to: 6.8
Task-number: PYSIDE-1106
Change-Id: I4196667404b9ff27851c2dad198b22c673de9bf9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Avoid displaying the full grid of examples, and instead provide
the option to select first the module to display the cards
with the examples.
Pick-to: 6.8
Change-Id: I248d3d848a4b262b7faee283b09686d48640f7e2
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Missing bindings tool adapted to 6.8
Pick to: 6.8
Change-Id: I688d3cb8a4c81e93e1feeed6a2d8d08754e8a37e
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Updates de524f258c3980814fbc724ed61816894403fa3f. Basically the
download part should be outside the 'if download_only' block
because otherwise the ndk_path and sdk_path would remain None
when ndk_path and sdk_path are not provided via command line
arguments.
- Adds some error handling to the NDK and Command Line Tools
download functions.
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: I545f148caf1c185a1a2cbeeebd5aad3a5359d52b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- Fix for full documentation build by adding a new cli option
for the output directory.
Pick-to: 6.8
Task-number: PYSIDE-2853
Change-Id: I06d76567364a4fbc37cb3f8d03a2020d93b9e513
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Add option to only download SDK and NDK which is used for users
of pyside6-android-deploy.
- The download code will eventually be also copied into
pyside6-android-deploy.
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: Ife9738f2a10868a639e3a4949db6101b8e4a553c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
| |
Generate "var += 1" instead of "var = var + 1".
Change-Id: Ia9b3b3e4135156ebac8b7d5b1f47c735e2be1458
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
| |
Change-Id: I91f211639846bb119d696244060f3013c52e59ed
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
| |
|
|
|
|
|
| |
Task-number: PYSIDE-2620
Task-number: QTBUG-125719
Change-Id: I6efeb1770c9bd7cddc3dbd91ca6294b9fddc9cc9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
- Amends 1d1274a57f65b5d16e0d007cc3062be1dd4146a4 to also
consider markdown files.
Task-number: PYSIDE-2837
Change-Id: Ie4d64c429221c252602df26e6f6f39226b2a63bd
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Examples like samplebinding, etc. have a CMakeLists.txt and only
a dummy pyproject file in the "doc" dir, which caused the zipping to
fail.
Modify make_zip_archive() to take the complete target path as an
argument and remove the move command.
Change one level up if the pyproject file is in "doc".
Pick-to: 6.7
Change-Id: Ibf6064e6e0e6a4e24e25348d3a4b52d361ae9560
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- The autogenerated examples documentation was updated to use
sphinx references instead of relative paths because they are easier
to maintain.
- Additionally the 'bindings.rst' was updated to use the correct
sphinx references. This has been historically broken.
Task-number: PYSIDE-2837
Change-Id: I0c9f2f2e40dbadf8387e62cae05ff7aa12f43f72
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: I4e31b27e9614479e0d9b0eeb858dc9701dc5b8d6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Fix a number of miscellaneous flake8 and typing issues exposed after
updating to the modern typing syntax from 3.10 onwards.
Task-number: PYSIDE-2786
Change-Id: I5476d1208dd1da3fa93bdec02bc6124a80b247fc
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Split coin instructions into separate files specifically for
Desktop, Android and common instructions
- Make changes to cross_compilation script to support coin.
- new 'coin' cli argument introduced. This is required because
Qt installation from CI servers differ from the Qt installation
from the maintenance tool.
- Add a shell script to override the Python used for cross-compilation
for the macOS 13 x86_64 system.
This system is responsible for building the arm64 Android wheels.
The system by default uses Python 3.10. However, python-for-android
requires Python 3.11. Hence, we manually install python 3.11 into
a non default path and use it for cross-compilation.
The default Python of the aforementioned system has been updated to
3.11, but system still uses qt5#6.7. Hence it is not reflected yet.
When ac72bb1d489f7442fe8d9aa168298a94ff62d941 is merged, we will
finally get 3.11 and the need for this script can be removed.
- Add markupsafe==2.0.1 to the requirements.txt file. This is required
to prevent an error while installing Jinja2.
ToDo: Tag Jinja2 version so that this requirements can possibly be
removed.
- Currently only x86_64 and arm64 wheels are produced since they are
the most important. Most Android devices these days are arm64. This
can be expanded to also include x86, but armv7 requires a Windows
host and that is currently not possible with the CI. For armv7 wheels,
users will have to build the wheels themselves using the provided
cross compilation Python script.
Task-number: PYSIDE-1612
Task-number: PYSIDE-2766
Change-Id: I8f15a85887e207a5c6605fd8696d15b4646fb2fd
Reviewed-by: Simo Fält <simo.falt@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We can already use the modern typing syntax introduced with Python 3.10
in 3.9 via future statement definitions, even before we raise the
minimum Python version to 3.10.
Note that direct expressions with "|" don't work yet.
Task-number: PYSIDE-2786
Change-Id: Ie36c140fc960328322502ea29cf6868805a7c558
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
| |
Add a future statement to all Python source files.
Task-number: PYSIDE-2786
Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Additionally, also move setting Python_SOABI manually for Android to
where FindPython CMake module is called. This also aids in naming the
wheel correctly.
Pick-to: 6.7
Task-number: PYSIDE-2766
Change-Id: I73c089d31e2ee629f3ed676965fca27d53882110
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- For macOS, the Ndk is downloaded as .dmg image. This code downloads
the .dmg image and mounts it to extract the NDK.
- The SDK is downloaded as a .zip file. It is then extracted.
- For the build-tools, version sometimes previously the latest version
was downloaded which also included RC versions. The current code
changes makes sure that RC versions are not downloaded.
Pick-to: 6.7
Task-number: PYSIDE-2766
Change-Id: I1be39b1dff55bb1f2f4c3f4882908b429d37f4cd
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- first of many patches to support macOS host for Qfp Android
cross-compilation.
- Use config.guess present in cpython repository to guess canonical
name of the host system. This sets up build for hosts other than
linux.
- As a drive by, update the default api level to 26 to sync with Qt
minimum version 6.7.0.
Pick-to: 6.7
Task-number: PYSIDE-2766
Change-Id: Ifcf0921776e6a682d5724f439739ed098ccc6ef3
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove the use of patchelf to set the SONAME of the libpython shared
library.
This can be done during the build process of CPython for Android
by setting the INSTSONAME variable in the Makefile.
- In addition, remove the redundant parameters passed to make install.
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: Ia18a1480a676abb89ed1afa3250f3745fffedbdd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
The interface was added as preliminary in qtbase commit
9d16d5e2245c26e5746fd7609300b84a2a983457 and is no longer
preliminary since qtbase commit
2496882ea71b8bc52c84e1b9c59cfd48cd56c6f2.
Pick-to: 6.7
Change-Id: I8a24aa2a7a1cd961bdc9974f41d407783ad1a82b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Add a script which scans C++ headers and typesystem files
and prints missing classes.
Task-number: PYSIDE-2620
Change-Id: Ibd2d1aab8debc19e72d9847af180fd425c17db9d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
List widget/graphs/quickcontrols gallery examples first.
Pick-to: 6.6
Task-number: PYSIDE-2207
Change-Id: I94aad562a4085c2695bb3d0f592bb7034e6eae26
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Sort by name instead of target documentation file,
which may contain additional subdirectory components.
Pick-to: 6.6
Task-number: PYSIDE-2207
Change-Id: Ic5eacb4cf92614f5a4fd1c9cf489ccf8100a8ce4
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Add a description data structure for modules specifying type
(essentials/addons) and a sort key. Bring QML/Quick/Widgets to the
front.
Fixes: PYSIDE-2207
Change-Id: I491f28bf72b5be30c94d51323a423cf9f2ddd73c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- deployment is anyway tied to Python 3.11. No point in having the
--limited-api option.
Task-number: PYSIDE-1612
Change-Id: Ia12fe60fe3bbb828664bb8c8ba16b3adf0130252
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- Amends 07d3c8dc71f8c5102cb37e95aa1f2caa35cff115
- As a drive-by, also remove --unity option which is now default
Task-number: PYSIDE-1612
Change-Id: Ie26afd7351edb94e63f096740bd1d20e1d705005
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- python-for-android target python is now upgrade to 3.11 -
https://github.com/kivy/python-for-android/pull/2850. This constrains
us to update to 3.11 to resolve linker issues for shiboken and PySide
binaries.
- The also helps for CI wheel creation since the Python version in our
CI system is 3.11.
- As a drive-by remove designer plugins from Android wheels.
Task-number: PYSIDE-1612
Change-Id: I8c75d4d4567b6830e26a2d9a24db90592f6dc03d
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 3.18 to 3.23
- This is strict requirement since the binaries are linked to Python
3.11 and Python 3.11 is only supported from CMake 3.23 onwards
- https://github.com/Kitware/CMake/blob/v3.23.0/Modules/FindPython/Support.cmake
Fixes: PYSIDE-2553
Task-number: PYSIDE-1612
Change-Id: I8b7d4b825f03eb40f0a9059d6a4b31329f6ea06f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- Amend according with d1760bc8100c94a831f80080a5433a360266c5e2
- Update Android NDK to r26b aligning with Qt
Task-number: PYSIDE-1612
Change-Id: I4ddb99568617d73213f83536f2c2a2e028d927ee
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
build_rst_docs can sometimes result in the directory being
present and deletion can fail (particularly on Windows).
Pick-to: 6.6
Change-Id: Ib0a4f7db9e5010b6150cbfef8a30f443ce0165ee
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.6 6.5
Change-Id: I06c2c294decfc7936f9a65bbdcc02bfee481f578
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Supports creating wheels for all 4 Android platforms in one single
run.
- The earlier --plat-name option is now optional and takes multiple
platform names. If the option is not specified, then wheels are
built for all the Android platforms.
Pick-to: 6.6
Fixes: PYSIDE-2550
Task-number: PYSIDE-1612
Change-Id: I003e34046a88e792dde89a4d224918b5608111aa
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- There were a couple of errors when building Android wheels for this
platform mostly caused due to having an extra "eabi" for all the
clang compilers, but also that the CMAKE_HOST_PROCESSOR name was
wrongly specified.
- The api_level passed while creating the cross_compile.sh script was
also wrong as this should always be a number.
- The CMake FindPython module returns Python_SOABI as empty for armv7a
due to a possible bug in the FindPython module. The Python_SOABI is
obtained by running `python3-config --extension-suffix`.
python3-config be a script can also be run on the host platform and
hence for armv7a, the Python_SOABI can be explicitly specified to
workaround the CMake bug.
Pick-to: 6.6
Task-number: PYSIDE-1612
Change-Id: I3515db730b8c4f283f4c9f1d2e78fbc9d1aa903a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Instead of creating a temporary directory and adding toolchain files,
cross-compiled Python etc., these are now stored in
.pyside6-deploy-cache and are cached.
- -apic option removed. Since cross-compiled Python is now by default
added to .pyside6-deploy-cache, this option can be removed.
- Run `distclean` on the cloned CPython each time Python is
cross-compiled. This lays the foundation for multi-architecture
support.
- Add a cli option --clean-cache to clean .pyside6-deploy-cache. More
control is given with this option to clean only specific folders or
files.
- Remove unsued variable qt_plat_name.
Pick-to: 6.6
Task-number: PYSIDE-1612
Change-Id: Iaa0e35e49e0bf9650b97c87d2b8db3c6c86e0d5c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- removed --ignore-git and --skip-docs
- Fix some flake8 warnings
Pick-to: 6.6
Task-number: PYSIDE-1612
Change-Id: I76994ddf2f5c26f86ac8d6c2e422ac3764b09c01
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.6
Change-Id: Id6e9cdbc7c0b763e8bbb4b7e8dc3ab568b65ebf8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
| |
- default is now r25c
Pick-to: 6.6
Change-Id: Iff109351a52452a68f6e841be25b2ca35e2ce29d
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
| |
|
|
|
|
|
| |
Task-number: PYSIDE-1106
Pick-to: 6.6
Change-Id: I449299a92c91431fe6b742021cee33ae745d0589
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|