Hi, I'm new to the list.

I have a quick question,

Is anybody else having any problems compiling Toolbox and/or bbpal
in Redhat 7? I get this error when trying to compile Toolbox:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-2.2.1/include
-I/usr/X11R6/include    -O2 -c toolbox.cc
toolbox.cc: In method `Toolbox::Toolbox (QWidget *, const char *)':
toolbox.cc:108: request for member `getStyleName' in
`this->QWidget::style', which is of non-aggregate type `{unknown type}'
toolbox.cc:111: ISO C++ forbids taking the address of a non-static
member function to form a pointer to member function.  Say
`&Toolbox::style'
toolbox.cc:112: no matching function for call to `Toolbox::connect
(QStyle &(QWidget::*) () const, const char[29], FrameStack *&, const
char[21])'
/usr/lib/qt-2.2.1/include/qobject.h:110: candidates are: static bool
QObject::connect (const QObject *,
const char *, const QObject *, const char *)
/usr/lib/qt-2.2.1/include/qobject.h:210:                 bool
QObject::connect (const QObject *, const
char *, const char *) const
make[2]: *** [toolbox.o] Error 1

I don't know if it is the new gcc or what.... Anybody have any ideas?

Thanks

Reply via email to