KDE has some issues with qt-4.8.0.

One of it is regarding QUrl.toLocalfile:

https://bugzilla.redhat.com/show_bug.cgi?id=749213

Patching qt with followed patch fixes it:

qt-everywhere-opensource-src-4.8.0-QUrl_toLocalFile.patch

Does anybody else has issues with KDE 4.7.95 build against qt-4.8.0 or would 
it be better to build the next RC against qt-4.7.4 again?
diff -up qt-everywhere-opensource-src-4.8.0/src/corelib/io/qurl.cpp.toLocalFile qt-everywhere-opensource-src-4.8.0/src/corelib/io/qurl.cpp
--- qt-everywhere-opensource-src-4.8.0/src/corelib/io/qurl.cpp.toLocalFile	2011-10-03 22:44:32.000000000 -0500
+++ qt-everywhere-opensource-src-4.8.0/src/corelib/io/qurl.cpp	2011-10-27 12:58:35.706815049 -0500
@@ -6158,7 +6158,8 @@ QUrl QUrl::fromLocalFile(const QString &
 QString QUrl::toLocalFile() const
 {
     // the call to isLocalFile() also ensures that we're parsed
-    if (!isLocalFile())
+    // Treat URLs with no scheme as local for backward compatibility
+    if (!isLocalFile() && (!d || !d->scheme.isEmpty()))
         return QString();
 
     QString tmp;
_______________________________________________
release-team mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/release-team

Reply via email to