mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 22:00:35 +01:00
Q_OS_MACOS need now Python framework Versions 3.8 for launching
qet_tb_generator plugin
This commit is contained in:
@@ -2236,10 +2236,10 @@ void QETDiagramEditor::generateTerminalBlock()
|
|||||||
|
|
||||||
#ifdef Q_OS_MACOS
|
#ifdef Q_OS_MACOS
|
||||||
if (openedProjects().count()){
|
if (openedProjects().count()){
|
||||||
success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.5/bin/qet_tb_generator", {(QETDiagramEditor::currentProjectView()->project()->filePath())});
|
success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator", {(QETDiagramEditor::currentProjectView()->project()->filePath())});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.5/bin/qet_tb_generator");
|
success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator");
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (openedProjects().count()){
|
if (openedProjects().count()){
|
||||||
@@ -2300,7 +2300,7 @@ void QETDiagramEditor::generateTerminalBlock()
|
|||||||
" First install on macOSX"
|
" First install on macOSX"
|
||||||
"</B>""</U>"
|
"</B>""</U>"
|
||||||
"<br>"
|
"<br>"
|
||||||
"1. Install, if required, python 3.5 "
|
"1. Install, if required, python 3.8 "
|
||||||
"<br>"
|
"<br>"
|
||||||
" Visit :"
|
" Visit :"
|
||||||
"<br>"
|
"<br>"
|
||||||
|
|||||||
Reference in New Issue
Block a user