[vtkusers] [CMake] QT_QTCORE_LIBRARY_DEBUG-NOTFOUND

Dominik Szczerba dominik at itis.ethz.ch
Sat Aug 1 13:42:33 EDT 2009


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




More information about the vtkusers mailing list