Hi all..
Is it possible to access to javascript file in multi qml files??? suppose i've parent qml file which js file is defined there and i want to access to it in child qml files
Thanks
Hi all..
Is it possible to access to javascript file in multi qml files??? suppose i've parent qml file which js file is defined there and i want to access to it in child qml files
Thanks
You can declare the file to be a library. Then you can include it multiple times.
alizadeh91 (16th July 2012)
Thanks for reply but there is a problem
When i define the js file as a ".pragma library" it doesn't recognize id of qml objects.
What's the problem?
Bookmarks