[vtkusers] Mac OS X x86_64 with Qt-4.5.x,vtk-5.3.x

Clinton Stimpson clinton at elemtech.com
Tue Jan 13 19:36:03 EST 2009


With a simple example, I'm getting a different crash in the Qt 4.5 - 
beta library when configured to use Cocoa.
I've submitted a bug report to Trolltech.

Clint

jonathan grimm wrote:
> Has anyone followed up on this?  Even after the patch, I'm still 
> having the the same crash as Elvis mentioned.
>
> On Fri, Jan 2, 2009 at 11:46 AM, Sean McBride <sean at rogue-research.com 
> <mailto:sean at rogue-research.com>> wrote:
>
>     On 11/25/08 9:37 AM, Clinton Stimpson said:
>
>     >>>> Do I understand correctly that this API takes an ASCII string
>     (of a
>     >>>> base-10 number) that represents a pointer address?!?  That's
>     strange,
>     >>>> no?  This is likely to wreak havoc with Obj-C garbage
>     collection...
>     >>>>
>     >>> Yes, its a string of a base 10 number which one can extract then
>     >>> reinterpret cast back to a native window system handle.
>     >>> The vtkRenderWindow::SetWindowInfo() is called by the GTK, Qt,
>     wx Python
>     >>> codes that interface with VTK.  Of the 3, it looks like Qt is
>     the only
>     >>> one that optionally uses Cocoa now.
>     >>
>     >> Do you happen to know why a string is used?  Seems awfully
>     weird, but I
>     >> assume there is a reason.
>     >I can only guess it is there to support the scripting languages.
>     >Has VTK/Cocoa been used with scripting languages yet?
>
>     I have implemented vtkCocoaRenderWindow::SetWindowInfo() as
>     described in
>     this thread and committed to CVS.  I have not tested this (other than
>     running the unit tests of course) since I don't use Qt.
>
>     See:
>     <http://public.kitware.com/cgi-bin/viewcvs.cgi/Rendering/
>     vtkCocoaRenderWindow.mm?r1=1.62&r2=1.63
>     <http://public.kitware.com/cgi-bin/viewcvs.cgi/Rendering/vtkCocoaRenderWindow.mm?r1=1.62&r2=1.63>>
>
>     Elvis, care to try?
>
>     --
>     ____________________________________________________________
>     Sean McBride, B. Eng                 sean at rogue-research.com
>     <mailto:sean at rogue-research.com>
>     Rogue Research                        www.rogue-research.com
>     <http://www.rogue-research.com>
>     Mac Software Developer              Montréal, Québec, Canada
>
>
>     _______________________________________________
>     This is the private VTK discussion list.
>     Please keep messages on-topic. Check the FAQ at:
>     http://www.vtk.org/Wiki/VTK_FAQ
>     Follow this link to subscribe/unsubscribe:
>     http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>
> -- 
> Sometimes it's hard to tell the dancer from the dance - Corwin in CoC




More information about the vtkusers mailing list