Results 1 to 4 of 4

Thread: QT4.8 Cross compiled can not debug.

  1. #1
    Join Date
    Aug 2016
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default QT4.8 Cross compiled can not debug.

    Hi everyone.

    I have managed to compile QT4.8 with gcc-arm-linux-gnueabihf-4.9 by manipulating the symbolic links.
    After quite some time I have managed to make Qt connect to my Target Board and display/run a basic Qt Application.
    But when try and load an example from the QtExamples file I get the following.
    Failed to upload file " /home/user/QtProjFile/examples/dialogs/README ".
    So it is not copying files to the target board accept for small projects.

    That is the one problem.
    The other problem is that I can not seem to DEBUG " Step through " the code running on the board since it just comes back with an error 127.
    Even if the code runs when I click run it will still come back with error 127 if I try and debug.
    I have to initialize the gdbserver but I have no idea how to do that. If I do that then I can not manage to mix my program with it somehow.

    Why can I not debug?
    Why can I only send over some projects files instead of all of them?

    Thanks
    Cart

  2. #2
    Join Date
    Aug 2016
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: QT4.8 Cross compiled can not debug.

    So I installed GDBServer on the Target.
    Now when I debug it says.

    Listening on port 10001
    Remote debugging from host 192.168.0.237
    Process /home/bunutu/project/untitled9 created; pid = 15963
    Architecture rejected target-supplied description
    Killing process(es): 15963

    Any ideas?
    Thanks

  3. #3
    Join Date
    Dec 2015
    Posts
    14
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QT4.8 Cross compiled can not debug.

    Hi,

    For cross compile, did you create a device for your board.

    Check this: http://www.qtcentre.org/threads/6821...cross-compiler

    Kind Regards,

  4. #4
    Join Date
    Jan 2018
    Posts
    1

    Default Re: QT4.8 Cross compiled can not debug.

    Your article is easy to understand, the simple way of communicating is accessible to the majority of people. I will keep track of your posts regularly.
    abcya

Similar Threads

  1. Qt 4.8.4 Cross-Compiled for Embedded Linux fails with QNetworkProxy Error
    By phil999 in forum Installation and Deployment
    Replies: 0
    Last Post: 11th March 2013, 22:02
  2. How to build and install Qt apps on cross compiled embedded targets
    By sveinse in forum Installation and Deployment
    Replies: 2
    Last Post: 30th June 2011, 14:39
  3. Qt cross compiled for uclibc library.
    By Ratheendrans in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 24th June 2011, 06:53
  4. Replies: 2
    Last Post: 24th August 2010, 17:47
  5. Failed to Launch qt 4.4.0 compiled executable in Debug mode
    By nikhilqt in forum Installation and Deployment
    Replies: 2
    Last Post: 25th July 2008, 14:45

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.