[Qt-creator] Debug helper broken in 1.2

Arto Karppinen arto.karppinen at mail.suomi.net
Thu Jul 2 12:46:55 CEST 2009


André Pönitz wrote:
> On Tuesday 30 June 2009 19:54:17 ext Arto Karppinen wrote:
>> When i try to compile debug helper i get:
>>
>> g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DQT_GUI_LIB -DQT_CORE_LIB
>> -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I.
>> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore
>> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.
>> -I. -o gdbmacros.o gdbmacros.cpp
>> gdbmacros.cpp:47:33: error: QtCore/QSharedPointer: No such file or directory
>> gdbmacros.cpp:51:31: error: QtCore/QWeakPointer: No such file or directory
>> gdbmacros.cpp: In function
>> ‘void<unnamed>::qDumpQSharedPointer(<unnamed>::QDumper&)’:
>> gdbmacros.cpp:2083: error: expected initializer before ‘<’ token
>> gdbmacros.cpp:2087: error: ‘ptr’ was not declared in this scope
>> gdbmacros.cpp:2096: error: ‘ptr’ was not declared in this scope
>> make: *** [gdbmacros.o] Error 1
>>
>>
>> Which is not surprising, since i run Ubuntu 8.10, which has Qt 4.4.3,
>> which does not have (as far as i know) Shared or Weak pointers.
> 
> Indeed.
> 
> The problem was fixed already in the master branch but not backported to 1.2.
> I just did that now. So either get it from there, or patch gdbmacros.cpp 
> yourself (by ripping out anything referring to Q{Shared,Weak}Pointer,

Did that already, seems to work fine.

> or wait for the next release from the 1.2 branch.

Ok, thanks.

-- 
Arto Karppinen
------------------------------
arto.karppinen at iki.fi



More information about the Qt-creator-old mailing list