[Insight-users] Problem with QtItk example

Julien Jomier jjomier at cs.unc.edu
Tue Dec 7 21:32:57 EST 2004


Hi Nicolaus,

I just replicated the problem. One again bcc is picky...
One fix is to comment out the SetCallbackFunction() corresponding to the 
int and double types in the QtSlotAdaptor class (in the itkQtAdaptor.h 
file).

Are you using the Non-Commercial (2.3) version of Qt? If yes I think 
there is no way to use it with the bcc5.5 (correct me if I'm wrong).

Hope this helps,

Julien

Nicolaus Andratschke wrote:
> Hi,
> 
> when I compile the QtITK example with ITK1.8 and
> BCC5.5, then I get the following error:
> 
> qtITK.cxx 92:Ambiguity between
> 'itk::QtSlotAdaptor<itk::AddImageFilter<itk::Image<float,2>,
> itk::Image<float,2>,itk::Image<float,2> >
> 
>>::SetCallbackFunction(itk::AddImageFilter<itk::Image<float,
> 
> 2>, itk::Image<float, 2>, itk::Image<float, 2> >
> *,void (itk::AddImageFilter<itk::Image<float, 2>,
> itk::Image<float, 2>, itk::Image<float, 2> > ::*)())'
> and
> 'itk::QtSlotAdaptor<itk::AddImageFilter<itk::Image<float,2>,
> itk::Image<float,2>,itk::Image<float,2> >
> 
>>::SetCallbackFunction(itk::AddImageFilter<itk::Image<float,
> 
> 2>, itk::Image<float, 2>, itk::Image<float, 2> >
> *,void (itk::AddImageFilter<itk::Image<float, 2>,
> itk::Image<float, 2>, itk::Image<float, 2> >
> ::*)(int))' in function main(int, char* *)
> 
> Any ideas?
> 
> Thanks, NIC
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - now with 250MB free storage. Learn more.
> http://info.mail.yahoo.com/mail_250
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 


More information about the Insight-users mailing list