[KDE/Mac] kdelibs kidletime errors

Kurt Hindenburg kurt.hindenburg at gmail.com
Mon Jul 27 17:00:14 CEST 2009


I can't get kdelibs from trunk to build lately:

/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.h:60:
Error: Class declarations lacks Q_OBJECT
macro.


automoc4: process for
/Volumes/Multimedia/KDE/builds/KDE/apple/trunk/kdelibs/kutils/macpoller.moc
failed: Unknown error

pid to wait for: 0


If I add the Q_OBJECT to to macpoller.h I get:

/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.cpp:
In static member function ‘static void
MacPoller::IdleTimerAction(__EventLoopTimer*, EventLoopIdleTimerMessage,
void*)’:

/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.cpp:91:
error: ‘class MacPoller’ has no member named
‘mSecondsIdle’


/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.cpp:
In member function ‘virtual bool
MacPoller::setUpPoller()’:


/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.cpp:130:
error: ‘mTimerRef’ was not declared in this
scope


/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.cpp:153:
error: ‘Private’ has not been
declared


/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.cpp:154:
error: ‘d’ was not declared in this
scope


/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.cpp:
At global scope:

/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.cpp:172:
error: prototype for ‘int MacPoller::poll()’ does not match any in class
‘MacPoller’


/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.h:51:
error: candidate is: void
MacPoller::poll()


/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.cpp:172:
error: ‘int MacPoller::poll()’ and ‘void MacPoller::poll()’ cannot be
overloaded


/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.cpp:
In member function ‘virtual int
MacPoller::forcePollRequest()’:


/Volumes/Multimedia/KDE/sources/svn/trunk/KDE/kdelibs/kutils/kidletime/macpoller.cpp:189:
error: void value not ignored as it ought to
be


make[2: *** [kutils/CMakeFiles/kutils.dir/kidletime/macpoller.o Error 1

  Kurt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-mac/attachments/20090727/56901a5d/attachment.htm 


More information about the kde-mac mailing list