raistlin84
2017-10-09 17:04 deepin
I've successfully built dde-qt-dbus-factory but now compiling dtkwidget I got sever error like this:
Copy the Code
- /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:144:49: note: template argument deduction/substitution failed:
- In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:74:0,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:37,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:41,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:40,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/qthread.h:37,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/QThread:1,
- from ../../src/util/dthumbnailprovider.h:21,
- from ../../src/util/dthumbnailprovider.cpp:18:
- /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:103:5: note: ‘const QMimeType’ is not derived from ‘const QPair
’
- Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))
- ^
- In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:39:0,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfileinfo.h:39,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/QFileInfo:1,
- from ../../src/util/dthumbnailprovider.h:22,
- from ../../src/util/dthumbnailprovider.cpp:18:
- /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:102:34: note: candidate: template
uint qHash(const T&, uint)
- template
inline uint qHash(const T &t, uint seed)
- ^
- /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:102:34: note: template argument deduction/substitution failed:
- In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:74:0,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:37,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:41,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:40,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/qthread.h:37,
- from /usr/include/x86_64-linux-gnu/qt5/QtCore/QThread:1,
- from ../../src/util/dthumbnailprovider.h:21,
- from ../../src/util/dthumbnailprovider.cpp:18:
- /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:103:5: note: candidate expects 2 arguments, 1 provided
- Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))
- ^
- Makefile:1866: recipe for target 'dthumbnailprovider.o' failed
- make[1]: *** [dthumbnailprovider.o] Error 1
- make[1]: Leaving directory '/root/dtkwidget/build/src'
- Makefile:43: recipe for target 'sub-src-make_first-ordered' failed
- make: *** [sub-src-make_first-ordered] Error 2
Reply Like 0 View the author
I'm trying to compile dde-file-manager fom ubuntu 16.04 but I get this error:
I've already compiled dtkcore without problem, but when I try to compile dtkwidget i get:
So I've thought i need dde-qt-dbus-factory too, but when I try:
Can someone help me?
Thx to all.