Unfortunately, the qt examples on the wiki are not build every night. The other c++ examples are synced every night and built.<div><br></div><div>To fix an example, edit/add the code on the wiki.</div><div><br></div><div>Also, let me know which files are not being synced with the git repo. I&#39;ll correct the nightly sync script to correct that.</div>
<div><br></div><div>Thanks,</div><div><br></div><div>Bill<br><br><div class="gmail_quote">On Mon, Oct 22, 2012 at 12:27 AM, Juan Cardelino <span dir="ltr">&lt;<a href="mailto:juan.cardelino@gmail.com" target="_blank">juan.cardelino@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
            These days I started trying the Qt examples on the wiki<br>
and it was really hard at first. Now that I have them working, I would<br>
like to point out some issues I found.<br>
1) For a long time ITK and VTK user, it is faster and more comfortable<br>
to use the examples from GIT rather than from the wiki. When I got the<br>
examples from git I found two issues:<br>
a) The qt examples and the wiki are not in sync. At first I couldn&#39;t<br>
make them work, because I didn&#39;t know some files where generated from<br>
the .ui file, which BTW is missing from the git repo.<br>
b) The qt examples are not built by default and I did not find an easy<br>
way to enable them. Maybe the missing .ui file is related to this<br>
issue.<br>
c) either a) and b) are correct, or I am missing something. If I&#39;m<br>
missing something, this means that we need a better documentation to<br>
make whats needed clear.<br>
2) After failing with the git examples, I&#39;ve fallen back to the wiki.<br>
Once copy/pasted everything I found out two problems:<br>
a) On osx with cmake 2.8.6, it will fail, because some escape<br>
sequences were missing. See the following post for an explanation:<br>
<a href="http://www.vtk.org/pipermail/vtk-developers/2012-May/011548.html" target="_blank">http://www.vtk.org/pipermail/vtk-developers/2012-May/011548.html</a>.<br>
Using cmake 2.8.9 the problem is gone.<br>
b) The CMakeLists.txt is incorrect. The line: TARGET_LINK_LIBRARIES(<br>
RenderWindowUIMultipleInheritance QVTK ) does not work. I don&#39;t have<br>
libQVTK on any of my systems. It should read: TARGET_LINK_LIBRARIES(<br>
RenderWindowUIMultipleInheritance ${VTK_LIBRARIES} ${QT_LIBRARIES} )<br>
or at least:<br>
TARGET_LINK_LIBRARIES( RenderWindowUIMultipleInheritance<br>
${VTK_LIBRARIES} ). I did not test the second one.<br>
<br>
All those minor issues are really a stopper for a newcomer to Qt, even<br>
being proficient in Cmake and VTK. I&#39;m not asking for any work, but<br>
offering it. I volunteer to correct those minor things. It passed some<br>
time since I contributed examples so I don&#39;t remember the proper way<br>
to correct them. Is directly the wiki the proper place?<br>
The cmake issue in particular, made me think about the necessity of<br>
adding a little readme to the each example, or at least to the whole<br>
wiki section. Is there a standard way to do it? Because that cmake<br>
issue will occur in every Qt example and putting a small notice could<br>
help the newcomer.<br>
<br>
Thanks in advance.<br>
Best regards,<br>
                    Juan<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div>