Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Drawing QML elements over/above native Android UI
Forum Updated to NodeBB v4.3 + New Features

Drawing QML elements over/above native Android UI

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qmljavaandroid
1 Posts 1 Posters 802 Views 2 Watching
  • 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.
  • SkroopaS Offline
    SkroopaS Offline
    Skroopa
    wrote on last edited by
    #1

    I have QtActivity (ANDROID_PACKAGE_SOURCE_DIR in *.pro file), that shows Camera preview through TextureView (fullscreen mode) that handles SurfaceTexture and some Android UI. Application have android:hardwareAccelerated="true" option in AndroidManifest.xml.

    Also, I have QQuickView (fullscreen mode) in main C++ program, that shows some QML elements. But, I was surprised, when I tried to draw QQuickView over TextureView of application: there is no QML elements, I see only TextureView.

    I spent many time to find the answer, but there is no appropriate solution for drawing QML and Android together, with layering or something. Drawing QML and Android is very important for me, because some functions of QtMultimedia doesn't work (according to http://wiki.qt.io/Qt_5.5.0_Multimedia_Backends) on Android/iOS.

    Thanks!

    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