IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

C++ Extensions: Image Response Provider Example

How to load images asynchronously in QML.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

C++ Extensions: Image Response Provider Example

 
Sélectionnez
TEMPLATE = lib
CONFIG += plugin
QT += qml quick

DESTDIR = ImageResponseProviderCore
TARGET  = qmlimageresponseproviderplugin

SOURCES += imageresponseprovider.cpp

EXAMPLE_FILES = imageresponseprovider-example.qml

target.path = $$[QT_INSTALL_EXAMPLES]/quick/imageresponseprovider/ImageResponseProviderCore
qml.files = ImageResponseProviderCore/qmldir
qml.path = $$[QT_INSTALL_EXAMPLES]/quick/imageresponseprovider/ImageResponseProviderCore
INSTALLS = target qml

CONFIG += install_ok  # Do not cargo-cult this!

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+