Summary: | build fails - qHash | ||
---|---|---|---|
Product: | [Applications] kget | Reporter: | tropikhajma <tropikhajma> |
Component: | torrent | Assignee: | KGet authors <kget> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | trueg |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
kdenetwork build completely with this one
diff |
Description
tropikhajma
2010-06-21 01:29:02 UTC
I wonder if we support this compiler... Except that I'd say it may be a problem of the redefinition of qHash() in Soprano (which was a problem before afair...). Lukas Since Qt 4.6 or 4.5 (cant remember) qHash(QUrl) comes built-in. That is why recent Soprano versions have an ifdef disabling the Soprano qhash version. So all you need is a recent soprano built with the same qt you are building kdenetwork with. soprano 2.4.63, Qt 4.6.2 mmm, the checks are for qt 4.7 in soprano/node.h, soprano/qhashqurlcompat.cpp, index/qurlhash.h: QT_VERSION >= 0x040700 but I guess I could try lowering that : packages/BUILD/qt-4.6.2/i386/qt-everywhere-opensource-src-4.6.2/src/xmlpatterns/type/qprimitives_p.h: inline uint qHash(const QUrl &uri) adding '-lsoprano' to the build flags fixed the issue for me so I guess tweaking CMakeFiles.txt somewhere should do it Created attachment 48207 [details]
kdenetwork build completely with this one
Ok good stuff, I have no problem for this to go in... do you have an SVN account? Lukas SVN commit 1140974 by pavelheimlich: linking soprano BUG:242311 M +1 -1 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1140974 Created attachment 58055 [details]
diff
Could you please try if current trunk still compiles with the sun compiler and the attached patch?
|