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. Is it possible to debug QML code that is designated as a "source" for a particular QQuickWidget (in Qt Widgets Application)?
Forum Updated to NodeBB v4.3 + New Features

Is it possible to debug QML code that is designated as a "source" for a particular QQuickWidget (in Qt Widgets Application)?

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

    Hi,

    I am experimenting with Qt Creator and QML.

    When I create "Qt Quick Application", I am able to debug QML code (if I want to).
    I am able to set breakpoints not only to QML code, but also to C++ code and all these breakpoints work as expected.

    I would like to ask, whether it is possible to debug QML code, that defines the behavior of a QQuickWidget which is part of some "Qt QWidgets Application"?.

    What do I need to do if I want to do that?
    That is:

    • I want to define a breakpoint in some event handler in my QML code
    • if I run my "Qt QWidget Application, and a given event occurs, I would like to see that the execution stops at the breakpoint I defined.

    Is something like that possible?
    What do I have to do?

    (Thank you in advance for any helpful hints.)

    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