- Index
- » Developer
- » OpenModelica development
- » Compile OMedit in QT
Compile OMedit in QT
- 278067605
- 28 Posts
Re: Compile OMedit in QT
You need to have bootstrapped omc, too. I guess the make target you were looking for is "all" (or "omc" before qt clients)
- sjoelund.se
- 1700 Posts
Re: Compile OMedit in QT
you mean I need to recompile OMC?
- 278067605
- 28 Posts
Re: Compile OMedit in QT
If it's missing the header, you didn't compile it or it failed halfway through and you need to restart.
- sjoelund.se
- 1700 Posts
- 278067605
- 28 Posts
Re: Compile OMedit in QT
- adrpo
- 885 Posts
Re: Compile OMedit in QT
Ok, thanks! I've solved it
- 278067605
- 28 Posts
Re: Compile OMedit in QT
I remember when I tried to compile OMEdit with qtcreator you need to set a lot of paths and stuff. Hopefully @adeas31 can answer this.
- adrpo
- 885 Posts
Re: Compile OMedit in QT
Yes, compiling OMEdit with QT is very troublesome, so I changed the code in QT and compiled with MSYS!
- 278067605
- 28 Posts
Re: Compile OMedit in QT
Recommended way is to compile in MSYS.
Which Qt creator you are using? The one that comes with OMDev?
Adeel.
- adeas
- 454 Posts
Re: Compile OMedit in QT
Yes, many errors occur during compilation, such as missing header files
- 278067605
- 28 Posts
Re: Compile OMedit in QT
Yes you need to set an environment in Qt creator.
I personally use Qt creator for debugging purposes. My process is following,
- Compile everything form msys first time. So all dependencies are compiled as well.
- Set the environment in Qt Creator
- Set the tool chain in Qt Creator.
- Compile from Qt creator again. Note that Qt creator will only compile OMEdit and not the dependencies.
Adeel.
- adeas
- 454 Posts
Re: Compile OMedit in QT
How do I set up if I want to compile OpenModelica in QT?
- 278067605
- 28 Posts
Re: Compile OMedit in QT
adeas wrote:
Yes you need to set an environment in Qt creator.
I personally use Qt creator for debugging purposes. My process is following,
- Compile everything form msys first time. So all dependencies are compiled as well.
- Set the environment in Qt Creator
- Set the tool chain in Qt Creator.
- Compile from Qt creator again. Note that Qt creator will only compile OMEdit and not the dependencies.
Adeel.
IF i want to use QT to debuger,what should i do in qt? I have someting wrong in QT
- 278067605
- 28 Posts
- adeas
- 454 Posts
- Index
- » Developer
- » OpenModelica development
- » Compile OMedit in QT