Replance Q_OS_MAC Deprecated by Q_OS_MACOS

This commit is contained in:
Laurent Trinques
2019-09-08 18:29:29 +02:00
parent 83eba80445
commit a0a7513847
13 changed files with 19 additions and 19 deletions

View File

@@ -2210,7 +2210,7 @@ void QETDiagramEditor::generateTerminalBlock()
//connect(process, SIGNAL(errorOcurred(int error)), this, SLOT(slot_generateTerminalBlock_error()));
//process->start("qet_tb_generator");
#ifdef Q_OS_MAC
#ifdef Q_OS_MACOS
if (openedProjects().count()){
success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.5/bin/qet_tb_generator", {(QETDiagramEditor::currentProjectView()->project()->filePath())});
}