Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.5.0
-
None
-
Xubuntu 14.04
Description
Just try to transform a QUrl to a string with toLocalFile() like this:
QUrl url("/home/me/filename.txt"); qDebug() << url << "\n" << url.toLocalFile();
You get with Qt 4.8.6
QUrl( "/home/me/filename.txt" )
"/home/me/filename.txt"
With Qt 5.5:
QUrl("/home/me/filename.txt")
""
Qt 5.5 returns only an empty string.