We'are porting a QT application on our custom board based on IM..X 6q processor and QNX SDP6.6, following this guide: http://doc.qt.io/qt-5/platform-notes-qnx.html From QT Creator's Device test the target seem configured in the right way: Connecting to host... Checking kernel version... QNX 6.6.0 i.MX6Q_Cpu_Coms Checking if specified ports are available... All specified ports are available. Checking for awk... awk found. Checking for grep... grep found. Checking for kill... kill found. Checking for netstat... netstat found. Checking for print... print found. Checking for printf... printf found. Checking for ps... ps found. Checking for read... read found. Checking for sed... sed found. Checking for sleep... sleep found. Checking for uname... uname found. Checking for slog2info... slog2info found. Device test finished successfully. But when I start debugging the QT application I get the following error showing in ApplicationOutput window: Debugging starts Preparing remote side... Warning: "slog2info" is not found on the device, debug output not available!Debugging has finished and an error window popup saying: ' Cannot continue debugged process: the program is not being run.' The Slogger2 process and qconn are runnig on the target. Any suggestions to solve the issue? Regards.
The slog2info message is probably not important. Unfortunately, the Qt Creator QNX tests aren't complete. They don't verify that /var/run is writeable. Offhand, I don't recall if anything else is required. Try this first.
Hi James, the /var/run is writeable: lrwxrwxrwx 1 root root 4 Mar 13 2018 run -> /tmp and also /tmp is writable: lrwxrwxrwx 1 root root 10 Mar 13 2018 /tmp -> /dev/shmem
AFAIR, when /tmp was pointing to /dev/shmem, it's not good for Qt. In /dev/shmem, it's not possible to create subdirectories, and that can be a problem for Qt. Make /tmp a writeable /tmp folder on a block device or devb ram disk at least. > -----Original Message----- > From: mario sangalli [mailto:community-noreply@qnx.com] > Sent: Wednesday, March 14, 2018 3:14 PM > To: general-qt <general-qt@community.qnx.com> > Subject: Re: QT on IM.X6q with SDP 6.6 > > Hi James, > > the /var/run is writeable: > > lrwxrwxrwx 1 root root 4 Mar 13 2018 run -> /tmp > > and also /tmp is writable: > > lrwxrwxrwx 1 root root 10 Mar 13 2018 /tmp -> /dev/shmem > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post118669 > To cancel your subscription to this discussion, please e-mail general-qt- > unsubscribe@community.qnx.com
I made /var/run as a writable regualr dir but with luck: drwxrwxrwx 2 root root 4096 Dec 31 19:05 run the same error occurs...
>>>Warning: "slog2info" is not found on the device Just because slogger2 is running does not mean that slog2info is present.. Put it in /bin just to be sure. Dennis