[Qt-creator] Unable to do Valgrind Memory Analyzer on i.MX6Q target
Abin Joseph
Abin.Joseph at nestgroup.net
Tue Sep 5 14:56:18 CEST 2017
Hi,
I am trying to do valgrind memory analysis with Qt Creator on iMX6Q board.
I am able to run the application from Qt creator and also able to run application from terminal using command /opt/HelloWorld -platform wayland
I have valgrind in my target board, and if I run valgrind -v /opt/HelloWorld -platform wayland, it gives me whole logs which are so difficult to trace out the exact errors. But still application launches.
But if I click Analyze->Valgrind Memory Analyzer on Qt Creator, it gives me error and the application does not launch.
If I do not give any run time arguments I get the error:
Analyzing memory of /opt/HelloWorld
QML debugging is enabled. Only use this in a safe environment.
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, wayland-egl, wayland.
Reinstalling the application may fix this problem.
Analyzing finished.
** Process killed by signal **
If I do not give any run time arguments -platform wayland, I get the error:
Analyzing memory of /opt/HelloWorld
QML debugging is enabled. Only use this in a safe environment.
Failed to create display (No such file or directory)
Analyzing finished.
** Unknown error **
Is there something I am missing to run valgrind memory analysis on iMx6Q board?
With Regards,
Abin Joseph
________________________________
Confidentiality Statement / Disclaimer : This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.
The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20170905/98127923/attachment.html>
More information about the Qt-creator
mailing list