[Qt-qml] QtQuick 1 elements split into their own lib/plugin (qtdeclarative#master)
martin.jones at nokia.com
martin.jones at nokia.com
Wed Jul 13 01:06:10 CEST 2011
The QtQuick 1 elements have been moved/copied out of the declarative library in qtdeclarative#master.
This allows us to minimize the risk of QtQuick 1 compatibility being broken in Qt 5 and also removes the overhead of QtQuick 1 element registration, etc. for QtQuick 2 developers.
This does require some minor adjustments to projects using Qt 5 and QtQuick 1. If you application uses QDeclarativeView or QDeclarativeItem you must add the "qtquick1" module to the .pro file, e.g. QT += declarative qtquick1
QDeclarativeView and QDeclarativeItem headers are now in the QtQuick 1 module, i.e.
#include <QtQuick1/QDeclarativeView>
#include <QtQuick1/QDeclarativeItem>
"import QtQuick 1.0" loads the module dynamically. To deploy QtQuick 1 applications the library (lib/libQtQuick1*) and plugin (imports/QtQuick/) must be installed.
Br,
Martin.
More information about the Qt-qml
mailing list