<font face="&#39;trebuchet ms&#39;, sans-serif"><div>I have the following in my CMakeLists.txt:</div><div><div><br></div><div>  install( DIRECTORY &quot;${QT_PLUGINS_DIR}/imageformats&quot;</div><div>
    DESTINATION ${plugin_dest_dir}/plugins</div><div>    COMPONENT Runtime</div><div>    )</div></div><div><br></div><div>This results in the appropriate libraries (libqtiff.dylib included) being installed in my app bundle at</div>


<div>  Contents/MacOS/plugins/imageformats</div><div><br></div><div>Then I have this:</div><div><br></div><div><div><div>  install( CODE &quot;</div><div>    file(GLOB_RECURSE QTPLUGINS</div><div>      \&quot;\${CMAKE_INSTALL_PREFIX}/${plugin_dest_dir}/plugins/imageformats/*${CMAKE_SHARED_LIBRARY_SUFFIX}\&quot;)</div>

<div>    include(BundleUtilities)</div><div>    fixup_bundle( \&quot;${APPS}\&quot;</div><div>                  \&quot;\${QTPLUGINS}\&quot;</div><div>                  \&quot;${DIRS}\&quot;)</div><div>    &quot; COMPONENT Runtime</div>

<div>    )</div></div></div><div><br></div><div>Is it obvious what I am missing?</div><div>I double checked that the QTPLUGINS variable above does, in fact, contain the appropriate shared libraries.  But &quot;fixup_bundle&quot; is entirely mysterious to me...</div>

<div><br></div><div>James</div><div><br></div><br></font><br><div class="gmail_quote">On Fri, Jul 29, 2011 at 10:14 AM, David Cole <span dir="ltr">&lt;<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Probably qtiff4 ...<br>
<br>
You can see the available ones in your Qt build tree at &quot;plugins/imageformats&quot;<br>
<div><div></div><div><br>
<br>
On Fri, Jul 29, 2011 at 12:10 PM, James Sutherland<br>
&lt;<a href="mailto:James.Sutherland@utah.edu" target="_blank">James.Sutherland@utah.edu</a>&gt; wrote:<br>
&gt; The icons are all *.tif images.<br>
&gt; Would that require a plugin?  Do you happen to know what one?<br>
&gt; James<br>
&gt;<br>
&gt; On Thu, Jul 28, 2011 at 9:33 PM, <a href="mailto:clinton@elemtech.com" target="_blank">clinton@elemtech.com</a> &lt;<a href="mailto:clinton@elemtech.com" target="_blank">clinton@elemtech.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Sounds like your icons are in a format supported by a plugin, and the<br>
&gt;&gt; installation has missing that plugin.<br>
&gt;&gt;<br>
&gt;&gt; Clint<br>
&gt;&gt;<br>
&gt;&gt; ----- Reply message -----<br>
&gt;&gt; From: &quot;James Sutherland&quot; &lt;<a href="mailto:James.Sutherland@utah.edu" target="_blank">James.Sutherland@utah.edu</a>&gt;<br>
&gt;&gt; Date: Thu, Jul 28, 2011 8:01 pm<br>
&gt;&gt; Subject: [CMake] CMake QT4 toolbar icons disappear<br>
&gt;&gt; To: &quot;cmake&quot; &lt;<a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have a QT4 application that I am building via CMake.<br>
&gt;&gt; In the build directory where the &quot;local&quot; application is built, it works<br>
&gt;&gt; fine.<br>
&gt;&gt; In the install directory, that application is missing all toolbar icons<br>
&gt;&gt; when it runs (but is otherwise functional).<br>
&gt;&gt; Any ideas what could be causing this?  It must have something to do with<br>
&gt;&gt; the installation process I guess?<br>
&gt;&gt; FWIW, I followed the example code at the link<br>
&gt;&gt; on <a href="http://www.vtk.org/Wiki/BundleUtilitiesExample" target="_blank">http://www.vtk.org/Wiki/BundleUtilitiesExample</a><br>
&gt;&gt; James<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt;&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;<br>
</div></div></blockquote></div><br>