Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Somethings about 'QtQuickView' and 'QtQuickViewContent'

Somethings about 'QtQuickView' and 'QtQuickViewContent'

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 238 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Miracle9527
    wrote on last edited by Miracle9527
    #1

    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 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved