PDA

View Full Version : qt-embedded-linux 4.4.3 compiling error



numen
4th March 2009, 06:10
compiling qt-embedded with arm-linux-g++ 4.0 on fedora 9 , the following is the compiling error:
but when i compiling on fedora 4 with the same version arm-linux-g++, there is no error at all.
embedded/qdecoration_qws.cpp: In static member function 'static void QDecoration::startMove(QWidget*)':
../../include/QtGui/../../src/gui/kernel/qwidget.h:139: error: 'QWidgetPrivate* QWidget::d_func()' is private
embedded/qdecoration_qws.cpp:371: error: within this context
embedded/qdecoration_qws.cpp:371: error: 'struct QTLWExtra' has no member named 'qwsManager'
embedded/qdecoration_qws.cpp: In static member function 'static void QDecoration::startResize(QWidget*)':
../../include/QtGui/../../src/gui/kernel/qwidget.h:139: error: 'QWidgetPrivate* QWidget::d_func()' is private
embedded/qdecoration_qws.cpp:388: error: within this context
embedded/qdecoration_qws.cpp:388: error: 'struct QTLWExtra' has no member named 'qwsManager'
make[1]: *** [.obj/release-shared-emb-arm/qdecoration_qws.o] 错误 1

numen
4th March 2009, 06:11
it seems that fuction d_func is a private slot,
but why works on fedora 4?

numen
6th March 2009, 16:32
this problem is resolved :
i uninstall the fedora 9 and install the debian lenny 5,then any problem is fixed!