Chocobo1
e79be5853e
Enforce Python to run in UTF-8 mode
...
When running Python via QProcess on Windows, the output code page will be set to the system default instead of UTF-8.
This commit enforces that UTF-8 will be used unconditionally.
Supersedes #23629 .
PR #23633 .
2025-12-22 12:00:27 +08:00
Chocobo1
84cd8e1535
Utilize Path class when finding Python executable
...
This is a code clean up and shouldn't affect the outcome.
PR #22760 .
2025-05-25 15:00:19 +08:00
Chocobo1
d56b353c52
Add checks for minimum supported Python version
...
Now it checks for all python installations and related procedures has been revised.
If the python version does not meet the minimum requirement, it will be logged.
PR #22729 .
2025-05-21 14:52:11 +08:00
Chocobo1
e6d85a468b
Rename literal operator
...
Qt 6.4 introduced `QString operator""_s()` and the previous `""_qs` is
deprecated since Qt 6.8.
2023-06-18 03:32:44 +08:00
Chocobo1
4ef8f39f23
Use python isolate mode
...
This (more or less) avoids user's environment variables tampering the
search process.
And also remove usages of `eval()` and `exec()`.
PR #18995 .
2023-05-21 14:04:44 +08:00
Chocobo1
33e6ca6778
Redesign Version class
...
PR #17484 .
2022-08-06 11:06:16 +08:00
Vladimir Golovnev (Glassez)
552ff0489d
Use nested namespaces definition syntax
2021-01-03 16:53:24 +03:00
Chocobo1
7d808cfc99
Fix asking to install Python
...
The dialog asking users to install python is borked since the last refactor, this
commit fixes it.
2018-09-25 11:46:39 +08:00
Chocobo1
3e6c8a05dd
Reduce queries to python version
...
Instead of doing at least 2 queries for python infos, now requires only
1 query (in ideal condition), and the result is cached.
2018-06-24 19:41:44 +08:00
Chocobo1
51e82762c5
Move related functions to Utils::Python
2018-06-24 06:21:15 +08:00