Hai,
At the time of launching the application for debugging i am getting this message,
This application failed to start because it could not find or load the Qt platform plugin “xcb”
[Gui5] in “”.
[Gui5]
[Gui5] Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
[Gui5]
[Gui5] Reinstalling the application may fix this problem.
I tried every possibility with library dependencies there are two libs
libNvLogShared.so
libAppLib.so
on doing ldd on ./nvidia-gfx-debugger
but the files are already there
What is the result of “ldd ./Plugins/platforms/libqxcb.so” ?
When you launch the application, do you execute ./nvidia-gfx-debugger or ./nvidia-gfx-debugger.bin ? Normally, executing ./nvidia-gfx-debugger is the way to launch LGD.
Thanks codym_nv,
ldd on libqxcb.so found every thing no problems with library dependencies, and i am using ./nvidia-gfx-debugger to open LGD, and LGD opens fine but when i launch my application to debug it is showing the above xcb not found error
Hi,
We tried your application on a Ubuntu 16.04 machine. Without LGD, the application launches with the error “xcb not found”.
Can you confirm it runs fine on your machine without LGD?
Here’s an update on your issue:
LGD 2.0 was built with Qt5.5 and your application is using Qt5.7.
You can try to launch your application in command line, then attach to it with LGD.
LD_PRELOAD=~/.tgd/lib/libNvidia_gfx_debugger.so
in LGD, “Connect” button, “Attach” tab, select your app process, then “Attach” button.