Closed Creteil closed 3 years ago
I finally fixed the error by adding #include
A++
@Creteil please see https://github.com/linuxdeepin/dtkcore https://github.com/linuxdeepin/dtkwidget
this repo is discard, and will be a super module as all dtk module.
@Iceyer failed to install dtkwidget qtbase5-dev version is 5.5.1+dfsg-16ubuntu7.5, running on Elementary OS it says:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:103:5: error: no matching function for call to ‘qHash(const QMimeType&)’ Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))
make failed
@NathanIceSea
Add below code the to dthumbnailprovider.cpp
uint qHash(const QMimeType &key, uint seed) Q_DECL_NOTHROW
{
return qHash(key.name(), seed);
}
However, We will not support 5.5.1 the next version, because of the hiDPI support need Qt 5.6 and higher.
Sorry, this issue will be closed soon. If it is necessary to discuss it again, please create a new issue.
Hi,
My attempt to build deepin-tool-kit fail with compilation error :
Do you have any idea on how to fix it ?
A++