Summary: | Okular fails to compile with QT < 5.6 due to usage of new QT method QList::constFirst | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Tobias Deiminger <haxtibal> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/okular/fa680b6c047b05a458bf9516fe7bc18f0d723ce6 | Version Fixed In: | |
Sentry Crash Report: |
Description
Tobias Deiminger
2016-11-11 12:24:38 UTC
Just found one more dependency on QT 5.6 here: okular/core/document.cpp:L4219, QSet<QMimeType> uniqueMimetypes; This requires uint qHash(const QMimeType &key, uint seed = 0), which was only introduced with QT 5.6. See http://doc.qt.io/qt-5/qmimetype.html#qHash. Git commit fa680b6c047b05a458bf9516fe7bc18f0d723ce6 by Albert Astals Cid. Committed on 14/11/2016 at 23:24. Pushed by aacid into branch 'master'. Require Qt 5.6 This is not a dependency freeze break, it's just bringing cmake up to date with what the code already required M +1 -1 CMakeLists.txt http://commits.kde.org/okular/fa680b6c047b05a458bf9516fe7bc18f0d723ce6 |