[kde-solaris] Missing function, PM_MenuBarItemSpacing
Chad Schrock
chad at radix.net
Mon Feb 16 21:28:55 CET 2004
Hi,
I just started building KDE 3.2 for my system (Solaris 9/sparc)
and quickly ran into a problem in kdelibs. :-(
The error:
if /bin/bash ../libtool --silent --mode=compile --tag=CXX g++ \
-R/opt/SUNWspro/lib -R/usr/local/lib -R/usr/lib -R/usr/sfw/lib \
-R/usr/local/kde-3.2/lib -mtune=ultrasparc -mv8 -DHAVE_CONFIG_H \
-I. -I. -I.. -I../dcop -I../kio/kssl -I../dcop -I../libltdl \
-I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio \
-I../kio/kfile -I.. -I/usr/local/kde-3.2/include \
-I/usr/local/kde-3.2/include -DQT_THREAD_SUPPORT \
-I/usr/local/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS \
-DUSE_SOLARIS -DSVR4 -Wnon-virtual-dtor -Wno-long-long -Wundef \
-Wall -W -Wpointer-arith -Wwrite-strings -O2 \
-I/usr/local/include -fno-exceptions -fno-check-new -fno-common \
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL \
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kstyle.lo -MD -MP -MF \
".deps/kstyle.Tpo" \
-c -o kstyle.lo `test -f 'kstyle.cpp' || echo './'`kstyle.cpp; \
then mv -f ".deps/kstyle.Tpo" ".deps/kstyle.Plo"; \
else rm -f ".deps/kstyle.Tpo"; exit 1; \
fi
kstyle.cpp: In member function `virtual int
KStyle::pixelMetric(QStyle::PixelMetric, const QWidget*) const':
kstyle.cpp:975: error: `PM_MenuBarItemSpacing' undeclared (first use
this function)
kstyle.cpp:975: error: (Each undeclared identifier is reported only
once for each function it appears in.)
kstyle.cpp:978: error: `PM_ToolBarItemSpacing' undeclared (first use
this function)
make: *** [kstyle.lo] Error 1
In kstyle.cpp, the section that is causing the problem:
#if QT_VERSION >= 0x030300
case PM_MenuBarItemSpacing:
return 3;
case PM_ToolBarItemSpacing:
return 0;
#endif
Other details:
gcc -> 3.3.2
QT -> qt-x11-free-3.3.0b1
I've looked through all of the files that come with QT, KDE, and
on the system but only found the reference to function in
kstyle.cpp.
Any ideas of suggestions?
Thanks,
chad
--
chad at radix dot net
More information about the kde-solaris
mailing list