Qt debug libraries

Matthew Huck Matthew.Huck at unlimitedrealities.com
Mon Dec 6 22:30:57 UTC 2010


Hi,
  I'm trying to debug into the Qt libraries for our application, however I need to use "qmake-qt4 -query " from the /usr/debug folder (we're using FindQt4.cmake), but qmake-qt4 is not executable, and if it is 'chmod +x' it complains about not being able to execute binary file.

This is running on a 32bit VM, running maverick,

matthew at matthew-VirtualBox:/usr/lib/debug/usr/bin$ file qmake-qt4
qmake-qt4: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
matthew at matthew-VirtualBox:/usr/lib/debug/usr/bin$ ldd qmake-qt4
     statically linked
matthew at matthew-VirtualBox:/usr/lib/debug/usr/bin$ readelf -h qmake-qt4
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           Intel 80386
  Version:                           0x1
  Entry point address:               0x8049e70
  Start of program headers:          52 (bytes into file)
  Start of section headers:          744 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         9
  Size of section headers:           40 (bytes)
  Number of section headers:         31
  Section header string table index: 28
matthew at matthew-VirtualBox:/usr/lib/debug/usr/bin$ uname -a
Linux matthew-VirtualBox 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux

What do I need to do to use the debug libraries?

Thanks in advance.

Matthew


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20101207/ac863eea/attachment.htm 


More information about the kubuntu-devel mailing list