A Modelica connection editor for OpenModelica.
Follow the instructions matching your OS:
Compile OMEdit once using the build instructions above so all dependencies of OMEdit are ready. Then follow these steps,
- Load the
OMEdit.pro
file in Qt Creator. - Configure the project with the compiler you used to compile OMEdit earlier.
- Go to project build settings in Qt Creator. Add a custom build step to copy executable
OMEdit
fromOpenModelica/OMEdit/bin
toOpenModelica/build/bin
- Add the build environment variables
CXX
andOMBUILDDIR
.CXX
is only needed if your default isgcc
and you want to useclang
.OMBUILDDIR
should point toOpenModelica/build
. - Change the run settings to run the executable
OpenModelica/build/bin/OMEdit
instead ofOpenModelica/OMEdit/bin/OMEdit
. - Compile/debug OMEdit.
- 2 spaces not tab
- CamelCase except that first letter should be small.
- Member variables should start with
m
and member pointers should start withmp
. - Local pointers should start with
p
. - Use meaningful name for variables and functions.
- Submit bugs through the OpenModelica GitHub issues.
- Pull requests are welcome ❤️