Commit cbfa4032 authored by Alexander Semke's avatar Alexander Semke
Browse files

Added the default path for Scilab on windows, too. For other systems the

path will be adjusted accordingly soon one we can compile the plugins
via Craft on windows.
parent 647dc481
Pipeline #62855 passed with stage
in 25 minutes and 10 seconds
...@@ -7,8 +7,16 @@ ...@@ -7,8 +7,16 @@
<kcfgfile name="cantorrc"/> <kcfgfile name="cantorrc"/>
<group name="ScilabBackend"> <group name="ScilabBackend">
<entry name="Path" type="Url"> <entry name="Path" type="Url">
<label>Path to scilab-adv-cli command (Warning: Scilab version must better or equal than 5.4 version)</label> <label>Path to the Scilab executable</label>
<default code="true">QUrl::fromLocalFile(QStandardPaths::findExecutable( QLatin1String("scilab-adv-cli") ))</default> <default code="true">
[this] {
#ifdef Q_OS_WIN
return QUrl::fromLocalFile(QStandardPaths::findExecutable( QLatin1String("WScilex-cli.exe") ));
#else
return QUrl::fromLocalFile(QStandardPaths::findExecutable( QLatin1String("scilab-adv-cli") ));
#endif
} ()
</default>
</entry> </entry>
<entry name="integratePlots" type="Bool"> <entry name="integratePlots" type="Bool">
<label>Integrate Plots into the Worksheet</label> <label>Integrate Plots into the Worksheet</label>
......
Markdown is supported
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