[Insight-users] Required QT Version For Building QT-Dependent Examples In InsightApplications?

John Drescher drescherjm at gmail.com
Wed Mar 31 13:52:40 EDT 2010


On Wed, Mar 31, 2010 at 1:12 PM, Constantine Zakkaroff <mnkz at leeds.ac.uk> wrote:
> Hello ALL,
>
> I'm trying to build QtITKExample with QT-4.6.2 and I get these messages:
>
> Error   1       fatal error C1083: Cannot open include file: 'qbutton.h': No
> such file or directory     c:\workspace\qtitk\itkQtLightIndicator.h        2
>       QtITK
> Error   2       error C2661: 'QProgressBar::QProgressBar' : no overloaded
> function takes 2 arguments    c:\Workspace\QtITK\itkQtProgressBar.cxx 31
>  QtITK
> Error   3       error C2039: 'setTotalSteps' : is not a member of
> 'itk::QtProgressBar'  c:\Workspace\QtITK\itkQtProgressBar.cxx 36      QtITK
> Error   4       error C2039: 'totalSteps' : is not a member of
> 'itk::QtProgressBar'     c:\Workspace\QtITK\itkQtProgressBar.cxx 65
>  QtITK
> Error   5       error C2039: 'setProgress' : is not a member of
> 'itk::QtProgressBar'    c:\Workspace\QtITK\itkQtProgressBar.cxx 67
>  QtITK
> Error   6       error C2039: 'totalSteps' : is not a member of
> 'itk::QtProgressBar'     c:\Workspace\QtITK\itkQtProgressBar.cxx 84
>  QtITK
> Error   7       error C2039: 'setProgress' : is not a member of
> 'itk::QtProgressBar'    c:\Workspace\QtITK\itkQtProgressBar.cxx 86
>  QtITK
>
> I checked QT source/include files, documentation and it appears that the
> messages indicate that QtITKExample was meant to be compiled with some older
> version of QT.
>

Ahh. I found it. You are talking about the one in InsightApplications.
The cvs says that is 7 years old. I would not expect that to work with
any current Qt versions.

http://public.kitware.com/cgi-bin/viewcvs.cgi/QtITK/?root=InsightApplications

John


More information about the Insight-users mailing list