| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Tools inside 'Qt/libexec' in Unix are now listed out to better
control with which modules each tool should be included.
A consequence of just adding 'Qt/libexec' was that the tool
QtWebEngineProcess was included with PySide6-Essentials, which was
wrong. It should be added with PySide6-Addons.
- qml tools moved to module_QtQml(). qmltyperegistrar and
qmlimportscanner was not included in Windows wheels. This
is now fixed.
- examples moved from from module_QtCore() to their respective modules
module_QtWidgets().
All external examples are now moved to module_QtWidgets().
- designer tool moved to module_QtDesigner()
- uic tool moved to module_QtWidgets()
- module_QtLanguageServer() and module_QtJsonRpc() added
- examples/installer_test removed from wheels. This example is used
by testing/wheel_tester.py, and the path to it is identified related to
testing/wheel_tester.py
Pick-to: 6.4
Fixes: PYSIDE-2115
Change-Id: I4da6ed9be6700b3ef9e647a1edf50c3b39113e0c
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is a build error on Windows when limited-api=yes and debug where
the linker does not know the right paths to look for libraries.
Supporting this configuration is not desirable anyway because there are
no released Python builds on Windows with this configuration. Therefore:
1. Display a warning to the user that the combination debug +
limited=api=yes does not really "exist" if they choose it explicitly
on Windows.
2. Have the default for debug builds be limited-api=no on Windows.
Pick-to: 6.4
Change-Id: Ifed99f80abb02c9d512a1321526e949d56ff08a6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This can cause issues for cross builds, particularly
for cmake-toolchain-file.
Affected options are:
build-type, cmake-toolchain-file, internal-build-type,
internal-shiboken-host-path-query-file, jobs, limited-api,
package-timestamp, parallel, prefix, qt-host-path, shiboken-host-path.
Task-number: PYSIDE-802
Task-number: PYSIDE-962
Change-Id: Icd48d56c66df79bcc2e203290ee5a7a0fb930529
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
When building against a system Qt version on Linux, searching for
qtpaths first might find a Qt 5 version, causing a misleading error
message. Searching for both cannot work since which() throws on
failure.
Change-Id: Ifec2e880cec79c9b0ce978808051e2d4dae8b0d2
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the conversion of Options.self.qt_target_path to Path up, fixing:
File "pyside-setup_was/build_scripts/options.py", line 333, in _do_finalize
if not self._determine_defaults_and_check():
File "pyside-setup_was/build_scripts/options.py", line 510, in _determine_defaults_and_check
if self.qt_target_path and not self.qt_target_path.exists():
AttributeError: 'str' object has no attribute 'exists'
Amends 2afcf8e7545c681e412e5b6d04ab8867e5edd5c7.
Task-number: PYSIDE-2080
Change-Id: I4fe2bc7dcef1f8ff76c3e8e1353b4ca5afe7d596
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
- Amends 2afcf8e7545c681e412e5b6d04ab8867e5edd5c7
Pick-to: 6.4
Change-Id: I3b06bf3517dbab5d96c7b50a883716471376dbad
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- Amends 48258c5a099be2c4accf373a2e2f52d48359cfa2.
Pick-to: 6.4
Change-Id: I3196e35a93355528d6a8692294f6a179d41ad425
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
Amends 48258c5a099be2c4accf373a2e2f52d48359cfa2.
Pick-to: 6.4
Change-Id: I324d37ee07b3c32f8511b96ad84a6374bd6fbf8a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Amends 151d7cae1d29e7a8609c6f1007c8d7cb3423eefd,
c42a8e442472cb3a4f210dc13a671fc927d03f64.
Pick-to: 6.4
Task-number: PYSIDE-1957
Change-Id: I426c2881c8d937860d80c5f3a9232fe99cb7ada8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
- Remnants of 6fe563b2aa15c2c23369acce353be69f6ea84c77
Pick-to: 6.4 6.3
Change-Id: I664b960324d49db08f7a8ec6cf5244fbcda970d0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@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>
|
| |
|
|
|
|
|
|
|
|
|
| |
After removing the remaining mentions of Python 3.6
the wheels were still being generated with the cp36-abi3.
Pick-to: 6.4 6.4.0
Change-Id: Icf06173a42c616f817bb428a50ab08a3a01ba705
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
- Split classes into separate Python files - utils and project_data
- Project operation still inside project.py
- Created class ProjectData out of class Project to store the
data of the project
Pick-to: 6.4.0
Change-Id: I542b74b90b7a4a01cf415d6d2080cbd6ea914e1d
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
Amends 2afcf8e7545c681e412e5b6d04ab8867e5edd5c7.
Task-number: PYSIDE-2080
Change-Id: I30a1a795b9735d89bbfa647cff4c9f8f06516a2b
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
There is a usage of os.path.relpath that cannot be migrated
to pathlib, which remain the only usage of os.path
Task-number: PYSIDE-2080
Change-Id: Iac781e9c9324fb8b9d3559b4225912d56782072a
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
Amends c42a8e442472cb3a4f210dc13a671fc927d03f64
Pick-to: 6.4
Fixes: PYSIDE-1957
Change-Id: I253ba1d10dda91645a81f11d256f32849b2ec0d1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
These leftover mentions to <3.11 made those wheel
impossible to install for Python 3.11
Pick-to: 6.4
Fixes: PYSIDE-2086
Change-Id: I2a0e3f87c265e3ddc97e1036ea0137a12e895794
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
PySide 6.4.0 is the first release that only supports Python 3.7+
Task-number: PYSIDE-2085
Change-Id: I92016cc438a9272eba3f0d379bb0c4b87bee52f5
Pick-to: 6.4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
| |
[ChangeLog][PySide6] QtSerialBus has been added.
Change-Id: I661912279fa03b51d19483b603fff830ede225a9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-2080
Change-Id: I0460f18fe734419255954b32357308fa10427a30
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Add mode keywords "new-quick", "new-ui" and "new-widget" that create
simple applications.
[ChangeLog][PySide6] pyside6-project can now generate simple project
templates.
Change-Id: Id4e457ab3592bd9ac4c8c7f45667e8c166ec4754
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
| |
Renamed to avoid confusion related to distutil usage.
Task-number: PYSIDE-2079
Change-Id: Idf6a8b64835be34a1e92032bd3b18b8eafe28e3e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Replaced various dsitutils leftovers:
- distutils.cmd.Command by setuptools.Command
- distutils.command.build by setuptools.command.build
- distutils.sysconfig.get_python_lib(1) by sysconfig.get_paths()['platlib']
Task-number: PYSIDE-2079
Change-Id: Ia694629476f25019f4a9f8d3b306b0367a5cdb08
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Adding simple logger based on the logging module
to replace the distutils.log one.
Task-number: PYSIDE-2079
Change-Id: I2a4996a57be701552005b57d2b1a251b9fc44c41
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
| |
Replacing the distutils errors by the setuptools one.
Task-number: PYSIDE-2079
Change-Id: I9968d9562f8dd40317344d3295943c194e3f2197
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
There is a package on PyPi that provides patchelf,
so we can avoid to have an outdated copy locally
and rely on people to install the package.
Change-Id: If30046cda24bc31f38640f943f8ba0f65556232c
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
| |
replacing them by macOS
Pick-to: 6.4
Change-Id: Ic6a135406375ab1f0ebed3e63ba17423a34f13cb
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@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>
|
| |
|
|
|
|
|
|
| |
Complements c565eada8ff164cff07566e1499992327c2536ba.
Task-number: PYSIDE-692
Change-Id: I3fcffca47ff76aa59b14e19818bdc20eb1e540e6
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The new approach to create wheels introduced in 6.3
requires to have explicitily the plugins directories
within the module instructions, otherwise they will not be added.
6.4 brought back TextToSpeech and also some multimedia
plugins were missing.
Change-Id: I5a99672dc8d8c33a2472fccd6fad174bad23fcee
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
ldd is used to determine the location of the ICU libs, which
does not work for cross builds.
Fixes: PYSIDE-2060
Pick-to: 6.3
Change-Id: Idbf8c6e9239f4623b7c11c646a616ef44e8c3ecf
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
Patch the binaries only when tools are enabled.
Fixes: PYSIDE-2060
Pick-to: 6.3
Change-Id: I75b2949e23a2d6cbfebcd64dfec7ab43e978881c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
The message is crucial for testing cross-builds.
Add output, environment and CMakeOutput.log if found.
Task-number: PYSIDE-802
Task-number: PYSIDE-962
Change-Id: I6f4352050bd76488d7ec35f1e9d93ddf2acc4cc5
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
Use subprocess.run() instead of Popen().
Task-number: PYSIDE-802
Task-number: PYSIDE-962
Change-Id: I9504303c1fbc4ecc4f1fbdaae4886a3fbd0788a0
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
[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>
|
| |
|
|
|
|
|
|
|
|
| |
Adding the option '-j auto' to the calls we have
for sphinx-build, speeding up the documentation generation process.
Change-Id: Ie676d305e283fa217a90f3de64f96978ce6b3af0
Pick-to: 5.15 6.2 6.3
Task-number: PYSIDE-1106
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was a silent change in PyEnums that turns Enum attributes
into properties. This does not harm the Python interface but
needed some change in the duplication emulation.
Furthermore, new internal enums are created with an underscore name.
The meta class was changed from EnumMeta to EnumType.
[ChangeLog][shiboken6] The new Python Enums are now compatible with Python 3.11
Change-Id: I3b1ab63dc5eed15a75ebd0f42dddf4001f640c00
Pick-to: 6.3
Task-number: PYSIDE-1735
Fixes: PYSIDE-1960
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Amends 4f37d045e03af7481b41b06fb53b56cb8062c56c
Pick-to: 6.2 6.3
Change-Id: Id4134b41124c2fb29a57e2615e3b50c11c495c05
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Avoid accessing elements from sequences by index
without being explicit about all the returns from functions.
Pick-to: 6.2 6.3
Change-Id: I1cddda7f8c38724907cad854ee99489058dae5f3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removing some leftover common anti-patterns:
- remove unnecessary dict() usage
- remove unnecessary map()
- avoid index-based loops
- use capitalize() instead of index-based capitalization
- use f-strings for concatenation
Pick-to: 6.2 6.3
Change-Id: I0ffdf73ec47c6ef537789015052dea0fd047350d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Internally, we were using many words like 'filter', 'vars',
and 'dir' which are built-in functions in Python.
To avoid confusion and a possible wrong behavior, we renamed them.
Pick-to: 6.2 6.3
Change-Id: Idbadda3857705ef3a5f0440112ee923d3a61ffa0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
There is an implementation in the 'utils' module that
implements a 'rmtree' function to handle removing readonly files
from a directory. To avoid confusion with shutil.rmtree we rename
it to 'remove_tree'.
Pick-to: 6.2 6.3
Change-Id: I3548ea81f36c87ba51fd984fcf7b1cd4cafd54d6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
| |
Adapt to qtmultimedia/c403e775f60a5d02e761904342ac243be1f22597.
Change-Id: Id078b2a7ca46ff775fbbc543428a3208d5410981
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
| |
Mainly to avoid having a persistent object every time
we call the function, to avoid future issues.
Pick-to: 6.2 6.3
Change-Id: I9aea45ffa7ecd381e8c5ed6b3c83036d6e8aef72
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.2 6.3
Change-Id: Ibd2a6088f6a2826be38a13037fe2db6656630b34
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
To solve the issue when trying to add a RPATH to a binary
that already has it.
Pick-to: 6.3
Change-Id: Ia181d932d03c81f3c4a244e267c97cca84d30620
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Enum module was optimized several times and is now in good
shape. Old Python versions show massive slowdowns.
Also, Python 3.6 does not support the functional API.
As a general solution, we embed the current enum version to support older
Python versions with the same module. Newer Python versions do a normal import.
As a side effect, we have no longer to treat the old version
Python 3.6 in any special way.
This change is further necessary to be able to remove the old enum version,
since Python 3.6 still exists in CI.
NOTE: Python 3.6 and 3.7 had a hard-to-find refcount error
when creating new enums.
[ChangeLog][shiboken6] Python Enums use the newest implementation for
Python (3.10) for compatibility and speed.
Task-number: PYSIDE-1735
Change-Id: I1f105a6b0fb48e9364cb0654ccd9118d39f68542
Pick-to: 6.3
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|