[Kmymoney-devel] Error compiling latest svn
David Houlden
djhoulden at gmail.com
Sun Jul 4 13:33:18 CEST 2010
Hi,
I did an "svn up" on my source tree this morning and now I'm getting this
error when running make. The version is SVN 1145846.
Any suggestions?
Thanks,
Dave.
[ 65%] Building CXX object
kmymoney/views/CMakeFiles/views.dir/kinvestmentview.cpp.o
In file included
from /usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/views/kinvestmentview.cpp:45:
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:30:41:
error: ui_knewinvestmentwizarddecl.h: No such file or directory
In file included
from /usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/views/kinvestmentview.cpp:45:
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:40:
error: expected class-name before ',' token
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:41:
error: expected class-name before '{' token
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:
In
constructor 'KNewInvestmentWizardDecl::KNewInvestmentWizardDecl(QWidget*)':
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:43:
error: class 'KNewInvestmentWizardDecl' does not have any field
named 'QWizard'
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:44:
error: 'setupUi' was not declared in this scope
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:
At global scope:
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:48:
warning: 'class KNewInvestmentWizard' has virtual functions and accessible
non-virtual destructor
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/views/kinvestmentview.cpp:
In member function 'void KInvestmentView::slotEditSecurity()':
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/views/kinvestmentview.cpp:500:
error: 'class KNewInvestmentWizard' has no member named 'setObjectName'
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/views/kinvestmentview.cpp:501:
error: 'class KNewInvestmentWizard' has no member named 'exec'
In file included from /usr/lib/qt/include/QtCore/QPointer:1,
from /usr/include/kcompletion.h:32,
from /usr/include/klineedit.h:35,
from /usr/include/KDE/../ktreewidgetsearchline.h:24,
from /usr/include/KDE/KTreeWidgetSearchLineWidget:1,
from /usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/views/kinvestmentview.h:31,
from /usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/views/kinvestmentview.cpp:18:
/usr/lib/qt/include/QtCore/qpointer.h: In
constructor 'QPointer<T>::QPointer(T*) [with T = KNewInvestmentWizard]':
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/views/kinvestmentview.cpp:499:
instantiated from here
/usr/lib/qt/include/QtCore/qpointer.h:59: error: cannot
convert 'KNewInvestmentWizard*' to 'QObject*' in initialization
/usr/lib/qt/include/QtCore/qpointer.h: In member function 'T*
QPointer<T>::operator->() const [with T = KNewInvestmentWizard]':
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/views/kinvestmentview.cpp:500:
instantiated from here
/usr/lib/qt/include/QtCore/qpointer.h:74: error: invalid static_cast from
type 'QObject*' to type 'KNewInvestmentWizard*'
/usr/lib/qt/include/QtCore/qpointer.h: In member
function 'QPointer<T>::operator T*() const [with T =
KNewInvestmentWizard]':
/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/views/kinvestmentview.cpp:517:
instantiated from here
/usr/lib/qt/include/QtCore/qpointer.h:78: error: invalid static_cast from
type 'QObject*' to type 'KNewInvestmentWizard*'
make[2]: *** [kmymoney/views/CMakeFiles/views.dir/kinvestmentview.cpp.o]
Error 1
make[1]: *** [kmymoney/views/CMakeFiles/views.dir/all] Error 2
make: *** [all] Error 2
More information about the KMyMoney-devel
mailing list