[Kmymoney-devel] Error compiling latest svn
Michael Wolfe
wolfemi1 at gmail.com
Tue Jul 6 00:51:29 CEST 2010
All,
Sorry, but I still can't compile with the latest build, version 1146408.
Am I doing something wrong? Error follows:
In file included from
/home/wolfemi1/svn/kmymoney/kmymoney/views/kinvestmentview.cpp:45:
/home/wolfemi1/svn/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:40:
error: expected class-name before ‘,’ token
/home/wolfemi1/svn/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:
In constructor
‘KNewInvestmentWizardDecl::KNewInvestmentWizardDecl(QWidget*)’:
/home/wolfemi1/svn/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:43:
error: class ‘KNewInvestmentWizardDecl’ does not have any field named
‘QWizard’
/home/wolfemi1/svn/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:44:
error: no matching function for call to
‘KNewInvestmentWizardDecl::setupUi(KNewInvestmentWizardDecl* const)’
/home/wolfemi1/svn/kmymoney/build/kmymoney/dialogs/ui_knewinvestmentwizarddecl.h:90:
note: candidates are: void Ui_KNewInvestmentWizardDecl::setupUi(Q3Wizard*)
/home/wolfemi1/svn/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:
At global scope:
/home/wolfemi1/svn/kmymoney/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.h:48:
warning: ‘class KNewInvestmentWizard’ has virtual functions and
accessible non-virtual destructor
/home/wolfemi1/svn/kmymoney/kmymoney/views/kinvestmentview.cpp: In
member function ‘void KInvestmentView::slotEditSecurity()’:
/home/wolfemi1/svn/kmymoney/kmymoney/views/kinvestmentview.cpp:500:
error: ‘class KNewInvestmentWizard’ has no member named ‘setObjectName’
/home/wolfemi1/svn/kmymoney/kmymoney/views/kinvestmentview.cpp:501:
error: ‘class KNewInvestmentWizard’ has no member named ‘exec’
In file included from /usr/include/qt4/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 /home/wolfemi1/svn/kmymoney/kmymoney/views/kinvestmentview.h:31,
from /home/wolfemi1/svn/kmymoney/kmymoney/views/kinvestmentview.cpp:18:
/usr/include/qt4/QtCore/qpointer.h: In constructor
‘QPointer<T>::QPointer(T*) [with T = KNewInvestmentWizard]’:
/home/wolfemi1/svn/kmymoney/kmymoney/views/kinvestmentview.cpp:499:
instantiated from here
/usr/include/qt4/QtCore/qpointer.h:59: error: cannot convert
‘KNewInvestmentWizard*’ to ‘QObject*’ in initialization
/usr/include/qt4/QtCore/qpointer.h: In member function ‘T*
QPointer<T>::operator->() const [with T = KNewInvestmentWizard]’:
/home/wolfemi1/svn/kmymoney/kmymoney/views/kinvestmentview.cpp:500:
instantiated from here
/usr/include/qt4/QtCore/qpointer.h:74: error: invalid static_cast from
type ‘QObject*’ to type ‘KNewInvestmentWizard*’
/usr/include/qt4/QtCore/qpointer.h: In member function
‘QPointer<T>::operator T*() const [with T = KNewInvestmentWizard]’:
/home/wolfemi1/svn/kmymoney/kmymoney/views/kinvestmentview.cpp:517:
instantiated from here
/usr/include/qt4/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]:
More information about the KMyMoney-devel
mailing list