Bug 307886

Summary: [patch] gcc41 build failure patch
Product: [Frameworks and Libraries] Akonadi Reporter: S. Burmeister <sven.burmeister>
Component: serverAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dvratil
Priority: NOR Keywords: triaged
Version: 1.8.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description S. Burmeister 2012-10-05 10:08:21 UTC
Downstream at openSUSE the following patch is still applied.

Does it make sense to include it upstream?

--- server/src/nepomuk/queryserviceclient.h
+++ server/src/nepomuk/queryserviceclient.h
@@ -27,6 +27,8 @@
 class QUrl;
 
 namespace Nepomuk {
+    typedef QHash<QString, QString> QStringHashMap;
+
     namespace Query {
 
         class Result;
@@ -82,7 +84,7 @@
              *
              * \sa QueryParser
              */
-            bool query(const QString& query, const QHash<QString, QString> &encodedRps = ( QHash<QString, QString>() ) );
+            bool query( const QString& query, const QStringHashMap &encodedRps = QStringHashMap() );
 
             /**
              * Start a query using the Nepomuk query service.
@@ -102,7 +104,7 @@
              *
              * \sa query(const QString&), close()
              */
-            bool blockingQuery( const QString& query, const QHash<QString, QString> &encodedRps = ( QHash<QString, QString>() ) );
+            bool blockingQuery( const QString& query, const QStringHashMap &encodedRps = QStringHashMap() );
 
             /**
              * Close the client, thus stop to monitor the query

Reproducible: Always
Comment 1 Daniel Vrátil 2013-12-06 16:57:20 UTC
Does downstream still require the patch? I think the minimum GCC version for the entire KDE is now 4.4 or something like that?
Comment 2 Andrew Crouthamel 2018-09-25 03:50:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-27 04:00:27 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!