Bug 73565 - Errors compiling kdelibs with qt-3.3.0b1
Summary: Errors compiling kdelibs with qt-3.3.0b1
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-26 21:37 UTC by Arc C.
Modified: 2004-01-27 09:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arc C. 2004-01-26 21:37:04 UTC
Version:           kdelibs-3.1.95 (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
Compiler:          gcc version 3.3.2 Thread enabled, under Alpha Linux with glibc 2.3.3
OS:          Linux

When moved on to compile kdelibs (after success with arts), encountered this error:

/usr/local/qt/bin/moc ./kstyle.h -o kstyle.moc
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -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/qt/include -I/usr/X11R6/include -I/usr/kde_3.2rc1/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -fno-builtin -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -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)
/usr/local/qt/include/qmemarray.h: In member function `type&
   QMemArray<type>::operator[](int) const [with type = QPoint]':
kstyle.cpp:1158:   instantiated from here
/usr/local/qt/include/qmemarray.h:100: warning: cast from `char*' to `QPoint*'
   increases required alignment of target type
make[2]: *** [kstyle.lo] Error 1
make[2]: Leaving directory `/data/kde_3.2rc1/kdelibs-3.1.95/kdefx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/kde_3.2rc1/kdelibs-3.1.95'
make: *** [all] Error 2

/usr/local/qt is a symlink to /usr/local/qt-x11-free-3.3.0b1 which was compiled and installed yesterday. Pointing the link back to /usr/local/qt-x11-free-3.2.3 allows to move compilation of kdelibs pass this point.
Comment 1 Stephan Kulow 2004-01-27 09:25:58 UTC
yes, we do not support random Qt versions. We support qt-copy and the latest
stable qt (3.2.x)