[vtkusers] [CMake] QT_QTCORE_LIBRARY_DEBUG-NOTFOUND

Dominik Szczerba dominik at itis.ethz.ch
Sat Aug 1 14:35:36 EDT 2009


Many thanks, I did not know that... (But then again, how could I?) That 
explains NOTFOUND, if a human user can not find it... But as posted 
before, accepting NOTFOUND with no action like 
-DQT_QTCORE_LIBRARY_DEBUG=/usr/lib/libQtCore.so.4.5.0 I still get the 
debugging symbols in the backtrace. I have no *.debug files mentioned 
before... I do not like this because it leaves me uncertain if I am 
doing the right thing or confusing the debugger (and yes, at the moment 
my backtrace is rather enigmatic). I will probably compile QT myself and 
recompile my VTK build to have a bigger control.
Many thanks for valuable remarks,
Dominik


Pau Garcia i Quiles wrote:
> Hello,
> 
> Check /usr/lib/debug/usr/lib
> 
> On Sat, Aug 1, 2009 at 7:42 PM, Dominik Szczerba<dominik at itis.ethz.ch> wrote:
>> Yes indeed, I was confused by Windows where one has separate libs e.g.
>> QtCore and QtCored. Still, I do not have any /usr/lib/libQt*debug files (I
>> DID install the qt-dbg pacgages) but the symbols are somehow there in the
>> debugger backtrace despite debug versions NOTFOUND. It's a quite confusing.
>> But many thanks for clarifications!
>> -- Dominik
>>
>> Clinton Stimpson wrote:
>>> On 08/01/2009 01:28 AM, Dominik Szczerba wrote:
>>>> Hi,
>>>>
>>>> I want to build vtk with cmake using QT in debug mode on linux. I have
>>>> tried both installing the system QT debug symbols package (Ubuntu) as well
>>>> as compiling QT myself with (debug-and-release mode), but cmake keeps
>>>> displaying:
>>>>
>>>> QT_QTCORE_LIBRARY_DEBUG-NOTFOUND
>>>>
>>>> My CMAKE_BUILD_TYPE is DEBUG. How can I force the use of QT debug
>>>> version?
>>>>
>>>> - Dominik
>>>>
>>> Qt typically gives a .debug file for debug symbols.  So that would be a
>>> libQtCore.so and libQtCore.so.debug instead of libQtCore.so and
>>> libQtCored.so.  Its fine for QT_QTCORE_LIBRARY_DEBUG to be NOTFOUND, if you
>>> have a .debug file.  Or if you configured Qt with -debug and it gave you a
>>> debug library with the name of a release library, you can ignore that
>>> QT_QTCORE_LIBRARY_DEBUG is NOTFOUND.
>>>
>>> Clint
>>>
>>>
>>
>> --
>> d o m i n i k   s z c z e r b a ,   p h d . . . . . . . . . . .
>> c o m p u t a t i o n a l   l i f e   s c i e n c e   g r o u p
>> . . . . . . . i t ' i s   r e s e a r c h   f o u n d a t i o n
>> . . . . . . . . . . . . . . . . . . . . http://www.itis.ethz.ch
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
> 
> 
> 


-- 
d o m i n i k   s z c z e r b a ,   p h d . . . . . . . . . . .
c o m p u t a t i o n a l   l i f e   s c i e n c e   g r o u p
. . . . . . . i t ' i s   r e s e a r c h   f o u n d a t i o n
. . . . . . . . . . . . . . . . . . . . http://www.itis.ethz.ch




More information about the vtkusers mailing list