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. Newbie Question: RenderDoc Performance Monitoring with Qt C++
Qt 6.11 is out! See what's new in the release blog

Newbie Question: RenderDoc Performance Monitoring with Qt C++

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 1.0k 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
    kc lau
    wrote on last edited by
    #1

    Hi everyone,

    I'm trying to profile the performance of the QRhiTextureItem example using RenderDoc. I'm having trouble finding documentation or examples on how to set up and use RenderDoc with a Qt C++ application. (https://doc.qt.io/qt-6/qrhi.html#frame-captures-and-performance-profiling) The RenderDoc has documentation focuses on the PySide2 API, and I haven't been able to find related documentation in Qt6 docs.

    I have tried using RenderDoc's "Launch Application" feature with the Qt6 example, but I receive the error "RenderDoc injection failed." Attached is the screenshot of the error.rd2.PNG

    Could anyone point me to resources, tutorials, or examples demonstrating RenderDoc integration with a Qt C++ application, specifically for profiling graphics performance using QRhi? Any help would be greatly appreciated.

    Thank you in advance!

    jsulmJ 1 Reply Last reply
    0
    • K kc lau

      Hi everyone,

      I'm trying to profile the performance of the QRhiTextureItem example using RenderDoc. I'm having trouble finding documentation or examples on how to set up and use RenderDoc with a Qt C++ application. (https://doc.qt.io/qt-6/qrhi.html#frame-captures-and-performance-profiling) The RenderDoc has documentation focuses on the PySide2 API, and I haven't been able to find related documentation in Qt6 docs.

      I have tried using RenderDoc's "Launch Application" feature with the Qt6 example, but I receive the error "RenderDoc injection failed." Attached is the screenshot of the error.rd2.PNG

      Could anyone point me to resources, tutorials, or examples demonstrating RenderDoc integration with a Qt C++ application, specifically for profiling graphics performance using QRhi? Any help would be greatly appreciated.

      Thank you in advance!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @kc-lau Did you check whether you app started and did not crash (like the error message asks)?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kc lau
        wrote on last edited by kc lau
        #3

        Thank you for your reply. Yes, I'm currently running the example(simplerhiwidget) for testing purposes and I am sure that my app started and running normally. Is there any parameter I need to modify to enable RenderDoc to inject its DLL into the executable? Also, in the remote host manager, there's nothing I can select; is this normal behavior?
        rhi2.PNG

        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