[KPhotoAlbum] Associating multiple tags with one area?

Tobias Leupold tobias.leupold at web.de
Sun Oct 12 01:44:44 CEST 2014


Hugues,

being too curious, I just tried your patch ;-) I think you didn't change the 
face management code with it. This is stripped out if libkface is not found (I 
think you don't have it, otherwise you would not be able to build it I think). 
Here's what I got:

/home/tobias/tmp/git/kphotoalbum/AnnotationDialog/ImagePreview.cpp: In member 
function 'void 
AnnotationDialog::ImagePreview::recognizeArea(AnnotationDialog::ResizableFrame*)':
/home/tobias/tmp/git/kphotoalbum/AnnotationDialog/ImagePreview.cpp:624:36: 
error: no match for 'operator==' in 
'AnnotationDialog::ResizableFrame::tagData() const() == proposedTagData'
/home/tobias/tmp/git/kphotoalbum/AnnotationDialog/ImagePreview.cpp:624:36: 
note: candidates are:
In file included from /usr/include/qt4/QtCore/qobject.h:50:0,
                 from /usr/include/qt4/QtGui/qwidget.h:47,
                 from /usr/include/qt4/QtGui/qrubberband.h:45,
                 from /usr/include/qt4/QtGui/QRubberBand:1,
                 from 
/home/tobias/tmp/git/kphotoalbum/AnnotationDialog/ImagePreview.cpp:19:
/usr/include/qt4/QtCore/qlist.h:736:27: note: bool QList<T>::operator==(const 
QList<T>&) const [with T = QPair<QString, QString>]
/usr/include/qt4/QtCore/qlist.h:736:27: note:   no known conversion for 
argument 1 from 'QPair<QString, QString>' to 'const QList<QPair<QString, 
QString> >&'

Could you update this code as well? Would be really kind :-) You need the 
current git master of libkface installed to build the current KPA git master 
code state (at the moment, there's no tagged release using the current API).


More information about the KPhotoAlbum mailing list