Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QQuickWidget not active before being clicked once
Forum Updated to NodeBB v4.3 + New Features

QQuickWidget not active before being clicked once

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 163 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.
  • K Offline
    K Offline
    Kelvin Hoang
    wrote on last edited by Kelvin Hoang
    #1

    I have a QQuickWidget is shown inside a QWidget.
    I met a problem when tried to add that QQuickWidget to other layout (to display it in full screen mode).
    The problem is my first click on that QQuickWidget after switch display mode doesn't work properly.

    The similar error was reported at https://forum.qt.io/topic/46259/qquickview-not-active-before-being-clicked-once

    I tried some ways to active it like send a QMouseEvent use QCoreApplication::sendEvent(),
    or forceActiveFocus(), update()... but they didn't work.

    Could you give me some suggestions?
    Regards
    Kelvin.

    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