[gobolinux-users] KSystemLog writing recipe...bootAuthenticationOptions.moc:12:2: error: #error "The header file 'bootAuthenticationOptions.h' doesn't include <QObject>."
Anshuman Aggarwal
anshuman at brillgene.com
Thu Jul 5 05:53:20 UTC 2007
KSystemLog is a great utility for viewing the log files, and it should
work with KDE...before I start digging into the source code to see
what's going on...
Has anyone seen this or similar error shown below with other KDE apps
when they were 'gobofied'? Any clues?
This program has a configure script and pretty much everything by the
book...sooo...
-------------------------------------
if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../ksystemlog/src
-I../../../ksystemlog/src/config -I/usr/local/include -I/usr/include
-I. -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 -O2 -O2 -march=i686 -fomit-frame-pointer -pipe
-Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -MT bootAuthenticationOptions.lo -MD -MP -MF
".deps/bootAuthenticationOptions.Tpo" \
-c -o bootAuthenticationOptions.lo `test -f
'bootAuthenticationOptions.cpp' || echo
'./'`bootAuthenticationOptions.cpp; \
then mv -f ".deps/bootAuthenticationOptions.Tpo"
".deps/bootAuthenticationOptions.Plo"; \
else rm -f ".deps/bootAuthenticationOptions.Tpo"; exit 1; \
fi
In file included from bootAuthenticationOptions.cpp:121:
bootAuthenticationOptions.moc:12:2: error: #error "The header file
'bootAuthenticationOptions.h' doesn't include <QObject>."
bootAuthenticationOptions.moc:45: error: 'const QMetaObject
BootAuthenticationOptions::staticMetaObject' is not a static member of
'class BootAuthenticationOptions'
bootAuthenticationOptions.moc:45: error: variable 'const QMetaObject
BootAuthenticationOptions::staticMetaObject' has initializer but
incomplete type
bootAuthenticationOptions.moc:50: error: prototype for 'const
QMetaObject* BootAuthenticationOptions::metaObject() const' does not
match any in class 'BootAuthenticationOptions'
bootAuthenticationOptions.h:38: error: candidate is: virtual
QMetaObject* BootAuthenticationOptions::metaObject() const
bootAuthenticationOptions.moc:50: error: 'const QMetaObject*
BootAuthenticationOptions::metaObject() const' cannot be overloaded
More information about the gobolinux-users
mailing list