<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=264175619-19022011><FONT face=Arial color=#0000ff size=2>Hi
Giuseppe</FONT></SPAN>
</DIV>
<DIV><SPAN class=264175619-19022011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=264175619-19022011><FONT face=Arial color=#0000ff size=2>thanks
for your investigation! I updated the code. Please try
v0.5.2.</FONT></SPAN>
</DIV>
<DIV><SPAN class=264175619-19022011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=264175619-19022011><FONT face=Arial color=#0000ff
size=2>regards</FONT></SPAN>
</DIV>
<DIV><SPAN class=264175619-19022011><FONT face=Arial color=#0000ff
size=2>Stefan</FONT></SPAN>
</DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT face="Times New Roman" size=2>-----Ursprüngliche
Nachricht-----<BR>
<B>Von:</B> Giuseppe Sucameli
[mailto:sucameli@faunalia.it]<BR>
<B>Gesendet am:</B> Mittwoch, 16. Februar
2011 19:33<BR>
<B>An:</B> Ziegler Stefan<BR>
<B>Cc:</B> Paolo Cavallini;
qgis-developer@lists.osgeo.org<BR>
<B>Betreff:</B> Re: [Qgis-developer] Re:CAD
Tools: icons not visible<BR>
</DIV></FONT>
<P>
Hi all, <BR>
today it happens on my Ubuntu too!<BR>
<BR>
Here the fix:<BR>
1.
move the resources.qrc into the main plugin dir (cadtools/)<BR>
2. edit paths
to the icons in resources.qrc fitting them to the new position<BR>
3. generate
the resources.py: <SPAN style="FONT-FAMILY: courier new,monospace">pyrcc4 -o
resources.py resources.qrc</SPAN><BR>
4. change all the instances of "<SPAN
style="FONT-FAMILY: courier new,monospace">import resources</SPAN>" to "<SPAN
style="FONT-FAMILY: courier new,monospace">from cadtools import
resources</SPAN>"<BR>
<BR>
And to avoid unnecessary path on the enviroment path
variable:<BR>
1. open cadtools.py in editing<BR>
<BR>
2. remove the following
line:<BR>
<SPAN style="FONT-FAMILY: courier new,monospace">sys.path.append(
os.path.abspath( os.path.dirname( __file__) + '/tools' ) )</SPAN><BR>
<BR>
3.
change all the tool import from (e.g lineintersectiontool):<BR>
<SPAN
style="FONT-FAMILY: courier new,monospace">from lineintersectiontool import
LineIntersectionTool</SPAN><BR>
to<BR>
<SPAN
style="FONT-FAMILY: courier new,monospace">from tools.lineintersectiontool
import LineIntersectionTool</SPAN><BR>
except "from cadtoolsaboutgui import
CadToolsAboutGui"<BR>
<BR>
4. create an empty tools/__init__.py file<BR>
<BR>
And
if you have time, <BR>
remove the unused cadsettings.ui and ui_cadsettings.py
from the main plugin dir<BR>
<BR>
Now all should work ok!<BR>
Cheers.<BR>
<DIV class=gmail_quote><BR>
On Sat, Dec 25, 2010 at 10:35 AM, aperi2007 <SPAN
dir=ltr><<A
href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
Il
25/12/2010 10:31, Paolo Cavallini ha scritto:
<DIV class=im><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
Il
giorno sab, 25/12/2010 alle 10.14 +0100, aperi2007 ha scritto:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Can
anybody see the icons in other 64bit installations?<BR>
All the
best.<BR>
</BLOCKQUOTE>
In Win7 - 64bit installation from os4geo
(qgis-dev)<BR>
I see them.<BR>
</BLOCKQUOTE>
Thanks - is this a real
64bit?<BR>
All the best.<BR>
</BLOCKQUOTE>
<BR>
</DIV>The win7 I'm using is the
64bit version . Is a really 64bit version.<BR>
But qgis-dev is the 32 bit
version (from osgeo4 installer)<BR>
<BR>
Andrea.
<DIV>
<DIV></DIV>
<DIV
class=h5><BR>
<BR>
_______________________________________________<BR>
Qgis-developer
mailing list<BR>
<A target=_blank
href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</A><BR>
<A
target=_blank
href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</A><BR>
</DIV></DIV></BLOCKQUOTE>
</DIV><BR>
<BR
clear=all>
<BR>
-- <BR>
Giuseppe Sucameli<BR>
<BR>
<P>
</P></BLOCKQUOTE></BODY></HTML>