Am 07.04.2011 um 19:46 schrieb Richard Heck: > On 04/07/2011 11:44 AM, Junchao Zhang wrote: >> On a Centos 5.5 x86_64 system, use gcc 4.3.2. When I type make, I get: >> >> /usr/lib64/qt4/include/QtGui/qimage.h:56: warning: suggest parentheses >> around && within || >> GuiSpellchecker.cpp: At global scope: >> GuiSpellchecker.cpp:73: error: 'Ui' has not been declared >> GuiSpellchecker.cpp:73: error: ISO C++ forbids declaration of >> 'SpellcheckerUi' with no type >> GuiSpellchecker.cpp:73: error: expected ';' before 'ui' >> > What Qt version?
I'm having a CentOS 5.5 here. $ rpm -q -a | grep -i qt PyQt-3.16-4 qt-3.3.6-23.el5 $ I installed the Gnome desktop only... don't know if this caused it - but *that* seems a little bit outdated :( $ gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) Not really better... Stephan