[Bug 70808] Cannot compile lib/qmdiext/kmdidockwidget.h - missing kdockwidget_p.h

aaronw at net.com aaronw at net.com
Fri Feb 6 03:27:09 UTC 2004

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
aaronw at net.com changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |

------- Additional Comments From aaronw at net.com  2004-02-06 03:26 -------
The problem is back with kdevelop 3.0.0 compiled with KDE 3.2.0

make[3]: Entering directory `/var/tmp/kde/archive/3.2/kdevelop-3.0.0/lib/qextmdi'
if /bin/bash ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/qextmdi/res -I../../lib/structure -I/opt/kde3/3.2/include -I/opt/qt/qt-3.2.2/include   -I/opt/kdeshared/include  -DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT kmdichildfrm.lo -MD -MP -MF ".deps/kmdichildfrm.Tpo" \
  -c -o kmdichildfrm.lo `test -f 'kmdichildfrm.cpp' || echo './'`kmdichildfrm.cpp; \
then mv -f ".deps/kmdichildfrm.Tpo" ".deps/kmdichildfrm.Plo"; \
else rm -f ".deps/kmdichildfrm.Tpo"; exit 1; \
In file included from kmdimainfrm.h:50,
                 from kmdichildfrm.cpp:43:
kmdidockwidget.h:26:28: kdockwidget_p.h: No such file or directory
In file included from kmdimainfrm.h:50,
                 from kmdichildfrm.cpp:43:
kmdidockwidget.h:77: error: base class `KDockContainer' has incomplete type
kmdidockwidget.h: In constructor `
kmdidockwidget.h:79: error: type `struct KDockContainer' is not a direct base
   of `KMdiDockContainerBase'
make[3]: *** [kmdichildfrm.lo] Error 1
make[3]: Leaving directory `/var/tmp/kde/archive/3.2/kdevelop-3.0.0/lib/qextmdi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/kde/archive/3.2/kdevelop-3.0.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/kde/archive/3.2/kdevelop-3.0.0'
make: *** [all] Error 2

In kmdidockwidget.h I see:

#if defined(NO_KDE) || defined(OLDER_THAN_KDE_3_2)
# include "kdockwidget_compat.h"
# ifndef NO_KDE
#  include "dockmainwindow_compat.h"
# endif
using namespace KDockWidget_Compat;
# include <kdockwidget.h>
# include <kdockwidget_p.h>

kdockwidget_p.h is not installed and should not be included.

More information about the KDevelop-devel mailing list