a first ugly solution to get musrWiz and musrStep started under macos. Definitely will need some improvements.
This commit is contained in:
parent
bfe501f6f2
commit
b76d88cb2a
@ -1829,6 +1829,9 @@ void PTextEdit::textSize( const QString &p )
|
|||||||
void PTextEdit::musrWiz()
|
void PTextEdit::musrWiz()
|
||||||
{
|
{
|
||||||
QString cmd = fAdmin->getExecPath() + "/musrWiz";
|
QString cmd = fAdmin->getExecPath() + "/musrWiz";
|
||||||
|
#if defined(Q_OS_DARWIN) || defined(Q_OS_MAC)
|
||||||
|
cmd = QString("/Applications/musrWiz.app/Contents/MacOS/musrWiz");
|
||||||
|
#endif
|
||||||
QString workDir = "./"; // think about it!!
|
QString workDir = "./"; // think about it!!
|
||||||
QStringList arg;
|
QStringList arg;
|
||||||
arg << "--log";
|
arg << "--log";
|
||||||
@ -2533,6 +2536,9 @@ void PTextEdit::musrSetSteps()
|
|||||||
|
|
||||||
// fill the command queue
|
// fill the command queue
|
||||||
QString cmd = fAdmin->getExecPath() + "/musrStep";
|
QString cmd = fAdmin->getExecPath() + "/musrStep";
|
||||||
|
#if defined(Q_OS_DARWIN) || defined(Q_OS_MAC)
|
||||||
|
cmd = QString("/Applications/musrStep.app/Contents/MacOS/musrStep");
|
||||||
|
#endif
|
||||||
QString workDir = QFileInfo(*fFilenames.find( currentEditor() )).absolutePath();
|
QString workDir = QFileInfo(*fFilenames.find( currentEditor() )).absolutePath();
|
||||||
QStringList arg;
|
QStringList arg;
|
||||||
QString str;
|
QString str;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user