<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Hi, <br>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. <br><br>Regards,<br>Rashid<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> David Partyka <david.partyka@kitware.com><br><b><span style="font-weight: bold;">To:</span></b> Rashid Tanweer <quantum_cook@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> vtkusers@vtk.org<br><b><span
style="font-weight: bold;">Sent:</span></b> Mon, May 9, 2011 3:46:51 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] VTK + QT Application backward versioning on Mac<br></font><br>
Did you build QT yourself? If so did you also target it for 10.5? Are you using any other dependencies such as python?<br><br><div class="gmail_quote">On Mon, May 9, 2011 at 6:40 AM, Rashid Tanweer <span dir="ltr"><<a rel="nofollow" ymailto="mailto:quantum_cook@yahoo.com" target="_blank" href="mailto:quantum_cook@yahoo.com">quantum_cook@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"><div style="color: rgb(0, 0, 0); font-family: arial,helvetica,sans-serif; font-size: 10pt;">
Hi, </div><div><font face="arial, helvetica, sans-serif" size="2">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 </font></div>
<div><font face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font color="#ff0000" face="arial, helvetica, sans-serif" size="2"><b>"Check with the developer to
make sure VDSim works with this version of MacOS X. You may need to reinstall the application ..."</b></font></div><div><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;"><br>
</span></b></span></div><div><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;">Following is my CMAKE Configuration</span></b></span></div>
<div><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;"><br>BUILD_EXAMPLES <span style="white-space: pre-wrap;">                        <br>        </span>checked<br>BUILD_SHARED_LIBS<span style="white-space: pre-wrap;">                                </span></span></b></span><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;">checked</span></b></span></div>
<div><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;">CMAKE_OSX_ARCHITECTURES<span style="white-space: pre-wrap;">                </span>x86_64</span></b></span></div>
<div><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;">CMAKE_OSX_DEPLOYMENT_TARGET
10.5<br>CMAKE_OSX_SYSROOT<span style="white-space: pre-wrap;">                                /Developer/SDKs/MacOSX10.5.sdk</span></span></b></span></div><div><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;"><span style="white-space: pre-wrap;">V</span>TK_USE_COCOA<span style="white-space: pre-wrap;">                                        </span>checked<br>
VTK_USE_CARBON<span style="white-space: pre-wrap;">                                        </span>unchecked</span></b></span></div><div><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;">VTK_USE_QT<span style="white-space: pre-wrap;">                                                </span>checked</span></b></span></div>
<div><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;">VTK_USE_QVT_QTOPENGL<span style="white-space: pre-wrap;">                        </span>checked</span></b></span></div>
<div><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;"><br></span></b></span></div><div><font face="arial, helvetica, sans-serif" size="2">I have also ran following command on the terminal</font></div>
<div><font face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font face="arial, helvetica, sans-serif" size="2">
<p>export MACOSX_DEPLOYMENT_TARGET=10.5</p><p><br></p><p>Every thing in my application compiles with both QT Creator and XCode but does not execute by giving the error as mentioned above.</p><p><br></p><p><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;">Can someone please let me know is there anything else i need to do.</span></b></span></p>
<p><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;"><br></span></b></span></p><p><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;">Regards,</span></b></span></p>
<p><span style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif; font-size: small;"><b><span style="color: rgb(0, 0, 0); font-weight: normal;">Rashid</span></b></span></p></font></div><div style="color: rgb(0, 0, 0); font-family: arial,helvetica,sans-serif; font-size: 10pt;">
</div>
</div></div><br>_______________________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br><span>
Visit other Kitware open-source projects at <a target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br>
<br><span>
Please keep messages on-topic and check the VTK FAQ at: <a target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a></span><br>
<br>
Follow this link to subscribe/unsubscribe:<br><span>
<a target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a></span><br>
<br></blockquote></div><br>
</div></div>
</div></body></html>