summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qml.pri
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-16 01:27:24 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-16 01:27:24 (GMT)
commitb77e592cf9709c31f61c3e1d229b2a6c446ab8bc (patch)
treeef3099221a5f35db3a198821b2c5cd464753ec89 /src/declarative/qml/qml.pri
parent62d585e8ec6c09406fa28f9edf29b56b2d67c739 (diff)
downloadQt-b77e592cf9709c31f61c3e1d229b2a6c446ab8bc.zip
Qt-b77e592cf9709c31f61c3e1d229b2a6c446ab8bc.tar.gz
Qt-b77e592cf9709c31f61c3e1d229b2a6c446ab8bc.tar.bz2
Add QmlImageProvider to allow asynchronous access to images.
Setting an image source to image://providerid/imageid will pass the request for imageid to the provider registered for providerid. QmlImageProvider::request() is run in a low priority thread, so the main thread is not blocked while the image is loaded/rendered. Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/declarative/qml/qml.pri')
-rw-r--r--src/declarative/qml/qml.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qml.pri b/src/declarative/qml/qml.pri
index cd2fbff..021ef9e 100644
--- a/src/declarative/qml/qml.pri
+++ b/src/declarative/qml/qml.pri
@@ -50,6 +50,7 @@ SOURCES += \
$$PWD/qmltypenamescriptclass.cpp \
$$PWD/qmllistscriptclass.cpp \
$$PWD/qmlworkerscript.cpp \
+ $$PWD/qmlimageprovider.cpp \
$$PWD/qmlnetworkaccessmanagerfactory.cpp
HEADERS += \
$$PWD/qmlparser_p.h \
@@ -117,6 +118,7 @@ HEADERS += \
$$PWD/qmlworkerscript_p.h \
$$PWD/qmlscriptclass_p.h \
$$PWD/qmlguard_p.h \
+ $$PWD/qmlimageprovider.h \
$$PWD/qmlnetworkaccessmanagerfactory.h
QT += sql
include(parser/parser.pri)