blob: 7adcac82b8b0f8a1738388ecf0325adab4755788 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
- this patch works together with post-patch: %%LOCALBASE%% are substituted there
--- qucs/settings.cpp.orig 2025-09-06 14:06:28 UTC
+++ qucs/settings.cpp
@@ -62,7 +62,7 @@ void settingsManager::initDefaults()
#else
m_Defaults["NgspiceExecutable"] = "ngspice";
#ifndef Q_OS_MACOS
- m_Defaults["XyceExecutable"] = "/usr/local/Xyce-Release-6.8.0-OPENSOURCE/bin/Xyce";
+ m_Defaults["XyceExecutable"] = "%%LOCALBASE%%/bin/Xyce";
#else
m_Defaults["XyceExecutable"] = "Xyce";
#endif
@@ -70,7 +70,7 @@ void settingsManager::initDefaults()
m_Defaults["OctaveExecutable"] = "octave";
#endif
- m_Defaults["XyceParExecutable"] = "mpirun -np %p /usr/local/Xyce-Release-6.8.0-OPENMPI-OPENSOURCE/bin/Xyce";
+ m_Defaults["XyceParExecutable"] = "mpirun -np %p %%LOCALBASE%%/bin/Xyce";
m_Defaults["S4Q_workdir"] = QDir::toNativeSeparators(
QStandardPaths::writableLocation(QStandardPaths::CacheLocation)
+ "/qucs-s");
|