Skip to content

Commit

Permalink
- fixed the Linux part for the case there is no QTHOME defined
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@3060 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 16, 2008
1 parent 22e671d commit 6ffaebe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Compiler/runtime/systemimpl.c
Expand Up @@ -1587,8 +1587,11 @@ void System_5finit(void)
qthome = getenv("QTHOME");
if(qthome && strlen(qthome))
{
char senddatalibs[] = "SENDDATALIBS= -lsendData -lQtNetwork -lQtCore -lQtGui -luuid";
putenv(senddatalibs);
putenv("SENDDATALIBS=-lsendData -lQtNetwork -lQtCore -lQtGui -luuid");
}
else
{
putenv("SENDDATALIBS=-lsendData");
}
}

Expand Down Expand Up @@ -2654,6 +2657,7 @@ RML_BEGIN_LABEL(System__sendData)
/// emulateStreamData(data, 7778, "Plot by OpenModelica", "time", "", 1, 1, 0, 0, 0, 0, 0, 0, interpolation, 1);

// emulateStreamData(data, 7778, title, "time", "", legend, grid, 0, 0, 0, 0, logX, logY, interpolation, 1);
// emulateStreamData(data, title, xLabel, yLabel , interpolation, legend, grid, logX, logY, points, range);
emulateStreamData(data, 7778, title, xLabel, yLabel , interpolation, legend, grid, 0, 0, 0, 0, logX, logY, points, range);

// emulateStreamData(data, 7778, "Plot by OpenModelica", "time", "", 1, 1, 0, 0, 0, 0, 0, 0, "linear");
Expand Down

0 comments on commit 6ffaebe

Please sign in to comment.