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