Newbie Question: RenderDoc Performance Monitoring with Qt C++
-
wrote on 11 Dec 2024, 07:03 last edited by
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.
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!
-
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.
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!
@kc-lau Did you check whether you app started and did not crash (like the error message asks)?
-
wrote on 12 Dec 2024, 09:51 last edited by kc lau 12 Dec 2024, 09:54
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?
1/3