Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML debugging & qmljsdebugger profiling is disabled on RPI with Yocto (poky-pyro)
Qt 6.11 is out! See what's new in the release blog

QML debugging & qmljsdebugger profiling is disabled on RPI with Yocto (poky-pyro)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 893 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
    Manish Verma
    wrote on last edited by Manish Verma
    #1

    I want to use QML Profiler to collect data, that qmljsdebugger process hosts on target device. I run my application with the following params;
    <app executable> -qmljsdebugger=port:<any available>
    I try to run the profiler to collect data, from within the qtcreator(external)
    The issues I am facing on the target device right now are two; #1, the application does not run in debug mode, and #2, the qmljsdebugger module does not start.
    I believe that if the application runs in debugging mode, the following line should be displayed when the app is run on command-line;
    QML debugging is enabled. Only use this in a safe environment. (does not appear!)
    And if qmljsdebugger module starts, the following line should be displayed when the app runs;
    QML Debugger: Waiting for connection on port <port_number>. (does not appear!)

    Now, to enable debugging mode, I understand that we need to put the following in .pro files of the project;
    CONFIG+=qml_debug
    And to start the qmljsdebugger, we need to give the parameter along with the app executable, as mentioned above.
    I also understand that qmljsdebugger has dependency on two files;
    libqmldbg_tcp.so
    libqmldbg_inspector.so
    They have to be present on the target device in qmltooling folder which normally lives in plugins folder in qt5 lib folder on the system.
    These files were missing on the device. So I tried to bitbake the toolchain and get these files from there. But what I get is not qmltooling folder with the above two files, rather I get qml1tooling folder with one file with different name (libqmldbg_tcp_qtdeclarative.so). I didn't expect it to work and it didn't. Apart from that, I copied lib, bin, include from sysroots to /usr/lib, usr/bin, and /usr/include folders. But nothing seems to be budging anywhere around.
    Any help shall be highly appreciated.

    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