Hello there.
I'm trying to build QWT library, and while compiling I get some ridiculous compilation errors, like . For exapmle,
qwt_legend.cpp:226: error: 'class QWidget' has no member named 'layout'
qwt_legend.cpp: In member function 'void QwtLegend::setMaxColumns(uint)'
Looking into source I saw some strange expression on 226 line of this file:
Qt Code:
void layoutContents() { contentsWidget->layout() );To copy to clipboard, switch view to plain text mode
Here contentsWidget has type of QWidget*. So, it really has no member function layout(). So, I don't know what to think. Even more, in whole project I have found no object having such a function. Isn't it a bit weird? I'm totally sure I don't understand something simple, but I really can't understand what is it exactly.
Bookmarks