You use qt5 where qt4 is needs<div><br></div><div>Gilles caulier<br><br>Le mercredi 7 octobre 2015, Luca Ferrari <<a href="mailto:fluca1978@infinito.it">fluca1978@infinito.it</a>> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
I'm trying to compile 4.12 on my kubuntu box 14.10, but compilation<br>
fails as follows (I've tried building with either 1t5 or 1t4 without<br>
any success). I'm running KDE 4.14.1. Any idea?<br>
<br>
Thanks.<br>
<br>
% make<br>
[  0%] Built target kexiv2_automoc<br>
[  0%] Building CXX object<br>
extra/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/kexiv2.cpp.o<br>
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QFile:1:0,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2_p.h:47,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2.cpp:29:<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfile.h:100:5: warning:<br>
"QT_DEPRECATED_SINCE" is not defined [-Wundef]<br>
 #if QT_DEPRECATED_SINCE(5,0)<br>
     ^<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfile.h:100:24: error:<br>
missing binary operator before token "("<br>
 #if QT_DEPRECATED_SINCE(5,0)<br>
                        ^<br>
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTextCodec:1:0,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2_p.h:51,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2.cpp:29:<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextcodec.h:73:5: warning:<br>
"QT_DEPRECATED_SINCE" is not defined [-Wundef]<br>
 #if QT_DEPRECATED_SINCE(5, 0)<br>
     ^<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextcodec.h:73:24: error:<br>
missing binary operator before token "("<br>
 #if QT_DEPRECATED_SINCE(5, 0)<br>
                        ^<br>
In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63:0,<br>
                 from /usr/include/qt4/QtCore/qsharedpointer.h:50,<br>
                 from /usr/include/qt4/QtCore/qdatetime.h:47,<br>
                 from /usr/include/qt4/QtCore/QDateTime:1,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2.h:41,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2.cpp:28:<br>
/usr/include/qt4/QtCore/qobject.h:290:18: warning: ‘virtual void<br>
QObject::connectNotify(const char*)’ was hidden [-Woverloaded-virtual]<br>
     virtual void connectNotify(const char *signal);<br>
                  ^<br>
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QBuffer:1:0,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2_p.h:46,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2.cpp:29:<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbuffer.h:89:10: warning:<br>
by ‘void QBuffer::connectNotify(const QMetaMethod&)’<br>
[-Woverloaded-virtual]<br>
     void connectNotify(const QMetaMethod &);<br>
          ^<br>
In file included from /usr/include/qt4/QtCore/qsharedpointer_impl.h:63:0,<br>
                 from /usr/include/qt4/QtCore/qsharedpointer.h:50,<br>
                 from /usr/include/qt4/QtCore/qdatetime.h:47,<br>
                 from /usr/include/qt4/QtCore/QDateTime:1,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2.h:41,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2.cpp:28:<br>
/usr/include/qt4/QtCore/qobject.h:291:18: warning: ‘virtual void<br>
QObject::disconnectNotify(const char*)’ was hidden<br>
[-Woverloaded-virtual]<br>
     virtual void disconnectNotify(const char *signal);<br>
                  ^<br>
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QBuffer:1:0,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2_p.h:46,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2.cpp:29:<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbuffer.h:90:10: warning:<br>
by ‘void QBuffer::disconnectNotify(const QMetaMethod&)’<br>
[-Woverloaded-virtual]<br>
     void disconnectNotify(const QMetaMethod &);<br>
          ^<br>
In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,<br>
                 from /usr/include/qt4/QtCore/qbytearray.h:45,<br>
                 from /usr/include/qt4/QtCore/QByteArray:1,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2.h:39,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2.cpp:28:<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfileinfo.h: In function<br>
‘bool qIsDetached(T&) [with T = QFileInfo]’:<br>
/usr/include/qt4/QtCore/qglobal.h:2330:63: error: ‘class QFileInfo’<br>
has no member named ‘isDetached’<br>
 template <> inline bool qIsDetached<TYPE>(TYPE &t) { return t.isDetached(); } \<br>
                                                               ^<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfileinfo.h:153:1: note: in<br>
expansion of macro ‘Q_DECLARE_SHARED’<br>
 Q_DECLARE_SHARED(QFileInfo)<br>
 ^<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfileinfo.h: In function<br>
‘void qSwap(T&, T&) [with T = QFileInfo]’:<br>
/usr/include/qt4/QtCore/qglobal.h:2332:16: error: ‘class QFileInfo’<br>
has no member named ‘data_ptr’<br>
 { qSwap(value1.data_ptr(), value2.data_ptr()); } \<br>
                ^<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfileinfo.h:153:1: note: in<br>
expansion of macro ‘Q_DECLARE_SHARED’<br>
 Q_DECLARE_SHARED(QFileInfo)<br>
 ^<br>
/usr/include/qt4/QtCore/qglobal.h:2332:35: error: ‘class QFileInfo’<br>
has no member named ‘data_ptr’<br>
 { qSwap(value1.data_ptr(), value2.data_ptr()); } \<br>
                                   ^<br>
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfileinfo.h:153:1: note: in<br>
expansion of macro ‘Q_DECLARE_SHARED’<br>
 Q_DECLARE_SHARED(QFileInfo)<br>
 ^<br>
In file included from /usr/include/qt4/QtCore/QTemporaryFile:1:0,<br>
                 from /usr/include/ktemporaryfile.h:27,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2_p.h:59,<br>
                 from<br>
/home/luca/Downloads/digikam-4.12.0/extra/libkexiv2/libkexiv2/kexiv2.cpp:29:<br>
/usr/include/qt4/QtCore/qtemporaryfile.h: At global scope:<br>
/usr/include/qt4/QtCore/qtemporaryfile.h:92:13: error:<br>
‘QAbstractFileEngine’ does not name a type<br>
     virtual QAbstractFileEngine *fileEngine() const;<br>
             ^<br>
extra/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/build.make:77: recipe<br>
for target 'extra/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/kexiv2.cpp.o'<br>
failed<br>
make[2]: *** [extra/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/kexiv2.cpp.o]<br>
Error 1<br>
CMakeFiles/Makefile2:1032: recipe for target<br>
'extra/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/all' failed<br>
make[1]: *** [extra/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/all] Error 2<br>
Makefile:123: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
_______________________________________________<br>
Digikam-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Digikam-users@kde.org')">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
</blockquote></div><br><br>-- <br>Send with Gmail Mobile<br>