Hi, I have worked over a year to understand the  QGIS development and now I try to contribute.<br>The subject is:<br>If we want to create a plugin for QGIS with some folders inside for example on FreeBSD is easy but in Mac Os X using Xcode is not same, because the script for compile the plugin is not really good.<br>
Let&#39;s see the old script:<br>------------------------------------------------------------------<br>mkdir -p &quot;$DERIVED_FILES_DIR&quot;<br><br>cd ../../src/plugins/$TARGET_PLUGINDIR<br><br>UIUI=`ls *.ui`<br><br>for u in $UIUI<br>
do<br>    uh=`echo $u | sed &#39;s,\.ui$,.h,&#39;`<br>    # compare times because output files spec below doesn&#39;t seem to work with wildcards<br>    if [ ! -f &quot;$DERIVED_FILES_DIR/ui_$uh&quot; ] || [ $u -nt &quot;$DERIVED_FILES_DIR/ui_$uh&quot; ] ; then<br>
        rm -f &quot;$DERIVED_FILES_DIR/ui_$uh&quot;<br>        echo &quot;$QTUIC -o \&quot;$DERIVED_FILES_DIR/ui_$uh\&quot; $u&quot;<br>        $QTUIC -o &quot;$DERIVED_FILES_DIR/ui_$uh&quot; $u<br>    fi<br>done<br><br>exit 0<br>
------------------------------------------------------------------<br><br>and now take a look to my new script<br><br>------------------------------------------------------------------<br>mkdir -p &quot;$DERIVED_FILES_DIR&quot;<br>
<br>cd ../../src/plugins/$TARGET_PLUGINDIR<br><br>UIUI=`find . -type f -name &quot;*.ui&quot; | sed &#39;s,.\/,,&#39;`<br><br>for u in $UIUI<br>do<br>    uh=`echo $u | sed &#39;s,[^:]*\/,,&#39; | sed &#39;s,\.ui$,.h,&#39;`<br>
    # compare times because output files spec below doesn&#39;t seem to work with wildcards<br>    if [ ! -f &quot;$DERIVED_FILES_DIR/ui_$uh&quot; ] || [ $u -nt &quot;$DERIVED_FILES_DIR/ui_$uh&quot; ] ; then<br>        rm -f &quot;$DERIVED_FILES_DIR/ui_$uh&quot;<br>
        echo &quot;$QTUIC -o \&quot;$DERIVED_FILES_DIR/ui_$uh\&quot; $u&quot;<br>        $QTUIC -o &quot;$DERIVED_FILES_DIR/ui_$uh&quot; $u<br>    fi<br>done<br><br>exit 0<br>------------------------------------------------------------------<br>
I decided to use the find function and not the ls.<br>what you think?<br>