[Qgis-developer] Error compiling from trunk - unknown QStyle::PE_PanelItemViewItem

Borys Jurgiel borys at wolf.most.org.pl
Tue Jul 15 18:13:54 EDT 2008


While compiling from trunk, I get the error:

qgis/src/gui/qgsdetaileditemdelegate.cpp:187: error: ‘PE_PanelItemViewItem’ is 
not a member of ‘QStyle

The QStyle::PE_PanelItemViewItem seems to be not implemented in my Qt 
(ver 4.3.2 @ Ubuntu 7.10). Also on http://doc.trolltech.com/4.4/qstyle.html 
there is a question mark instead value. 

After commenting the problem line:

QApplication::style()->drawPrimitive(QStyle::PE_PanelItemViewItem, &theOption, 
thepPainter, 0)

compilation runs successfully, but I get SegFault when attempt to run QGIS 
(maybe for another reason). 


B.


More information about the Qgis-developer mailing list