<div>A little change for a big problem for me.</div><div><br></div><div>Thanks Larry!!!<br><div><br><div class="gmail_quote">On Tue, May 22, 2012 at 7:46 PM, Larry Shaffer <span dir="ltr"><<a href="mailto:larrys@dakotacarto.com" target="_blank">larrys@dakotacarto.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Luca,<br><br><div class="gmail_quote"><div><div class="h5">On Tue, May 22, 2012 at 9:34 AM, Larry Shaffer <span dir="ltr"><<a href="mailto:larrys@dakotacarto.com" target="_blank">larrys@dakotacarto.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Luca,<br><br>(sorry if this is a double post - problems setting up mobile device)<span></span><br>On Tuesday, May 22, 2012, Luca Mandolesi wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi,</div><div>after I've updated qgis from 1.7.3 to 1.7.4 under mac os x, my plugin cannot be opened. The button of plugin appear but if I click above, nothing happen!</div><div><br></div><div>What's the matter?</div>
</blockquote><div><br></div><span>This is a known issue with 1.7.4 [0] (though not really an issue with</span><span> <font face="Helvetica" size="3"></font></span><span>QGIS, per se). The plugin may not launch because it still uses some Qt</span> <font face="Helvetica" size="3"></font><span>3 code for that operation (usually activated() instead of triggered()</span> <font face="Helvetica" size="3"></font><span>for QAction connection signal).<br>
</span><span><span></span></span><span><br></span><span><span>Which plugin?</span></span><span><br>
</span><span><span></span></span><span><br></span><span><span>Larry</span></span><span><br></span><span><span></span></span><span><br>
</span><span><span>[0] <a href="http://osgeo-org.1560.n6.nabble.com/OSGEO4W-vs-Mac-OS-X-Qt-version-or-34-plugins-slightly-broken-tp4963580.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/OSGEO4W-vs-Mac-OS-X-Qt-version-or-34-plugins-slightly-broken-tp4963580.html</a></span></span><span></span></blockquote>
</div></div><div><br>Sorry about the multiple emails earlier.<br><br>Looks like your 'pyarchinit_plugin.py' file has 8 occurrences of activated() in the initGui() method. Try switching those signals to triggered(). You may want to check the rest of your plugin for any more Qt 3-only code.<br>
<br>I believe this issue is not currently present on QGIS for Windows or Linux, because the standard Nokia Qt 4.4.x - 4.8.x distributions are compiled with -qt3support, which keeps support for ~580 Qt 3 bits of code in the compiled QtCore, QtGui, etc. modules. It's my understanding that Qt 5 will completely drop such Qt 3 support, however.<br>
<br>Regards,<div class="im"><br><br>Larry Shaffer<br>Dakota Cartography<br>Black Hills, South Dakota <br></div></div></div>
</blockquote></div><br></div></div>