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. QML Item visibility when web browser is opened from JS
QtWS25 Last Chance

QML Item visibility when web browser is opened from JS

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 124 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.
  • Q Offline
    Q Offline
    QMl_Enthusiast
    wrote on last edited by
    #1

    Hi,

    I have a scenario in which there is an image and a play button placed in the middle which basically tells the user that on pressing the play button it plays the video.
    So the above design is implemented in JS and when we play the video its actually opening a local web browser in JS and then video is getting played.

    Now the situation is before playing the video I have access to a qml item which I have loaded and as soon as I play the video then I am calling a function showBaseView() through qml which further is trying to load another qml by changing the source (let's say Abc.qml) of the Loader element.

    Now inside Abc.qml I am trying to print a log inside OnVisibilityChanged
    but I am not getting the log printed.

    So my doubt is when the web browser which is opened through JS, then how can I make Abc.qml visible true ??

    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