[Uml-devel] [Bug 109115] New: Compile error in KDE 3.3.2 : main.cpp KWin::setMainWindow not defined
D.Anthony Robinson
anthony at chinstrap.homelinux.net
Thu Jul 14 22:33:14 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=109115
Summary: Compile error in KDE 3.3.2 : main.cpp
KWin::setMainWindow not defined
Product: umbrello
Version: unspecified
Platform: Mandriva RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: umbrello-devel.kde.org
ReportedBy: anthony chinstrap homelinux net
Version: 1.4.89 (from SVN) (using KDE KDE 3.3.2)
Installed from: Mandriva RPMs
Compiler: g++ 3.4.3 Mandrakelinux 10.2 3.4.3-7mdk
OS: Linux
Running KDE 3.3.2 and pulling the latest sources from SVN, I get the following error when running make (useless info cut):
main.cpp: In function `int main(int, char**)':
main.cpp:67: error: `setMainWindow' is not a member of `KWin'
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/anthony/sandbox/kde/kdesdk/umbrello/umbrello'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/anthony/sandbox/kde/kdesdk/umbrello/umbrello'
make: *** [all-recursive] Error 1
Some research in the KDE documentation indicates that the KWin::setMainWindow() method is present since version 3.4. The comparison in line 64 of main.cpp is:
#if KDE_IS_VERSION(3,2,90)
Changing this to:
#if KDE_IS_VERSION(3,3,90)
allows compilation to complete.
More information about the umbrello-devel
mailing list