PDA

View Full Version : LD_DEBUG=all cat



shivcena
4th November 2015, 07:29
After cross compilng Qt creator executable , i try to execute on Grayhill 270 ARM board. The problem while executing is ,

1. if i run my application like "./myApp -qws" there is no error but application not displaying anything on the board
2. If i run my application without QWS like "./MyApp -platform eglfs " it is giving the error like "QWSSocket::connectToLocalFile could not connect:: Connection refused"
3. If i go to Help-->About Qt Creator , a pop up comes like " Qt Creator 3.4.2 (opensource) Based on Qt 5.5.0 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit) " . Is this Qt5 or Qt3
4. After running the application like "./MyApp -platform eglfs " , i run LD_DEBUG=all cat now a list of lines coming like "file=libc.so.6 [0]; needed by cat [0] find library=libc.so.6 [0]; searching" . Is this lists releted to the application "./MyApp -platform eglfs"

anda_skoa
4th November 2015, 09:22
After cross compilng Qt creator executable , i try to execute on Grayhill 270 ARM board. The problem while executing is ,

1. if i run my application like "./myApp -qws" there is no error but application not displaying anything on the board

That is a contradition. The executable for Qt Creator is called qtcreator, not "myApp"
So either you are launching the wrong example or you are not cross compiling Qt Creator.



3. If i go to Help-->About Qt Creator , a pop up comes like " Qt Creator 3.4.2 (opensource) Based on Qt 5.5.0 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit) " . Is this Qt5 or Qt3

Based on Qt 5.5.0



4. After running the application like "./MyApp -platform eglfs " , i run LD_DEBUG=all cat now a list of lines coming like "file=libc.so.6 [0]; needed by cat [0] find library=libc.so.6 [0]; searching" . Is this lists releted to the application "./MyApp -platform eglfs"
Well, is your application executable called "cat"?
Then yes, this is relevant. If not, then obviously no.

Cheers,
_

shivcena
4th November 2015, 09:51
Well, is your application executable called "cat"?
Then yes, this is relevant. If not, then obviously no

1) i tried like LD_DEBUG=all ./myApp
where "myApp" is the name of the executable. now some lines are continuously coming but related to QT executable only. Can i track what is the problem exactly using this lines

2) At the end of debug i found like "symbol=_ZN15QAbstractSocket5errorENS_11SocketError E;" . What is this ? how to resolve this?