Qml common files
-
Is there a way to define a common class where I can store constant variables and qml common functions?
Can you give me an example about the common file and how I can include it in my qml files?Regards.
-
-
Hi!
Have a look at "Defining JavaScript Resources In QML" http://doc.qt.io/qt-5/qtqml-javascript-resources.html
Cheers! -
Perfect!