Qt 4.8 QUrl.toLocalFile behavior change, impacts to KUrl (and friends)

Kevin Kofler kevin.kofler at chello.at
Fri Oct 28 16:43:32 BST 2011


Thiago Macieira wrote:
> Which is quite wrong already. From Qt 4.8 on, this returns empty in all
> cases, showing that you parsed the URL wrongly. It should be easier to
> spot where you made the mistake because you don't have to use
> specially-crafted filenames.

Such a change might make sense for 5.0, but not for 4.8!

Or if you really want to add the changed API to 4.x, you have to do it with 
a new name, deprecating (but not removing!) toLocalFile.

        Kevin Kofler





More information about the kde-core-devel mailing list