<div dir="ltr">Hello Detlev<br><div>Macports creates the following symlink /opt/local/bin/designer -> /Applications/MacPorts/Qt4/Designer.app/Contents/MacOS/Designer<div style>and when I saw Eric4 pointing the Qt4 directory to /opt/local/bin I thought it was correct. I adjusted the Qt4 directory in Eric4 preferences to</div>
<div style>/Applications/MacPorts/Qt4 and now I can launch designer from within Eric4. </div></div><div style><br></div><div style>Thanks for your help.</div><div style><br></div><div style>-Srini</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Apr 21, 2013 at 1:19 PM, Detlev Offenbach <span dir="ltr"><<a href="mailto:detlev@die-offenbachs.de" target="_blank">detlev@die-offenbachs.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div style="font-family:'Liberation Sans';font-size:9.5pt;font-weight:400;font-style:normal">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Hello,</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">it is probably caused by the way eric searches for the Qt tools. I adjusted it only to the official Qt installer, which creates an application bundle. Please give the paths of the tools as generated by macports. Maybe I can adjust to that as well.</p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Detlev</p><div><div class="h5"><br><br>On Sunday 21 April 2013, 10:59:40 Srinivas Nyayapati wrote:<br></div></div><p></p><div><div class="h5">

<p style="margin-top:12px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">Hello</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">I am trying to follow the Eric4 minibrowser tutorial. I am at the stage where one needs to launch designer by double clicking the .ui file. I see an error window when i try open the .ui file with the following message -</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600"><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">"Could not start Qt-Designer. Ensure that it is available as ."</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600"><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">I am running mountain lion 10.8.2</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">I installed the following from macports -</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600"><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">Python 2.7.3</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">QT 4.8.4</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">PyQt 4.10.0</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">QScintilla 2.4.6</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">Sip 4.14.5</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600"><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">I then got the latest source code of Eric4 4.5.10 and installed that. I can also open designer from the command line. It's when I am trying to launch this from Eric4, I see the error. </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600"><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">I did a search for this error, and found a similar problem somebody had in 2008. The message was slightly different and that thread did not help.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600"><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">Another thing I should mention is that before I went the macports route.. I installed the complete bundle for PyQt from pyqtx. This was installed on python 2.7.2 I installed from </span><a href="http://python.org" target="_blank"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600;text-decoration:underline;color:#0057ae">python.org</span></a><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">. </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">I abandoned that route and went the macports way. </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600"><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">I did make sure I was using the right version of python when I was installing all the different packages.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600"><br></span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><span style="font-family:'Noteworthy';font-size:18px;font-weight:600">Has anybody else seen this problem? Can you help me resolve this issue?</span><br>
-Srini</p>
</div></div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br><br>-- </p>
<p style="margin-top:12px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-size:11pt;font-weight:600">Detlev Offenbach</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a href="mailto:detlev@die-offenbachs.de" target="_blank">detlev@die-offenbachs.de</a></p></div><br>_______________________________________________<br>

Eric mailing list<br>
<a href="mailto:Eric@riverbankcomputing.com">Eric@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/eric" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/eric</a><br>
<br></blockquote></div><br></div></div>