summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeengine.h
Commit message (Collapse)AuthorAgeFilesLines
* Emit runtime warnings through QDeclarativeEngineAaron Kennedy2010-04-191-1/+6
| | | | QTBUG-9726
* Give better error messages on plugin load failures.Warwick Allison2010-04-141-1/+1
| | | | Fixes reverted commit e0dcdbd2984299665b9b784b201289219b9978d3.
* Tune plugin import mechanismmae2010-04-081-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | In shadow build environments, we cannot enforce that shared library objects for plugins are located in the same directory as the qmldir file. This makes it hard for Creator to support mixed projects (qml/c++). In order to gain more flexibility, the patch introduces a pluginPathList to QDeclarativeEngine, which completes the existing importsPathList. The pluginPathList defaults to ["."], which indicates the directory where the qmldir file is located in. The qml viewer tool gains a command line option -P to add to the pluginPathList. For consistency, the -L option ("Library") has been renamed to -I ("Import"). QDeclarativeEngine::importExtension() has been renamed to QDeclarativeEngine::importPlugin(). The documentation has been adjusted accordingly. Done with erikv. Reviewed-by: erikv
* Simplify import path.Warwick Allison2010-03-291-1/+3
| | | | Reviewed-by: mae
* Add importPathList, mainly for doc purposes.Warwick Allison2010-03-291-0/+1
|
* Integrate QML's object ownership with the JS collectorAaron Kennedy2010-03-091-0/+4
| | | | | | | QML now behaves in a way similar to QtScript when it comes to QObject ownership. QT-2803
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+112
QDeclarativeXXX.