[vtkusers] VTK + QT Application backward versioning on Mac

Rashid Tanweer quantum_cook at yahoo.com
Wed May 11 03:35:03 EDT 2011



Hi, 
Nops, as it is written on QT website the current version of QT is supported by 
Mac OSX 10.4 onwards. Also there is no dependency on Python etc. Anyway, i found 
a solution by experimenting that when i use static libs for vtk and then deploy 
it it work perfectly fine. 


Regards,
Rashid



________________________________
From: David Partyka <david.partyka at kitware.com>
To: Rashid Tanweer <quantum_cook at yahoo.com>
Cc: vtkusers at vtk.org
Sent: Mon, May 9, 2011 3:46:51 PM
Subject: Re: [vtkusers] VTK + QT Application backward versioning on Mac

Did you build QT yourself? If so did you also target it for 10.5? Are you using 
any other dependencies such as python?


On Mon, May 9, 2011 at 6:40 AM, Rashid Tanweer <quantum_cook at yahoo.com> wrote:

Hi, 
>I have successfully Built and compiled VTK with QT on Mac osx 10.6.7. Then 
>according to the requirements I changed configuration in CMAKE so that the 
>target version is 10.5. I compiled VTK with QT again and it was successful, with 
>cones tutorials examples running. But whenever i compile my own application 
>which is built using QVTK Widget i got this error 
>
>
>"Check with the developer to  make sure VDSim works with this version of MacOS 
>X. You may need to reinstall the application ..."
>
>
>Following is my CMAKE Configuration
>
>BUILD_EXAMPLES      
>checked
>BUILD_SHARED_LIBSchecked
>CMAKE_OSX_ARCHITECTURESx86_64
>CMAKE_OSX_DEPLOYMENT_TARGET      10.5
>CMAKE_OSX_SYSROOT/Developer/SDKs/MacOSX10.5.sdk
>VTK_USE_COCOAchecked
>VTK_USE_CARBONunchecked
>VTK_USE_QTchecked
>VTK_USE_QVT_QTOPENGLchecked
>
>
>I have also ran following command on the terminal
>
>
>export MACOSX_DEPLOYMENT_TARGET=10.5
>
>
>Every thing in my application compiles with both QT Creator and XCode but does 
>not execute by giving the error as mentioned above.
>
>
>Can someone please let me know is there anything else i need to do.
>
>
>Regards,
>Rashid
>_______________________________________________
>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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110511/0dca0455/attachment.htm>


More information about the vtkusers mailing list