Qt 4.8 QUrl.toLocalFile behavior change, impacts to KUrl (and friends)
David Jarvie
djarvie at kde.org
Sat Oct 29 00:37:55 BST 2011
On Saturday 29 October 2011 00:05:18 Thiago Macieira wrote:
> On Friday, 28 de October de 2011 17:43:32 Kevin Kofler wrote:
> > 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.
>
> Let's just say I disagree.
>
> This change was for 4.7, but it was reverted and added to 4.8, giving you well
> over ONE YEAR to adapt.
Only for those who knew about it a year ago. Many people will probably only find out when things don't work with 4.8.
--
David Jarvie.
KDE developer.
KAlarm author -- http://www.astrojar.org.uk/kalarm
More information about the kde-core-devel
mailing list