Main: Replace uses of Py_GetPath()
Deprecated in Python 3.13
This commit is contained in:
@@ -266,7 +266,7 @@ int main(int argc, char** argv)
|
||||
"Python version information:\n%4\n")
|
||||
.arg(appName,
|
||||
QString::fromUtf8(e.what()),
|
||||
QString::fromUtf8(Py_EncodeLocale(Py_GetPath(), nullptr)),
|
||||
QString::fromStdString(Base::Interpreter().getPythonPath()),
|
||||
QString::fromLatin1(Py_GetVersion()));
|
||||
const char* pythonhome = getenv("PYTHONHOME");
|
||||
if (pythonhome) {
|
||||
|
||||
Reference in New Issue
Block a user