diff options
-rw-r--r-- | src/quick/doc/src/appdevguide/porting.qdoc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/quick/doc/src/appdevguide/porting.qdoc b/src/quick/doc/src/appdevguide/porting.qdoc index 6bb2a75074..305524c9e6 100644 --- a/src/quick/doc/src/appdevguide/porting.qdoc +++ b/src/quick/doc/src/appdevguide/porting.qdoc @@ -27,7 +27,7 @@ /*! \page qtquick-porting-qt5.html -\title QML Applications in Qt 5 +\title Porting QML Applications to Qt 5 \brief Lists the Qt 5.0 changes that affect the existing QML applications When porting QML-related code from Qt 4.8 to Qt 5, application developers should be aware that @@ -38,6 +38,15 @@ This article describes the changes that affect your existing code. If you are interested in the summary of all new features in Qt 5 for QML application development, see \l{qtqml-releasenotes.html}{QtQml Release Notes} and \l{qtquick-releasenotes.html}{QtQuick Release Notes}. +\section1 QML Language changes + +There are very few changes in the QML language which affect the porting of existing Qt 4.8 QML code to Qt 5. These are: + +\list +\li Individual file imports no longer work (e.g. import "MyType.qml"). Import the containing directory instead. +\li Relative file paths in JavaScript files are now resolved relative to the location of the JavaScript file instead of the QML file that imported it. +\endlist + \section1 QtQuick Module The QtQuick module has been updated to version 2.0. All QML applications should update their import |