| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- For Java packaging, use ANDROID_API_VERSION environment variable if
set, otherwise fall back to CMAKE_ANDROID_API. This enables supporting
the CI which sets ANDROID_API_VERSION to 36 and also local builds
using the latest API level supported by the NDK.
- Added a small comment as to why Qt for Python builds can use API
level of 35 as opposed to Qt which uses 28.
Pick-to: 6.10 6.10.1
Change-Id: Id5cb2d5c6ab235b365c26da79b5e65bbe30c81e9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- For input_file and project_dir, use relative paths instead of
absolute paths so that it can be checked in to version control.
- Fix tests accordingly.
Fixes: PYSIDE-3146
Pick-to: 6.9 6.8
Change-Id: I4260a4844edc71964d5c2ab907915e5fbbcf4e41
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-3146
Change-Id: I2c23e8ae3302bafc31a1a65013e2f3ed342d22ed
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.8 6.9
Task-number: PYSIDE-1612
Change-Id: I63250605149c1b966017dc9bcb896925c59008a7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- For qrc files, the warning was wrong because qrc_<filename>.py was
checked instead of rc_<filename>.py. This is now fixed.
- Additionally the warning message now explicitly displays which
python resource file is missing.
- Also added a comment to default.spec to explicitly indicate that
the QML files won't be listed for Design Studio projects.
Pick-to: 6.8 6.9
Task-number: PYSIDE-1612
Change-Id: I59a22bb720a32ae2b9f6e3f856e77d3eb7b1f21d
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Create directories in case they are missing.
Pick-to: 6.9
Fixes: PYSIDE-3095
Change-Id: Iec80c8a2204c548a2f7cde23724d469696a7eeb7
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- pyside6-android-deploy had dependencies that were force installed into
the user's development environment. This is not a good practice
and can lead to issues with package management.
- This is now changed to give a warning requesting the user to
install the dependencies manually.
Pick-to: 6.8 6.9
Task-number: PYSIDE-1612
Change-Id: Ie7335b1e64d73e7de17e06898d43b99e11389ff1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes two existing bugs in the pyside6-project tool:
1. Relative file paths outside the project folder in the .pyproject file
e.g. files = ["../main.py"] are not handled correctly.
A ValueError is raised due to the usage of Path.relative_to
Fixed using a new function: robust_relative_to_posix()
Updated the example_project test to contain this edge case
(Suggestion: use this as a replacement for the rel_path() function
located in tools/example_gallery/main.py)
2. The migration of a .pyproject to a pyproject.toml file with existing
content is not done properly due to removing the tomlkit implementation.
Fixed by appending the [tool.pyside6-project] section (and the [project]
section too) at the end of the file
(I don't know how the tests were passing before ??)
Change-Id: Ie061c9fa172c429c8b45381bbec35ad30d01f4ee
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes a crash of the pyside6-metaobjectdump tool run in a
file that contains a @Slot(result=None) decorator.
The fix contains in improving the existing _name function to handle
ast.Constant nodes.
Fixes: PYSIDE-3089
Pick-to: 6.9
Change-Id: Id006898021efbc2cc0f9a48f2ce5ac94fcef1836
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Since we only needed parsing and since the pyproject.toml only
contained two sections relevant for deployment/project tool,
we can remove the dependency of tomlkit and replace it with
simple function doing the parsing and writing of the pyproject.toml
Pick-to: 6.8 6.9
Fixes: PYSIDE-3087
Change-Id: Idff951578f7bab311d8bc469c1d437b022ca475a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- The error in the specific warning message leads to confusion. This
should now be fixed by rephrasing the message to be more clear.
Pick-to: 6.9
Task-number: PYSIDE-1612
Change-Id: I2cb3b6b33bd05efe60a54e722a6b626fae7bd1e7
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
- There were some updates with respect to PySide6 support
- See changelog here: https://nuitka.net/changelog/Changelog.html#nuitka-release-2-6
Pick-to: 6.8 6.9
Task-number: PYSIDE-1612
Change-Id: If091184a2661f81d3d57342ba48edc35e748fc70
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds support for pyproject.toml files to the pyside6-project
tool. A new command argument is added to migrate a .pyproject JSON file
to the new pyproject.toml file:
`pyside6-project migrate-pyproject`
The new features are tested and it is guaranteed that the current
behavior is preserved. A new flag is added to the project creation operations, "--legacy-pyproject", in order to generate a .pyproject file instead of a pyproject.toml file.
Note that the tomlkit library is added to the requirements.txt file.
https://github.com/python-poetry/tomlkit
Task-number: PYSIDE-2714
Change-Id: If33956dea73b79df0a52d4dcda3934c85e57182d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch refactors the code of the pyside6-project tool to simplify
the upcoming change of the project file format, pyproject.toml.
The CLI tool documentation is also improved.
Task-number: PYSIDE-2714
Change-Id: I010bbb58f3ed8be5ad5f38687f36b4641a4a021d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
| |
This patch cleans up the pyside6-deploy tool code.
Adds some type hints and fixes some casing consistency issues.
Change-Id: I16988ebf8a15bd3d2bfd12366ebacb3ffe4001e2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
pyside6-project tool needs to be more flexible to build Design Studio
projects. The path where a .qrc compilation output is stored has to be
configurable. In addition, a check is performed to see whether the .qrc
file needs to be rebuild by looking at the files that are referenced.
This avoids unnecesary rebuilds.
Task-number: PYSIDE-1612
Pick-to: 6.8
Change-Id: I8aafd5e66e477bbb360f3cf691d43e12c8866ec4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is a refactor in order to improve the code clarity. In the testing
of the pyside6-project command, importlib.import_module is used to
import the project_lib folder. Currently,
importlib.import_module("project") is ambiguous because it may refer
to both the file and the folder. It chooses the folder over the file.
Task-number: PYSIDE-1612
Pick-to: 6.8
Change-Id: I8903ea9d2112cf2eb7a68d0e302d3c74edcf2c22
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Design Studio projects will specify the resources employed by the
project in the .qrc file. This way, the deployment process is way
simpler since all the file dependencies are stored compiled in a .py
file.
Task-number: PYSIDE-1612
Change-Id: Icc0047e9f9c183a4db51052a84743e5b095ec76a
Pick-to: 6.8
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Just adding some type hints and a bit of code cleanup
None of the existing logic should be affected by this change.
Task-number: PYSIDE-1612
Pick-to: 6.8
Change-Id: I42175426a03dc463b8da82aa560c3f13ab842392
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- In order to prevent code duplication, a symlink to
tools/cross_compile_android/android_utilities.py is created under
sources/pyside-tools/deploy_lib/android.
When running the script sources/pyside-tools/android_deploy.py,
this works without any issues.
When packaging the tools, the symlink is resolved into the actual file
and the actual file is packaged into the wheels.
- Remove global variable to __init__.py and remove the ones that are
not used
- Add tqdm to requirements.txt
- Adapt tests
- Additionally, include several new test cases to cover error scenarios
more comprehensively
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: I74728be30a2b8214b9a379b0b906fdacbb105833
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- Handle removal of files/directories in the case of failure
- Add more details to the docstring
Pick-to: 6.8
Fixes: PYSIDE-2965
Change-Id: I6410963385c15899f49b60cae60b2200e8d13012
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Added tests for extra modules and directories to ignore. These are
cli options.
- Fixed an issue where updating a Python set was not functioning
correctly.
Task-number: PYSIDE-2945
Pick-to: 6.8
Change-Id: Ia6b0e9ef98e2e0999bc4782168b3889598cca682
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- Amends 05b3c28099c1eaff74bba8b06004cc8205b24f45
- Also, ignores 'scenegraph' and 'networkaccess'
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: Ibc1a0ea1525f7d56ed884bc652612d8985479258
Reviewed-by: Jaime Resano <Jaime.RESANO-AISA@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
One cannot use list in the arguments of a function using lru_cache
Fixes: PYSIDE-2945
Pick-to: 6.8
Change-Id: I2305dab868a634bfb8a3f240d403c07281f7edb8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Nuitka 2.5.1 imposes strict checking for the Qt plugins included
through the --include-qt-plugins option by checking if the plugin
actually exists in PySide6 installation. Consequently, the plugins
"accessiblebridge", and "platforms/darwin" which are not required
by Nuitka are removed from the list of plugins to be included.
- Adapt tests.
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: I89cef4acf102e01c229b1dd6063fc08903ea686d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Ignoring .webp files are not needed in the newer Nuitka version.
- Additionally, also adds a comment differentiating between the
`plugins` fields used in the deployment configuration file.
- Adapt tests.
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: Ibbaab03021fa50e4777caa346a2c128fd5e1a06c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to the API limitations, we have to ensure that the engine is deleted
before other parts of the application is deleted. Otherwise exposing
objects using setInitialProperties() or setContextProperty() for example
will cause warnings to be printed. It is a good practice to always
delete the engine manually so all the code should be consistent.
Task-number: PYSIDE-1612
Pick-to: 6.8
Change-Id: I01f16359e9d90cefd5957708fe12ce489bd7edc0
Reviewed-by: Jaime Resano <Jaime.RESANO-AISA@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When ast library parses a "from . import x" statement, it will return a
module name of None. Therefore, using .startswith() on None will raise
an exception.
Task-number: PYSIDE-1612
Pick-to: 6.8
Change-Id: I6532f4ebc469695ee977840c3cb40f641fb3cdb6
Reviewed-by: Jaime Resano <Jaime.RESANO-AISA@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
The .git, __pycache__ and .vscode folders should not be included in the
deployed executable. Windows, it causes permission errors when the
cleanup is performed
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: Icfcbe6aa0d3cb2b869a0bb9a68dbe8d1e1d9a5ec
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
| |
|
|
|
|
|
|
| |
Reorder the class map by module and add QModelIndex.
Pick-to: 6.8
Change-Id: I23195f37cb8eaf21cdb46a71d98fba1cd776a3d1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use --include-data-dir to include the QML modules. This would
reduce the command length significantly.
- Additionally, package all the subdirectories of the application
directory. The user may have other relevant resources required
by the application eg: images, fonts, etc.
- Add two new directories for directories to be ignored - docs and
examples. These directories are not required for the application
to run.
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: I6269f77c0fd94a54e3b7a44f317bc144bd68e5ec
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- pyside6-android-deploy does not work with Python 3.12+ due to the
a restriction from the 'buildozer' package. This should be fixed in
their next release and we can remove this RuntimeError.
- Additonally modify the help message for --ndk-path.
Pick-to: 6.8
Task-number: PYSIDE-1612
Change-Id: I94e677a6845f31d71f5a008ce7beda53d25ed0e1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- There was an issue where if you run pyside6-deploy from a folder
different from the project directory, it creates a new
'pysidedeploy.spec' every time unless you run
'pyside6-deploy -c <config_file>'. This patches fixes this issue by
always creating the pysidedeploy.spec in the main project directory
i.e. the parent directory of the main Python file.
- Additionally, the function 'create_config_file()' can be simplified
since it can never accept an empty 'main_file' argument and the
parameter 'config_file' can be removed.
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: I435f79e7222a55831cddcfbc50e07bc214e24cee
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Pass paths relative to the project directory instead of the file
name to lupdate (to keep the command line short).
Fixes: PYSIDE-2861
Pick-to: 6.7 6.5
Change-Id: Iebdc5e9e6e5c50952b6db4425a68179045cbf9fc
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- The value provided through cli is prioritized over the value in the
config file.
- Update the docstring for the set_or_fetch function.
- Additionally, fix an error on run_qmlimportscanner() where the first
argument was passed as a list instead of a tuple.
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: I6afb25c8e88f7ee2fb4a88539d2b8b3170dcdd00
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Configparser does not preserve the formatting of the original file.
As a result when writing into the config file, the formatting is lost.
In the case of pysidedeploy.spec, the blank lines are lost making
the entire config file rather hard to read.
- This patch adds a blank line before the comment lines thus retaining
the original formatting of the file.
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: Icd1ebe52d364f4dc9197220161ed6daa6ed577a0
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
| |
Task-number: PYSIDE-2620
Change-Id: I0627c35162d37a9fa4fdb716235aacd15cdfb698
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- ac55d94395849a5a4af2883d2dab82982252c92d helps to fix a TODO where
we can exclude directories from the qmlimportscanner check directly
without moving all the QML files into a temporary directory
- Amend b32183d2cd5fbbd1ac6a53827edf5d40428855ff
Task-number: PYSIDE-1612
Task-number: PYSIDE-2803
Change-Id: I2524af7154b32730d2d823fda6973b9a2c8a76a3
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
| |
|
|
|
|
|
| |
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: I001f0f446d41330e1ef0a798c82297a0e7c47021
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- The Qt Sql driver has a hard dependency on certain external
libraries on macOS. macdeployqt solves by patching the Qt Sql
driver by changing its RPATH and bundling the external library.
This is not possible with pyside6-deploy and should be ideally
done via Nuitka.
- Until this is solved by Nuitka, we raise an error message that
informs the user that deployment on macOS is not possible when
QtSql is used.
- Corresponding Nuitka issue:
https://github.com/Nuitka/Nuitka/issues/3079
Pick-to: 6.7
Task-number: PYSIDE-2835
Change-Id: I35d580ec8bcb9d1d1a4472cc01caee88deb5468e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
| |
|
|
|
|
|
|
|
| |
- Required for @lru_cache decorator
Task-number: PYSIDE-1612
Pick-to: 6.7
Change-Id: I5e62ad93f20f7000e2e0ef37617aa756b3272314
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
- Additionally, adapt wheel_tester.py
Pick-to: 6.7
Fixes: PYSIDE-2806
Change-Id: If2c0d8f186142797f3280136298ed299643824f5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- When the Nuitka command line becomes more than 8191 characters in
Windows, the subprocess call fails with the error message "The
command line is too long". This patch fixes the issue.
- The patch involves moving the contents of the main Python file
to an intermediate file called 'deploy_main.py' and modifying
the deploy_main.py file to start with
'# nuitka_project: <nuitka_option>'. This way, Nuitka picks up the
option directly from deploy_main.py rather than the command line.
- Add relevant tests to consider the scenario.
Pick-to: 6.7
Task-number: PYSIDE-1612
Fixes: PYSIDE-2803
Change-Id: Iacdaa66283cb41dee6df99c9015b4679e299b02e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Previously, pyside6-qmlimportscanner was run on each of the QML files
by listing the QML files. For projects with a large number of QML
files, this leads to a long command line that exceeds the maximum
command line length on Windows.
- This change modifies the command to use `-rootPath` command line
option to specify the root path of the project directory. This will
recursively find all the QML files in the project directory and its
subdirectories, and find the QML modules used.
- This solution moves all the '.qml' files in the project directory
into a temporary directory and running pyside6-qmlimportscanner on
this temporary directory.
- Additionally, memoize the function run_qmlimportscanner() to avoid
running the qmlimportscanner multiple times for the same project.
Pick-to: 6.7
Task-number: PYSIDE-1612
Task-number: PYSIDE-2803
Change-Id: Ie82fc4e5071debe505fae7b5815b76c89d99ff4c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
- For certain debian systems, the system Python uses 'dist-packages'
directory for installing Python packages instead of 'site-packages'.
This patchs adds a check for 'dist-packages' directory.
Pick-to: 6.7
Fixes: PYSIDE-2785
Change-Id: I697e2939ff4114cad0e696d8920322d080be9386
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Pick-to: 6.7 6.5 6.2
Fixes: PYSIDE-2814
Change-Id: I88aa5ecf6a22808fe5efd2c52fd6675b153da936
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Among the directories ".qtcreator", "site-packages", "deployment" etc
were excluded when finding the QML files and the Python files in the
project.
- Simplify find_and_set_qml_files(self) function by removing the
unnecessary code.
- Memoize pyside_module_imports().
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: I55ccb67300c27de73843ad9996da655ba04403fb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Fixes sporadic crashes with Python 3.12
- Supports Numpy 2.0. This is not relevant for us currently, but
it's good to have the latest version.
Pick-to: 6.7
Fixes: PYSIDE-2781
Task-number: PYSIDE-1612
Change-Id: I96a437795018792906ba6cf44e6466dacc154dbf
Reviewed-by: Christian Tismer <tismer@stackless.com>
|