Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. FrameAction not being triggered.
Qt 6.12 LTS is out! See what's new in the release blog

FrameAction not being triggered.

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

    Simple as the title really!

    My main.cpp creates a QQuickView and here's the top of my qml file. For some reason the FrameAction never gets triggered.

    Item {
        id: root
        property int frames: 0
        visible: true
        Scene3D {
            id: scene
            anchors.fill: parent
            Entity {
                id: sceneRoot
                FrameAction {
                    onTriggered: {
                        print('go boom!')
                        root.frames++
                    }
                }
                Camera {
    ...
    

    The rest of the (very simple) code is on Github here -> https://github.com/kuiash/QML_Combo_3D_2D

    Thanks for your help. X

    The legendary cellist Pablo Casals was asked why he continued to practice at age 90. "Because I think I'm making progress," he replied.

    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
    • Unsolved