Hi all,<br>
<br>
I am new in QT, i would like to compile Qtopia in my desktop PC for PDA board simulator. I follow these steps:<br>
1. tar the TynuxToolChain.tgz in /usr/local/Tynux<br>
2. setting PATH for TynuxToolChain, and run simple "helloword"
application with arm-linux-gcc, and it can run in my PDA board simulator<br>
3. rpm -UVH qtopia-free-1.5.0-1.i386.rpm <br>
4. Setting env as follow:<br>
- QTDIR=/opt/Qtopia<br>
- TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-x86-g++<br>
- LD_LIBRARY_PATH=/opt/Qtopia/lib<br>
- PATH =/usr/Qtopia/bin<br>
- QPDIR=/opt/Qtopia<br>
5. I try to compile the application /opt/Qtopia/example by following this step<br>
- tmake -o Makefile <a href="http://example.pro">example.pro</a><br>
- make<br>
6. and come the huge error <br clear="all">
<p class="MsoNormal">moc_example.o:(.rodata._ZTV7Example[vtable for
Example]+0x160): undefined reference to `QWidget::paletteChange(QPalette
const&)'</p>
<p class="MsoNormal">moc_example.o:(.rodata._ZTV7Example[vtable for
Example]+0x164): undefined reference to `QWidget::fontChange(QFont const&)'</p>
.....<br>
<br>I am using Ubuntu, if i use #gcc -v --> gcc version 4.2.3, i use #arm-linux-gcc -v --> 2.95.3<br><br>
is my steps incorrect?? ( i am using ubuntu)<br>-- <br><br>