There's also a bug with Valgrind that was fixed recently, but I doubt it's related:
https://bugreports.qt.io/browse/QTCREATORBUG-19004 From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org] On Behalf Of Mitch Curtis Sent: Thursday, 5 October 2017 12:01 PM To: Abin Joseph <abin.jos...@nestgroup.net>; interest@qt-project.org Subject: Re: [Interest] Unable to do Valgrind Memory Analyzer on i.MX6Q target I don't know if this applies to embedded targets, but did you accidentally change the "Base environment for this run configuration" in Creator? Go to Projects > Build & Run > Run Environment and check which value the combobox has; it should probably say "Build Environment", which is the default. Sometimes I accidentally mouse wheel over it when I'm scrolling down and it selects e.g. "Clean Environment", causing the application to fail to start because it's missing a bunch of environment variables. The error about the display in particular seems kinda familiar. From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org] On Behalf Of Abin Joseph Sent: Wednesday, 6 September 2017 8:27 AM To: interest@qt-project.org<mailto:interest@qt-project.org> Subject: [Interest] Unable to do Valgrind Memory Analyzer on i.MX6Q target 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. ________________________________
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest