[Qt-creator] Templated Shared libraries code completion

Antonin Perrot-Audet antonin07130 at gmail.com
Sat Apr 17 07:05:35 CEST 2010


Hello,
I am using shared libraries in a project (ITK libraries). Those are 
compiled and installed in usr/local/lib/InsightToolkit and headers are 
in usr/local/include/InsightToolkit

The project is Cmake based, it compiles and work, but I can't figure out 
how to make the QT-creator code completion ork : for instance, with the 
following code,


#include <itkThresholdImageFilter.h>

typedef itk::ThresholdImageFilter< ImageType > ThresholdFilterType;

ThresholdFilterType::Pointer ThresholdFilter = ThresholdFilterType::New();


QT-creator don't give a completion list for the methods & types like 
"Pointer" or "New()"
once the object created, it wont give any completion list when typing :

ThresholdFilter->


Does anyone have a solution ?

thanks

-- 
Anto




More information about the Qt-creator-old mailing list