Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Commit c61b7fc

Browse files
committed
Update README.md
1 parent f27dfb0 commit c61b7fc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ int main(int argc, char *argv[])
5959
6060
/* QuickAndroid Initialization */
6161
view.engine()->addImportPath("qrc:///"); // Add QuickAndroid into the import path
62+
63+
// Setup "drawable" image provider
64+
QADrawableProvider* provider = new QADrawableProvider();
65+
provider->setBasePath("qrc:///res");
66+
view.engine()->addImageProvider("drawable",provider)
6267
6368
/* End of QuickAndroid Initialization */
6469
@@ -84,7 +89,7 @@ An example program is available in the folder of [tests/quickandroidexample](tes
8489

8590
Remarks: Daily build for non-master branch may not be working.
8691

87-
![Screenshot](https://raw.githubusercontent.com/benlau/quickandroid/master/examples/quickandroidexample/docs/screenshot.png)
92+
![Screenshot](https://raw.githubusercontent.com/benlau/quickandroid/master/docs/screenshots/example1.png)
8893

8994
License
9095
-------

0 commit comments

Comments
 (0)