Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
03680fee
Commit
03680fee
authored
Feb 27, 2021
by
Jean-Baptiste Mardelle
Browse files
Comment out attempt to fix windows python's env vars
parent
dff32d8e
Pipeline
#52420
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/textbasededit.cpp
View file @
03680fee
...
...
@@ -783,6 +783,7 @@ void TextBasedEdit::startRecognition()
}
m_speechJob
.
reset
(
new
QProcess
(
this
));
/*
#ifdef Q_OS_WIN
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
QDir pythonDir(QFileInfo(pyExec).absolutePath());
...
...
@@ -791,6 +792,7 @@ void TextBasedEdit::startRecognition()
env.insert("PYTHONPATH", pythonDir.absolutePath());
m_speechJob->setProcessEnvironment(env);
#endif
*/
showMessage
(
i18n
(
"Starting speech recognition"
),
KMessageWidget
::
Information
);
qApp
->
processEvents
();
QString
modelDirectory
=
KdenliveSettings
::
vosk_folder_path
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment