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++
Servers for Qt installer are currently down

Newbie Question: RenderDoc Performance Monitoring with Qt C++

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 277 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 11 Dec 2024, 07:03 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!

    J 1 Reply Last reply 11 Dec 2024, 07:11
    0
    • K kc lau
      11 Dec 2024, 07:03

      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!

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 11 Dec 2024, 07:11 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 12 Dec 2024, 09:51 last edited by kc lau 12 Dec 2024, 09:54
        #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

        1/3

        11 Dec 2024, 07:03

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved