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. Switching View multiple times between C++/QML
Forum Updated to NodeBB v4.3 + New Features

Switching View multiple times between C++/QML

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.1k Views 1 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.
  • A Offline
    A Offline
    asaintge
    wrote on last edited by
    #1

    I'm using Qt 5.0.2 ( same issues when i tried with Qt 5.1) on an embedded linux (ATV1100B) with EGLFS.

    My project are switching constantly between a QML apps which is the base of the project (main menu, ...) and a QWebView in C++ ( easier to catch some signals like microfocus in the c++ implementation rather than the qml one).

    after some switching ( or sometimes, after the first one), the QML view simply don't work anymore, the display is bugged (some pics are not showing, the screen is flickering, ...) and the state of the QML is broken ( for example, the menu is show on the screen when he is in a hide state).

    I tried to:

    • set/reset properly the focus/visible/enabled state of the QML objects at each reshowing.
      -reloading the QML using setSource() each time.
      -repaint the QML objects using update() before showing the view.

    Thanks,
    Arthur

    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