mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
OSX update qet_tb_generator PATH to python 3.9
This commit is contained in:
parent
760a1f6c43
commit
5c75bc4194
@ -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()
|
||||
"<br>"
|
||||
"<a href='https://pypi.python.org/pypi/qet-tb-generator'>qet-tb-generator</a>"
|
||||
"<br><B><U> First install on macOSX</B></U>"
|
||||
"<br>1. Install, if required, python 3.8 bundle only, "
|
||||
"<br>1. Install, if required, python 3.9 bundle only, "
|
||||
"<br>2 Run Profile.command script"
|
||||
"because program use hardcoded PATH for localise qet-tb-generator plugin "
|
||||
"<br> Visit :"
|
||||
"<br>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user