From 5c75bc4194a9f353ee08f682b29586ebab7240e1 Mon Sep 17 00:00:00 2001 From: Laurent Trinques Date: Fri, 30 Apr 2021 11:34:32 +0200 Subject: [PATCH] OSX update qet_tb_generator PATH to python 3.9 --- sources/qetdiagrameditor.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sources/qetdiagrameditor.cpp b/sources/qetdiagrameditor.cpp index 22916b1f1..2ba94bb3c 100644 --- a/sources/qetdiagrameditor.cpp +++ b/sources/qetdiagrameditor.cpp @@ -2341,10 +2341,10 @@ void QETDiagramEditor::generateTerminalBlock() #elif defined(Q_OS_MAC) if (openedProjects().count()){ - success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator", {(QETDiagramEditor::currentProjectView()->project()->filePath())}); + success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.9/bin/qet_tb_generator", {(QETDiagramEditor::currentProjectView()->project()->filePath())}); } else { - success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator", {("")}); + success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.9/bin/qet_tb_generator", {("")}); } if (openedProjects().count()){ success = process->startDetached(QDir::homePath() + "/.qet/qet_tb_generator.app", {(QETDiagramEditor::currentProjectView()->project()->filePath())}); @@ -2395,7 +2395,8 @@ void QETDiagramEditor::generateTerminalBlock() "
" "qet-tb-generator" "
First install on macOSX" - "
1. Install, if required, python 3.8 bundle only, " + "
1. Install, if required, python 3.9 bundle only, " + "
2 Run Profile.command script" "because program use hardcoded PATH for localise qet-tb-generator plugin " "
Visit :" "
"