From 4d18fcc861b401b9d761db56e2ac9d88ad579173 Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@edeltech.ch> Date: Wed, 1 Oct 2014 23:29:18 +0200 Subject: [PATCH] Improved QUrl breaking information Add a warning about the fact that QUrl has massively changed between Qt4 and Qt 5 as well as setPath new behavior Task-number: QTBUG-27728 Change-Id: I9798eb4f06e42987a7c08d530467a31c14e47065 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> --- doc/src/source-breaks.qdoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/src/source-breaks.qdoc b/doc/src/source-breaks.qdoc index 2174eb03..3527b817 100644 --- a/doc/src/source-breaks.qdoc +++ b/doc/src/source-breaks.qdoc @@ -177,6 +177,8 @@ The following sections lists the API changes in each module and provides recomme the \l{QPointer} was cleared by the \l{QWidget} destructor. In Qt 5, the \l{QPointer} is cleared by the \l{QObject} destructor along with the \l{QWeakPointer}s. Any \l{QPointer}s tracking a widget is not cleared before the \l{QWidget} destructor destroys the children for the widget being tracked. + \li \l{QUrl} changed considerably in Qt 5 to comply better with the URL specifications and with brokenness out there. + \li \l{QUrl} setPath not longer handles relative path. They are by definition invalid. \li \l{QUrl} has been changed to operate only on percent-encoded forms. Fully-decoded forms where the percent character stands for itself, can no longer be encoded, as the getters and setters with "encoded" in the name are deprecated (except \l{QUrl::toEncoded()} and \l{QUrl::fromEncoded()}). -- GitLab