Commit 03680fee authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Comment out attempt to fix windows python's env vars

parent dff32d8e
Pipeline #52420 canceled with stage
...@@ -783,6 +783,7 @@ void TextBasedEdit::startRecognition() ...@@ -783,6 +783,7 @@ void TextBasedEdit::startRecognition()
} }
m_speechJob.reset(new QProcess(this)); m_speechJob.reset(new QProcess(this));
/*
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
QDir pythonDir(QFileInfo(pyExec).absolutePath()); QDir pythonDir(QFileInfo(pyExec).absolutePath());
...@@ -791,6 +792,7 @@ void TextBasedEdit::startRecognition() ...@@ -791,6 +792,7 @@ void TextBasedEdit::startRecognition()
env.insert("PYTHONPATH", pythonDir.absolutePath()); env.insert("PYTHONPATH", pythonDir.absolutePath());
m_speechJob->setProcessEnvironment(env); m_speechJob->setProcessEnvironment(env);
#endif #endif
*/
showMessage(i18n("Starting speech recognition"), KMessageWidget::Information); showMessage(i18n("Starting speech recognition"), KMessageWidget::Information);
qApp->processEvents(); qApp->processEvents();
QString modelDirectory = KdenliveSettings::vosk_folder_path(); QString modelDirectory = KdenliveSettings::vosk_folder_path();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment