[Bug 157888] containment.cpp:121 Error 'NoCache' and 'setCacheMode' was not declared in this scope

James Richard Tyrer tyrerj at acm.org
Sun Feb 17 17:54:08 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=157888         




------- Additional Comments From tyrerj acm org  2008-02-17 17:54 -------
It is unfortunate that Andreas Pakulat fails to understand the issues.  We shouldn't look for excuses to close bugs, we should fix them.

While I am not sure that the error message:

[ 45%] Building CXX object workspace/libs/plasma/CMakeFiles/plasma.dir/containment.o
/usr/SVN/trunk/KDE/kdebase/workspace/libs/plasma/containment.cpp: In member function 'virtual void Plasma::Containment::init()':
/usr/SVN/trunk/KDE/kdebase/workspace/libs/plasma/containment.cpp:121: error: 'NoCache' was not declared in this scope
/usr/SVN/trunk/KDE/kdebase/workspace/libs/plasma/containment.cpp:121: error: 'setCacheMode' was not declared in this scope
make[2]: *** [workspace/libs/plasma/CMakeFiles/plasma.dir/containment.o] Error 1
make[1]: *** [workspace/libs/plasma/CMakeFiles/plasma.dir/all] Error 2
make: *** [all] Error 2

Is due to the fact that the reporter didn't have Qt-4.4 installed (actually a pre-release of it since it has not been released).  Consulting the Qt dox for 4.3 seems to indicate that it isn't (or shouldn't be) the problem.

The point is that if Qt-4.4 is required, this error would NOT occur if the CMake scripts checked for a Qt version >= to 4.4.0.  Therefore, that is the problem -- the problems is with the CMake scripts.  This would actually fix this bug.  The user could no longer get this mysterious error message but rather would get a clear error message stating that Qt-4.4.0 was needed.

To put this generally, if we can determine the problem from a reporter's bug report then we should fix it.  We shouldn't use the fact that the reporter's report isn't exactly correct as a lame excuse to close the bug.  This is both unprofessional and nonproductive (and it sucks).

Also note that the README is wrong.  For KDELibs, it says:

If configure claims Qt cannot be found, have a look at
ftp://ftp.trolltech.com and download the latest Qt 4.x.x release, at least Qt 4.3.0.

Quality management is seriously lacking.


More information about the Panel-devel mailing list