Somethings about 'QtQuickView' and 'QtQuickViewContent'
-
wrote 24 days ago last edited by Miracle9527
I have installed Qt6.9,In Android Studio, I configure "QtBuild {}" in "build.grade" file , then I use "QtQuickView.loadContent(T extends QtQuickViewContent) " to load qml files in Andrioid “MainActivity” JAVA files. It runs successfully on the Android platform and displays.
Then I found that it automatically generates a class based on QML files that implements' QtQuickViewContent ', but I can hardly find any information about the' org. qtproject. qt. android. QtQuickViewContent 'class. I can use its implementation class to listen for some property changes in QML and control some property changes in QML. Can I also use it to call the 'function' in the QML file? What should I do.
If anyone knows, please tell me. Thank you
1/1