HI, i have read in some forums that gdb 7+ is not compatible with Qt.
Is this still the case?
If so how do i get a gdb version that works with Qt4.7 on Ubuntu Natty (11.04)
I have build a shared library in Qt4.7
When compiling a gui app that uses this shared libary, i get the following error:
Sometimes i get this error:&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
The debugger works (does hit breakpoints) in qt when i debug a normal gui application, but gives this in the application output:&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
Or is my problem more that the shared library is not found by the application, during debugging?Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
If thats the case how do i fix that?
I did create a Qt.conf file like this post suggest http://www.qtcentre.org/threads/2650...614#post160614
but still i get the errors above, and here is it again:
Any help will be highly appreciated&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
HI, i have read in some forums that gdb 7+ is not compatible with Qt.
Is this still the case?
If so how do i get a gdb version that works with Qt4.7 on Ubuntu Natty (11.04)
I have build a shared library in Qt4.7
When compiling a gui app that uses this shared libary, i get the following error:
Sometimes i get this error:&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
The debugger works (does hit breakpoints) in qt when i debug a normal gui application, but gives this in the application output:&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
Or is my problem more that the shared library is not found by the application, during debugging?Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
If thats the case how do i fix that?
I did create a Qt.conf file like this post suggest http://www.qtcentre.org/threads/2650...614#post160614
but still i get the errors above, and here is it again:
Any help will be highly appreciated&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
HI, i have read in some forums that gdb 7+ is not compatible with Qt.
Is this still the case?
If so how do i get a gdb version that works with Qt4.7 on Ubuntu Natty (11.04)
I have build a shared library in Qt4.7
When compiling a gui app that uses this shared libary, i get the following error:
Sometimes i get this error:&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
The debugger works (does hit breakpoints) in qt when i debug a normal gui application, but gives this in the application output:&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
Or is my problem more that the shared library is not found by the application, during debugging?Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
If thats the case how do i fix that?
I did create a Qt.conf file like this post suggest http://www.qtcentre.org/threads/2650...614#post160614
but still i get the errors above, and here is it again:
Any help will be highly appreciated&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
Added after 1 32 minutes:
HI, after playing around with ldconfig, i figured out that the libSymgenAPI.so.1 is not a symbolic link, after i corrected that i could run
and the chache for ldconfig was updated and libSymgenAPI.so.1 was part of it.
So the Qt.conf file in /etc/ld.so.conf.d/ directory did work for me, according to this post http://www.qtcentre.org/threads/2650...614#post160614
BUt i had to execute the ldconfig -v command for qt to get the shared library at runtime.
So the error:
is sorted out.~/dev/cpp/symgen/SymgenAPITest-build-desktop/SymgenAPITest: error while loading shared libraries: libSymgenAPI.so.1: cannot open shared object file: No such file or directory
The error
still remains?Debugging starts
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Bookmarks