building Solid
Martin Gräßlin
mgraesslin at kde.org
Wed Feb 26 06:52:21 UTC 2014
On Tuesday 25 February 2014 21:27:02 Dominik Haumann wrote:
> On Tuesday 25 February 2014 20:34:38 Dominik Haumann wrote:
> > Hi,
> >
> > a fresh Qt5 from stable branch, and a fresh frameworks build results in
> > this error when building solid:
> >
> > $ make
> > [ 0%] Automatic moc for target KF5Solid
> > [ 0%] Built target KF5Solid_automoc
> > [ 1%] Building CXX object
> > src/solid/CMakeFiles/KF5Solid.dir/managerbase.cpp.o In file included from
> > /home/dh/kde/kf5/src/frameworks/solid/src/solid/backends/udisks2/udisksman
> > a
> > ger.h:25:0, from
> > /home/dh/kde/kf5/src/frameworks/solid/src/solid/managerbase.cpp:35:
> > /home/dh/kde/kf5/src/frameworks/solid/src/solid/backends/udisks2/udisks2.h
> > :
> > 30:27: error: conflicting declaration ‘typedef class QList<QByteArray>
> > QByteArrayList’ typedef QList<QByteArray> QByteArrayList;
> >
> > ^
> >
> > In file included from
> > /home/dh/kde/kf5/src/qt5/qtbase/include/QtCore/qbytearraylist.h:1:0, from
> > /home/dh/kde/kf5/src/qt5/qtbase/include/QtCore/QtCore:119, from
> > /home/dh/kde/kf5/src/qt5/qtbase/include/QtDBus/QtDBusDepends:2, from
> > /home/dh/kde/kf5/src/qt5/qtbase/include/QtDBus/QtDBus:3, from
> > /home/dh/kde/kf5/src/frameworks/solid/src/solid/backends/udisks2/udisks2.h
> > :
> > 25, from
> > /home/dh/kde/kf5/src/frameworks/solid/src/solid/backends/udisks2/udisksman
> > a
> > ger.h:25, from
> > /home/dh/kde/kf5/src/frameworks/solid/src/solid/managerbase.cpp:35:
> > /home/dh/kde/kf5/src/qt5/qtbase/src/corelib/tools/qbytearraylist.h:56:7:
> > error: ‘class QByteArrayList’ has a previous declaration as ‘class
> > QByteArrayList’ class QByteArrayList : public QList<QByteArray>
> >
> > ^
> >
> > make[2]: *** [src/solid/CMakeFiles/KF5Solid.dir/managerbase.cpp.o] Error 1
> > make[1]: *** [src/solid/CMakeFiles/KF5Solid.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > So QByteArrayList is once typedeffed in solid/backends/udisks2/udisks2.h,
> > and once in QtCore/qbytearraylist.h Is that intention?
>
> https://qt.gitorious.org/qt/qtbase/source/4f23f0530a9c59400a7f3821cd2c935580
> 1ed8cd:src/corelib/tools/qbytearraylist.cpp#L75 \since 5.3
I showed that compile error to Alex last week and he mentioned that there is
already some code under review to fix this issue. Alex, what's the status on
that?
Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140226/4d214a23/attachment.sig>
More information about the Kde-frameworks-devel
mailing list