[vtkusers] How to build Qt-4.5.x and vtk-5.3.x for Mac OS X 10.5.5 with 64-bit Cocoa support

Sean McBride sean at rogue-research.com
Tue Oct 21 18:26:33 EDT 2008


On 10/22/08 2:10 AM, Elvis Dowson said:

>          I just downloaded the latest version of Qt-4.5.x and managed  
>to get it to compile under Mac OS X 10.5.5 with 64-bit Cocoa support.

Great!

>Technote: How to build Qt-4.5.x and vtk-5.3.x for Mac OS X 10.5.5 with  
>64-bit Cocoa support

Might I suggest putting this somewhere in the wiki:
<http://www.vtk.org/Wiki/VTK>

Not sure which section...

># environment variables for qt-4.4.3
>export QTROOT=/Developer/Applications/Qt-4.5.0
>export QT_PLUGIN_PATH=/Developer/Applications/Qt-4.5.0/plugins/designer

Did you choose these paths or did the Qt people?  It seems like a bad
choice, since /Developer is reserved for Xcode.  Somewhere in ~ would
probably be better.

>Once everything is built, type the following command to install Qt-4.5.0
>
>sudo make install

You might not need the sudo if you don't use /Developer.

>VTK_USE_64BIT_IDS=ON

Is that really needed?  Or did you turn it on because it has 64bit in
the name? :)

Excellent work!

-- 
____________________________________________________________
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