[vtkusers] Qt, VTK and Mac OSX 10.6.1

Michael Jackson mike.jackson at bluequartz.net
Wed Dec 16 17:42:09 EST 2009


> CMAKE_OSX_ARCHITECTURES

use i386 | x86_64 | ppc | ppc64 as the valid combinations for that  
parameter. If you want a "Universal Binary" then put 2 of them for the  
Varible.
> CMAKE_OSX_ARCHITECTURES=i386;x86_64


_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio

On Dec 16, 2009, at 5:32 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-leopard-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.
>
> 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
> _______________________________________________
> 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




More information about the vtkusers mailing list