[vtkusers] QVTKWidget and MacOS problems

Nick Patterson pattersonnp at gmail.com
Thu Dec 4 14:21:06 EST 2014


This is something that only affects QVTKWidget (any of the VTK only examples… i.e. doesn’t involved QVTKWidget) work perfectly well. I will look through your link to see if there is any solution there.


> On 4 Dec 2014, at 18:50, Sean McBride <sean at rogue-research.com> wrote:
> On Thu, 4 Dec 2014 02:58:56 -0700, mbcx9rb9 said:
>> You are right, the problem is caused by the retina display having four times
>> the resolution. Qt has it right, but VTK seems to display to the bottom left
>> pixel group. I have managed to get around this by running the created .app
>> in low resolution mode. To do this:
>> Right click on the *.app file
>> Get Info
>> Open in low resolution mode
>> Close the Get Info window and run program
>> Let me know if this works for you, Nick. This is an annoying workaround
>> since it means I can no longer run the program from Qt Creator directory,
>> but at least it works.
> Can you repro the issue with one of VTK's C++ examples?  Or must Qt be involved?
> You could try setting NSHighResolutionCapable to NO in your Info.plist, see here:
> <https://developer.apple.com/library/mac/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/HighResolutionOSX.pdf>
> Cheers,
> -- 
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com 
> Mac Software Developer              Montréal, Québec, Canada
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers

More information about the vtkusers mailing list