[vtkusers] QVTKWidget and MacOS problems
    Sean McBride 
    sean at rogue-research.com
       
    Thu Dec  4 13:50:22 EST 2014
    
    
  
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
    
    
More information about the vtkusers
mailing list