[Uml-devel] Compilation error for Umbrello 1.2.1

tagrawal at hss.hns.com tagrawal at hss.hns.com
Sat May 15 03:27:01 UTC 2004





Hi,

I have downloaded the source package from the download site.
I have tried to compile this source code on PCQ Linux 2004 based on FEDORA
Core 1.

I have installed KDE 3.2.1 on top of the KD 3.2 already installed.

After successful configure, I did the "make"

   In file included from uml.cpp:1449:
   uml.moc: In member function `virtual bool UMLApp::qt_invoke(int, QUObject*)':
   uml.moc:247: error: `slotViewToolBar' undeclared (first use this function)
   uml.moc:247: error: (Each undeclared identifier is reported only once for each
      function it appears in.)
   uml.moc:248: error: `slotViewStatusBar' undeclared (first use this function)
   make[4]: *** [uml.o] Error 1
   make[4]: Leaving directory `/root/umbrello-1.2.1/umbrello/umbrello'
   make[3]: *** [all-recursive] Error 1
   make[3]: Leaving directory `/root/umbrello-1.2.1/umbrello/umbrello'
   make[2]: *** [all-recursive] Error 1
   make[2]: Leaving directory `/root/umbrello-1.2.1/umbrello'
   make[1]: *** [all-recursive] Error 1
   make[1]: Leaving directory `/root/umbrello-1.2.1'
   make: *** [all] Error 2

The above function "slotViewStatusBar" is declared in uml.h under the
   #if KDE_VERSION < 0x030190
           /**
            * Toggles the toolbar.
            */
           void slotViewToolBar();

           /**
            * Toggles the statusbar.
            */
           void slotViewStatusBar();
   #endif


However the same check of the KDE_VERSION is not done in the cpp file.

I have included the same check of KDE_VERSION and it has successfully compiled.


Is this okay ?
Where is the KDE_VERSION picked from, and why is this check required ?

Tanuj.


"DISCLAIMER: This message is proprietary to Hughes Software Systems Limited
(HSS) and is intended solely for the use of the individual to whom it is
addressed. It may contain  privileged or confidential information and
should not be circulated or used for any purpose other than for what it is
intended. If you have received this message in error, please notify the
originator immediately. If you are not the intended recipient, you are
notified that you are strictly prohibited from using, copying, altering, or
disclosing the contents of this message. HSS accepts no responsibility for
loss or damage arising from the use of the information transmitted by this
email including damage from virus."





More information about the umbrello-devel mailing list