[vtkusers] Qt, VTK and Mac OSX 10.6.1

Anja Ende anja.ende at googlemail.com
Thu Dec 17 06:05:29 EST 2009


Hello,

Thanks for the replies. I tried both i386 and x86_64 and the same
errors happened both times :(

I will try a different version of Qt and see if I can sort it out.

Cheers,
Anja

2009/12/16 Clinton Stimpson <clinton at elemtech.com>:
>
> On Wednesday 16 December 2009 03:32:58 pm Anja Ende wrote:
>> Thanks for that. I saw the posts as well.
>>
>> http://www.qtcentre.org/forum/f-installation-and-deployment-5/t-snow-leopar
>>d-broke-my-qt-23679.html#post114892
>>
>> However, I have a quick question. So, I have Qt installed and I am
>> trying to build VTK, which does not use a PRO file. Do you know which
>> VTK CMAKE variable should be changed to have this effect. I tried
>> changing CMAKE_OSX_ARCHITECTURE to x86 and that did not help.
>
> Oh, so you were doing a 64 bit build before?
> Just set CMAKE_OSX_ARCHITECTURES to i386.
>
> Clint
>
>>
>> Many thanks,
>>
>> Anja
>>
>> 2009/12/16 Clinton Stimpson <clinton at elemtech.com>:
>> > Qt 4.5 isn't officially supported on Mac 10.6, but there are workarounds.
>> > The Qt blogs and forums talk about that specific compile error.
>> >
>> > Clint
>> >
>> > On Wednesday 16 December 2009 04:56:19 am Anja Ende wrote:
>> >> Hello,
>> >>
>> >> I am trying to get Qt version 4.5.2 working on a Macbook running OSX
>> >> version 10.6.1.
>> >>
>> >> I am using the latest VTK version and actually tried various Qt 4
>> >> versions but they all fail with the following error:
>> >>
>> >> /Library/Frameworks/QtGui.framework/Headers/qregion.h: In member
>> >> function ‘OpaqueRgnHandle* QRegion::handle(bool) const’:
>> >> /Library/Frameworks/QtGui.framework/Headers/qregion.h:158: error:
>> >> ‘toQDRgn’ was not declared in this scope
>> >>
>> >> I guess this error is really coming from Qt rather than VTK but I was
>> >> wondering if someone has experienced this here and have found some way
>> >> to work around it. Maybe I need to configure Qt in a special way to
>> >> get this working?
>> >>
>> >> Any ideas what I could try? Would be very grateful for your help.
>> >>
>> >> Cheers,
>> >>
>> >> Anja
>> >> _______________________________________________
>> >> Powered by www.kitware.com
>> >>
>> >> Visit other Kitware open-source projects at
>> >> http://www.kitware.com/opensource/opensource.html
>> >>
>> >> Please keep messages on-topic and check the VTK FAQ at:
>> >> http://www.vtk.org/Wiki/VTK_FAQ
>> >>
>> >> Follow this link to subscribe/unsubscribe:
>> >> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



-- 
Cheers,

Anja



More information about the vtkusers mailing list