Image 01
profile-image

GvM

Giovanni Mariani Milano, Italy
QuadKonsole4

System Software 34 comments

by kbo
Score 76.7%
Nov 13 2011
@kbo
> Unfortunately there are 2 features that require a newer KDE release.
> I will try to change both, so QuadKonsole4 will work on older KDE releases, too.
That indeed would be the best thing...
However, I was not arguing against your implementation choice: in principle, if you really need the new classes, you can also decide to break the compatibility with rather old KDE versions (4.5.x is two release old now... but is still used in not-so-old distros).
My point is simply that, in that case, you should prominently tell the thing to the user of your source files or, at least, indicate - if possible - how to make the new source compatible with older kdelibs (a build time switch?...). - Aug 18 2011
Hi.
I'm trying to build qaudkonsole4 0.4 on a Mandriva 2010.2 x86_64 box
(it has actually KDE 4.5.5 and QT 4.7.3 installed),
but the build fails with these errors:
********************
Building CXX object src/CMakeFiles/quadkonsole4.dir/settings.o
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/src/prefsviews.cpp:24:31: error: KDE/KEditListWidget: No such file or directory
In file included from /home/giovanni/rpm/BUILD/quadkonsole4-0.4/src/prefsviews.cpp:33:
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/build/src/ui_prefs_views.h:26:29: error: keditlistwidget.h: No such file or directory
In file included from /home/giovanni/rpm/BUILD/quadkonsole4-0.4/src/prefsviews.cpp:33:
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/build/src/ui_prefs_views.h: In member function ‘void Ui_prefs_views::setupUi(QWidget*)’:
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/build/src/ui_prefs_views.h:47: error: invalid use of incomplete type ‘struct KEditListWidget’
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/src/prefsviews.h:27: error: forward declaration of ‘struct KEditListWidget’
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/build/src/ui_prefs_views.h:48: error: invalid use of incomplete type ‘struct KEditListWidget’
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/src/prefsviews.h:27: error: forward declaration of ‘struct KEditListWidget’
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/build/src/ui_prefs_views.h:50: error: no matching function for call to ‘QGridLayout::addWidget(KEditListWidget*&, int, int, int, int)’
/usr/lib/qt4/include/QtGui/qgridlayout.h:116: note: candidates are: void QGridLayout::addWidget(QWidget*)
/usr/lib/qt4/include/QtGui/qgridlayout.h:117: note: void QGridLayout::addWidget(QWidget*, int, int, Qt::Alignment)
/usr/lib/qt4/include/QtGui/qgridlayout.h:118: note: void QGridLayout::addWidget(QWidget*, int, int, int, int, Qt::Alignment)
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/src/prefsviews.cpp: In constructor ‘PrefsViews::PrefsViews(QWidget*, Qt::WindowFlags)’:
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/src/prefsviews.cpp:42: error: incomplete type ‘KEditListWidget’ used in nested name specifier
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/src/prefsviews.cpp:42: error: expected ‘;’ before ‘editor’
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/src/prefsviews.cpp:43: error: ‘editor’ was not declared in this scope
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/src/prefsviews.cpp:50: error: invalid use of incomplete type ‘struct KEditListWidget’
/home/giovanni/rpm/BUILD/quadkonsole4-0.4/src/prefsviews.h:27: error: forward declaration of ‘struct KEditListWidget’
************************************************
From the above error log, the culprit seems to be the KEditListWidget (keditlistwidget.h):
AFAIK it is a class present only in KDE 4.6 and later, so by using it you made
quadkonsole4 0.4 unbuildable on any KDE < 4.6.0...
A such change, if really intended, should be more prominently advertised.
- Aug 17 2011
MIB Ossigeno

Icon Themes
by symbianflo

Score 56.7%
9   Oct 10 2010
Score 68.3%
9   Oct 10 2010