Error compiling telepathy-chat-handler QTabBar* QTabWidget::tabBar() const is protected / Furkan T.

Furkan Tufekci furkan._t at hotmail.com
Sat Mar 5 00:27:47 CET 2011


Hi,

Can somebody help me compile telepathy-chat-handler. When I try to 
compile it, I get this error:

[ 0%] Built target ktelepathy_chat_lib_automoc
[ 48%] Built target ktelepathy_chat_lib
[ 48%] Built target telepathy-chat-handler_automoc
[ 51%] Building CXX object 
app/CMakeFiles/telepathy-chat-handler.dir/chatwindow.o
/usr/include/qt4/QtGui/qtabwidget.h: In constructor 
‘ChatWindow::ChatWindow()’:
/usr/include/qt4/QtGui/qtabwidget.h:167: error: ‘QTabBar* 
QTabWidget::tabBar() const’ is protected
/home/kdedev/Dev/Telepathy/telepathy-chat-handler/app/chatwindow.cpp:52: 
error: within this context
make[2]: *** [app/CMakeFiles/telepathy-chat-handler.dir/chatwindow.o] 
Error 1
make[1]: *** [app/CMakeFiles/telepathy-chat-handler.dir/all] Error 2
make: *** [all] Error 2

 From what I understand, I've a problem with the Qt library, but I'm not 
able to fix it.

Thanks in advance.


More information about the KDE-Telepathy mailing list