[CentOS] vanilla kernel configuration :: xconfig --> qt errors

Thu Feb 17 13:15:10 UTC 2011
Athmane Madjoudj <athmanem at gmail.com>

On 02/17/2011 01:26 PM, Adrian Sevcenco wrote:
> Hi! It seems that i made some changes that make xconfig to not work ..
> the problem is that not matter what QTDIR i select i receive the same
> errors that start with :
> adrian at sevcenco: linux-2.6.37 $ make O=/home/adrian/kernel/kernel_out
> xconfig
>    GEN     /home/adrian/kernel/kernel_out/Makefile
>    HOSTCXX scripts/kconfig/qconf.o
> /usr/lib64/qt4/include/Qt3Support/q3toolbar.h:45: error:
> 'Qt::ToolBarDock' has not been declared
> /usr/lib64/qt4/include/Qt3Support/q3toolbar.h:45: error: 'DockTop' is
> not a member of 'Qt'
> /usr/lib64/qt4/include/Qt3Support/q3mainwindow.h:71: error: 'Qt::Dock'
> has not been declared
>
> i have this script for QT :
> ## QTDIR=/usr/lib64/qt4
> QTDIR=/usr/lib64/qt-3.3
>
> export QTDIR
> export QTINC=$QTDIR/include
> export QTLIB=$QTDIR/lib
>
> export PATH=$PATH:$QTDIR/bin
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTLIB
>
> no matter of what qt i choose i have the same errors
> anyone has an idea about what the problem can be?
>
> Thanks!
> Adrian
>
>

Try "make gconfig" the GTK version of "make xconfig", you need 
"gtk2-devel" and "libglade2-devel"

HTH
-- 
Athmane Madjoudj