| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Task-number: PYSIDE-2620
Change-Id: I0627c35162d37a9fa4fdb716235aacd15cdfb698
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
| |
Add a future statement to all Python source files.
Task-number: PYSIDE-2786
Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- enable the tool for macOS
- add dependency .xml to the Android wheels
Pick-to: 6.7
Task-number: PYSIDE-2766
Change-Id: I77495466b8a9cc3565c640beac202d533ee1d2a6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- Add documentation for the tool
- Add a screenshot of the tool
Pick-to: 6.7 6.6 6.5
Task-number: PYSIDE-2629
Change-Id: I63d1d7e65d92ec37012ce40bb319dfeef9c9695b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
| |
- Also add the relevant documentation
Pick-to: 6.7 6.6 6.5
Task-number: PYSIDE-2629
Change-Id: Ic2e7798a5f0ff7015cb87089dda2420ed6327ca2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Analogous to the qsb tool in Qt
- Add pyside6-qsb tool to the documentation
- Update developer documentation
Pick-to: 6.7 6.6 6.5
Task-number: PYSIDE-2629
Change-Id: I93058ebb2864491e951f4f828d703d8893fbcbe7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Use subprocess.call() instead of capturing the output.
As a drive-by, use stderr for error messages.
Pick-to: 6.6 6.5
Change-Id: I28c9623754b0718cd4a5041475f451247ac5811f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- With pyenv installed Python, we need to explicitly add the full Python
library path to LD_PRELOAD(Linux) and DYLD_INSERT_LIBRARIES(macOS).
Otherwise, these libraries are searched in the default search paths
of ld and dyld, and it won't be able to find them.
- for macOS, the python installed with pyenv won't be a framework build
unless explicitly specified. Thus we use the same approach for linux
by looking for the Python library inside the path in `LIBDIR`. In the
case of a framework build with pyenv, 'PYTHONFRAMEWORKPREFIX' will not
be empty and hence no explcit changes are required.
Fixes: PYSIDE-2568
Pick-to: 6.2 6.5 6.6
Change-Id: I94815b721acb85fa0b7f28d1bbb00a49717120c3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Adds a requirements-android.txt file
- Simplifies code in pyside_tool.py
- Sets up installing requirements in tests without redundantly
listing the dependent packages
Task-number: PYSIDE-1612
Pick-to: 6.6
Change-Id: If98f6458673bc72103c898e078e6a16f1cf38b12
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- `pyside6-android-deploy` has dependencies on Python packages `jinja2`
and 'pkginfo'. Earlier they had to be manually installed by the user.
- This patch automates the installation on the first invocation of the
tool.
- Windows and macOS desktop hosts now prints a not supported message
and exits pyside6-android-deploy.
- As an addition, ran `isort` on the file.
Pick-to: 6.6
Task-number: PYSIDE-1612
Change-Id: I9ecba72afb396624809e98adf43236a2f15c15eb
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Amends b20b722c0b3d38dddb65c6889cabd30c4cfa72aa.
Pick-to: 6.5
Task-number: PYSIDE-2247
Change-Id: Icb69228157605e0a9855d5c625ebc3c787eaaa80
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.5
Change-Id: I21ae563efb9488083289c7deb6435ae7e9405049
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Complements ffb87075e3c4ea4b0a2dd15321af8c1921e33164.
Pick-to: 6.5
Task-number: PYSIDE-2247
Change-Id: I715572d42d9c098996f2005d01f82fb363a5c8c2
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Preliminary support for PySide6 Android deployment
- Uses jinja2 to create PySide6 and shiboken6 recipes, to be used
by buildozer when python_for_android builds the app distribution
- Classes for Buildozer config interaction
- Run deployment to android. Typical command looks like:
"""
pyside6-android-deploy
--wheel-pyside=./PySide6-6.5.0a1-6.5.0-cp37-abi3-android_x86_64.whl
--wheel-shiboken=./shiboken6-6.5.0a1-6.5.0-cp37-abi3-android_x86_64.whl
--name=stringlistmodel
"""
- New entrypoint for pyside6-android-deploy
- Helper functinos for Android Deployment
- Remove unused function main_py_exists()
- Added the new files to deploy.pyproject
- Remove dry_run argument from install_python_dependencies()
- new Python packages added in requirements.txt to enable the
deploy and cross compile tool
Note: python-for-android uses my local fork. This will be changed
once it is merged into python-for-android dev.
Task-number: PYSIDE-1612
Pick-to: 6.5
Change-Id: I7eb96fa5507a476b4e86ec0195a5e9869f0f85fd
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-2251
Pick-to: 6.4
Change-Id: I0efe24e5b92bae82c122d156b7dc4e7aca07c957
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
environment
Set the VIRTUAL_ENV variable in case it is missing.
Fixes: PYSIDE-2251
Pick-to: 6.4
Change-Id: Iecd6c8d71d99987f0f4c03c5f974d2229ddbea40
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
Do not add -g Python, then.
Pick-to: 6.4 6.2
Fixes: PYSIDE-2199
Change-Id: I7d9a361d5a4e1a4c01d2aa9e0d25bdc4012cbb10
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- PySide tools which are wrappers around Qt tools are now only installed
if the corresponding Qt tool exists.
- PySide6 entry points for the Qt tool are now only created if the Qt
tool exists in the corresponding Qt installation.
- Incase the console entrypoint still exists and the corresponding Qt
tool does not exist, the tool would exit stating that the Qt tool does
not exist.
eg: 'pyside6-uic' is run and 'uic' does not exist. The the tool
outputs that the 'uic' does not exist.
Ideally as per this change, PySide6 entrypoints for missing Qt tools
should not exist at all.
- versions.py deleted and contents moved to __init__.py.
- Adds warning from Python incase if the tool does not exist. This
is in addition to the CMake warning.
Fixes: PYSIDE-2097
Pick-to: 6.4 6.2
Change-Id: I3f1b26d103679f7425d9ad85dfed8d9ad17f6fbf
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
base Python is not in path
Add sys._base_executable to the path.
Pick-to: 6.4 6.2
Change-Id: I08154453d6a0b4565e9aff8d46bf6950b20ef5ce
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- qmlimportscanner tool helps the deployment tools to identify all
the imported QML modules in the QML files associated with the
project
Pick-to: 6.4
Change-Id: Id708e9de618d2cf277f67973f5474d05aa2a0c41
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- One step solution to deploy PySide6 applications using nuitka without
worrying about the plethora of cli options provided by nuitka, at the
same time retaining the option to specify advanced nuitka options.
- Target: Windows, Linux, Mac
- All options are specified through a config file. This makes it easier
for expansion to android deployment
- Tested for projects with QML files, ui files and rc files
Task-number: PYSIDE-1612
Change-Id: Iefbdb55fa1c999295fac2a86b1f6d9b9ec45a0b1
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][pyside6] pyside6-qtpy2cpp.py, a Qt-specific, simple tool
for converting Python code to C++ has been added.
Fixes: PYSIDE-1945
Change-Id: I77659ec6b49c0d3f657b4d19e5866f3057561771
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
- added qml language server
Task-number: PYSIDE-2004
Change-Id: I79c44588c7db42c87914162a5babd4e390ff9a88
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
|
|
|
|
|
|
|
| |
- adds qmlformat
Task-number: PYSIDE-2004
Change-Id: I6b5fb160d3f832317b41504184dd27586279c802
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- pyside6-qml is a tool that mimics the capabilities of qml utility and enables
quick prototyping for qml files. Most cli options of the qml tool are carried
forward to this tool.
example-usage:
pyside6-qml -a gui examples/declarative/editingmodel/main.qml
To see all the cli options available with this tool, do:
pyside6-qml --help
Task-number: PYSIDE-1878
Pick-to: 6.3
Change-Id: I98bd77ccf6a0a286bb54da264312e81bf2964dc7
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the current license disclaimer in files by a
SPDX-License-Identifier. Files that have to be modified by hand are
modified. License files are organized under LICENSES directory.
Task-number: QTBUG-67283
Change-Id: I065150015bdb84a3096b5b39c061cf0a20ab637d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a tool to build Qt Designer forms, resource files and QML type files
in a .pyproject.
[ChangeLog][PySide6] pyside6-project, a tool for building projects and
running QML checks, has been added.
Task-number: PYSIDE-1709
Change-Id: I101ef04cb07c00a1ac75d18d81a2856305253109
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the app bundle path. Amends
ba96669d4ad0c31b8703231a9346218c6b92df70 and
011cad7cd2cd617427e939d737676394425bdc6b.
Pick-to: 6.2
Task-number: PYSIDE-1831
Task-number: PYSIDE-1378
Task-number: PYSIDE-1252
Change-Id: Icfe5badda3d900b8bad8f58edab6447a901d07e6
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
Add a tool to print out the metatype information in JSON to be used
as input for qmltyperegistrar.
Task-number: PYSIDE-1709
Change-Id: Ie57feeeecc09b1a01aadcc08f7e529a16609b3a4
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add entry points for the tools from libexec or bin, respectively.
[ChangeLog][PySide6] The tools pyside6-qmltyperegistrar
and pyside6-qmllint have been added.
Task-number: PYSIDE-1709
Change-Id: If578255cc2a0fda4171b1ed54f3a2e612e849964
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add lupdate, lrelease, linguist.
Rewrite sources/pyside-tools/CMakeLists.txt to use lists
in case further tools need to be added.
[ChangeLog][PySide6] pyside6-lupdate and the related tools
from Qt Linguist have been re-added, enabling using the Qt
translation system.
Fixes: PYSIDE-1252
Change-Id: Ia528623f2b4fc3882a18347ed862ed910501d466
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Qt Designer as bundled by PySide6 was unable to find the uic
binary in the libexec directory of the bundled Qt since that was only
copied when QtWebEngine was built and the rcc/uic binaries were copied
into the main directory.
Also, libexec existed as a file containing qt.conf, which was created
by a copy statement not checking for the target directory.
Fix that by actually creating a libexec directory for uic, rcc and
QtWebEngineProcess. Patch the executables accordingly.
Add checks before copying qt.conf.
Adapt pyside-tool to use libexec.
The Windows code path remains the same, everything uses
main directory there.
Change-Id: I0c9f46fb776ed0315eecb6ed00202ea8d8f17fe2
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][PySide6] Assistant is now shipped along with PySide.
Fixes: PYSIDE-1378
Change-Id: Ie08778964f47378acf4e570b9a6dc3690257e411
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After the new tool has been created, we can now produce
a Shiboken.pyi file automatically and make the PySide pyi
files more complete.
The Shiboken internal objects are now published, and we
no longer need a fake Shiboken.Object .
We can continue here a bit, maybe in another commit.
Pick-to: 6.1
Task-number: PYSIDE-1415
Change-Id: I9ba9336dbffa200ac519968519ee9381dd5cad84
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Preload a python library to provide the Python symbols.
Change-Id: I349c9e5ef9812ccd6cff36d2274d8cbec678c139
Pick-to: 6.1 6.1.0
Fixes: PYSIDE-1566
Reviewed-by: Renato Araujo Oliveira Filho <renato.araujo@kdab.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
| |
Pick-to: 6.1 6.1.0
Task-number: PYSIDE-1455
Change-Id: Iba9429d2c42f471661b250829aaf124a4b8b72b2
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
Preload a python library to provide the Python symbols.
Pick-to: 6.1 6.1.0
Task-number: PYSIDE-1455
Change-Id: I8d84bd6f3129c500471653b54e415882d5c0bde1
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Show how to use QDesignerTaskMenuExtension
for a custom widget.
Task-number: PYSIDE-1455
Change-Id: Ia3a1a65890747a0d960702c25dfe20e75084a2b2
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a convencience class QPyDesignerCustomWidgetCollection to
the Qt Designer module, which provides functions for
registering widget types or adding QDesignerCustomWidgetInterface
instances. A static instance of it is stored as a dynamic
property on QCoreApplication, which is retrieved by a Qt Designer
plugin, which provides the collection of widgets registered in
Python.
Task-number: PYSIDE-1455
Change-Id: If4055e6c9db6a03b32016b013a1130051bbd472a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
| |
This should be the last patch related the usage of f-strings
from the 'sources' directory.
Pick-to: 6.0
Change-Id: I0288d720dc4930dee088ca3396a66d1b3ba18f76
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
| |
Adapt CMake files, build scripts, tests and examples.
Task-number: PYSIDE-904
Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Bring back wrapper and tools from the sub-repo which
was removed by 9c9b506f3b2cc64da6fbbef9f58ccec7ccfe4457.
Task-number: PYSIDE-1339
Task-number: PYSIDE-904
Change-Id: Ib4f83721e4b56174109629dce64da56b9a71ffa5
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
| |
|
|
|