|
1 | | -/* |
2 | | - * RCS: $Id$ |
3 | | - */ |
4 | | - |
5 | | -2011-02-16 [adeel.asghar@liu.se] |
6 | | ------------------------------- |
7 | | -
|
8 | | -Windows |
9 | | ------------------------------- |
10 | | -
|
11 | | -OMEdit uses Qt 4.8.0 |
12 | | ------------------------------- |
13 | | -- Download the Qt SDK for windows from http://qt.nokia.com/downloads. |
14 | | -- Qt 4.8.0 comes with MSVC tool chain by-default. Make sure you install the MINGW tool chain also. Use the MINGW tool chain while compiling OMEdit. |
15 | | -- If you don't have OMDev then download it from the svn repository here https://openmodelica.ida.liu.se/svn/OpenModelica/installers/windows/OMDev. |
16 | | -- Download OMDev in c:\OMDev. Set the environment variable OMDEV which points to c:\OMDev. |
17 | | -
|
18 | | -Generate the Stub files |
19 | | ------------------------------- |
20 | | -- Goto /trunk/Compiler/runtime and execute command "c:\OMDev\lib\omniORB-4.1.4-mingw\bin\x86_win32\omniidl -bcxx -Wbh=.h -Wbs=.cc omc_communication.idl" |
21 | | -- It will generate files omc_communication.cc and omc_communication.h. Copy these files to /trunk/OMEdit/OMEditGUI. |
22 | | -
|
23 | | -Build & Run |
24 | | ------------------------------- |
25 | | -- Load the file OMEditGUI.pro in Qt Creator IDE. Qt Creator is included in Qt SDK. |
26 | | -- Build and run the project. |
27 | | -- Copy omniORB414_rt.dll, omniORB414_rtd.dll, omnithread34_rt.dll and omnithread34_rtd.dll from c:/OMDev/omniORB-4.1.4-mingw/bin/x86_win32 to /location-where-OMEdit.exe-is-created. |
28 | | -- Copy qwt5.dll and qwtd5.dll from c:/OMDev/qwt-5.2.1-mingw/lib to /location-where-OMEdit.exe-is-created. |
29 | | -
|
30 | | ------------------------------- |
31 | | -Adeel. |
| 1 | +/* |
| 2 | + * RCS: $Id$ |
| 3 | + */ |
| 4 | + |
| 5 | +2011-02-16 [adeel.asghar@liu.se] |
| 6 | +------------------------------ |
| 7 | + |
| 8 | +Windows |
| 9 | +------------------------------ |
| 10 | + |
| 11 | +OMEdit uses Qt 4.8.0 |
| 12 | +------------------------------ |
| 13 | +- Download the Qt SDK for windows from http://qt.nokia.com/downloads. |
| 14 | +- Qt 4.8.0 comes with MSVC tool chain by-default. Make sure you install the MINGW tool chain also. Use the MINGW tool chain while compiling OMEdit. |
| 15 | +- If you don't have OMDev then download it from the svn repository here https://openmodelica.ida.liu.se/svn/OpenModelica/installers/windows/OMDev. |
| 16 | +- Download OMDev in c:\OMDev. Set the environment variable OMDEV which points to c:\OMDev. |
| 17 | + |
| 18 | +Generate the Stub files |
| 19 | +------------------------------ |
| 20 | +- Goto /trunk/Compiler/runtime and execute command "c:\OMDev\lib\omniORB-4.1.4-mingw\bin\x86_win32\omniidl -bcxx -Wbh=.h -Wbs=.cc omc_communication.idl" |
| 21 | +- It will generate files omc_communication.cc and omc_communication.h. Copy these files to /trunk/OMEdit/OMEditGUI. |
| 22 | + |
| 23 | +Build & Run |
| 24 | +------------------------------ |
| 25 | +- Load the file OMEditGUI.pro in Qt Creator IDE. Qt Creator is included in Qt SDK. |
| 26 | +- Build and run the project. |
| 27 | +- Copy omniORB414_rt.dll, omniORB414_rtd.dll, omnithread34_rt.dll and omnithread34_rtd.dll from c:/OMDev/omniORB-4.1.4-mingw/bin/x86_win32 to /location-where-OMEdit.exe-is-created. |
| 28 | +- Copy qwt5.dll and qwtd5.dll from c:/OMDev/qwt-5.2.1-mingw/lib to /location-where-OMEdit.exe-is-created. |
| 29 | + |
| 30 | +------------------------------ |
| 31 | +Adeel. |
32 | 32 | adeel.asghar@liu.se |
0 commit comments