- Index
- » Users
- » samzyshan
- » Profile
Posts
Posts
Thanks for your help. I got it compiled.
Hi all,
I am compiling OpenModelica1.7 on my Fedora 10 x86-64 server. I have a problem with Qt library...
The error message is
mainwindow.h:51:6: error: #error "OMEdit requires Qt 4.6.0 or newer"
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/sam/OPENMODELICA_1_7_0_RC1/OMEdit/OMEditGUI'
make[1]: *** [OMEdit] Error 2
make[1]: Leaving directory `/home/sam/OPENMODELICA_1_7_0_RC1/OMEdit/OMEditGUI'
make: *** [omedit] Error 2
I understand OMEdit requires Qt4.6 or newer. The default Qt library version on my server is 4.5 and i am NOT able to upgrade to a new version by using default update. Then I download Qt4.7 source from http://trolltech.com and install onto my server. say. /usr/local/Qt4.7 ..the system default Qt library is in /usr/include/
When i compiling OpenModelica1.7, the compiler always use the system default Qt library and give me this error. My question is How do i tell the compiler to use my newly installed Qt library ?
I notice there is configure parameter called -with-sendData-Qt, ...
I have tried to configure with command: ./configure --with-sendData-Qt, but it does not help..
any suggestions ?
- Index
- » Users
- » samzyshan
- » Profile