[Eric] Eric4 QT configuration

Claude Cherton cherton38 at skynet.be
Fri Aug 26 22:48:52 BST 2011


Dear Pietro Moras,

I thank you for your help. I'm sorry for my late answer: U was abroad for two weeks.

Q1) Eric version along with used other software are as follows:
Python
2.6.7
Qt
4.7.3
PyQt
4.8.4
sip
4.12.2
QScintilla
2.4.6
eric4
4.4.8 (r3828)

Q2) I just followed instructions of tutorial at <http://eric-ide.python-projects.org/tutorials/MiniBrowser/index.html>
Everything goes fine up to the moment I ask to create the main window: after closing dialog asking me its name and where to save it, Qt designer didn't open.

However, from that time, I have make some progress.

1) At terminal, launching Eric4, I notice it didn't find designerqt4. In fact, looking in my "/Developer/Applications/Qt/" directory, I found designer was named "Qt designer". I just change its name and the above error was fixed.

2) After that, I made the main window in Qt, save it and came back to eric. Trying to compile the form, I got a message that "pyuic4" was not available. I copy it to an accessible path and it was also fixed.

I have not yet been further.

However, it remains three warning messages at the terminal when launching eric4:

Warning: translation file 'qt_en_US'could not be loaded.
Using default.
Warning: translation file 'eric4_en_US'could not be loaded.
Using default.
Warning: translation file 'qscintilla_en_US'could not be loaded.
Using default.

I did try to find those files on my disk or something sililar in concerned directories: I didn't find anything. I hope not to have trouble later!

I am sorry to have been so long: I didn't find any shorter way to say all that.

Regards,

C.C.

On 10 Aug 2011, at 13:00, eric-request at riverbankcomputing.com wrote:

> Hi,
> 
> Thanks for your fast answer. However, I am still with the same problem: I can't find how to use integration with Qt. When I try to create a form, it works fine but the Qt creator environment doesn't appear. What did I try after creating my main window:
> 
> - double clicking on its .ui file in project viewer => I get the code in the editor;
> - right clicking on it, choosing 'open in Qt designer' => nothing appends;
> - right clicking on it, choosing 'preview form' => the form appears behind eric window.
> 
> I also click on 'Show external tools': there is no path associated to any Qt4 tools.
> 
> Do I have to launch Qt designer myself and import manually the GUI I create?
> 
> I am working on an iMac intel, OS X.6.8. Eric has been installed using macPorts.
> 
> Thank you for trying to help me.
> 
> Regards,
> 
> Claude
> 
> 
> On 08 Aug 2011, at 13:00, eric-request at riverbankcomputing.com wrote:
> 
>>> Hi,
>>> I have installed Eric 4. It ask me for: 
>>> 	- Qt4 directory: I guess it the one where Qt4 is installed, for me </Developer/Applications/Qt/>;
>>> 	- Qt4 translation directory: I suppose it is the subdirectory of the previous one, at </Developer/Applications/Qt/translations>;
>>> 	- The Qt4 Prefix and Qt4 Postfix. I have absolutely no idea about what is it! I tried some guess without success.
>>> As it is needed to use Eric-Qt4 integration, I am completely stuck.
>>> 
>>> Please, help me!
>>> 
>>> Clovis2
>>> _______________________________________________
>>> Eric mailing list
>>> Eric at riverbankcomputing.com
>>> http://www.riverbankcomputing.com/mailman/listinfo/eric
>>> 
>> Hi,
>> 
>> In settings page Qt, we can see:
>> 
>> Qt4 translation directory:
>>         "Note: Leave this entry empty to use QT4TRANSLATIONSDIR environment variable or the
>>         path compiled into the QT4 librairy."
>> 
>> Qt4 Prefix : No default value
>> 
>> Qt4 Postfix : default "-qt4"   example: designer-qt4
>> 
>> 
>> Since you can change these values after installation, I think you can use default values.
>> 
>> Regards
> 
> 
> 
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric
> 
> 
> 
> From: Pietro Moras <studio-pm at hotmail.com>
> Date: 9 Aug 2011 17:30:49 GMT+02:00
> To: <eric at riverbankcomputing.com>
> Subject: [Eric] Eric4 QT configuration
> 
> 
>  
> Eric4 QT configuration
> 
> 
> Dear Claude Cherton, 
>    Could we try finding out together a solution to this issue of yours? 
> You see, I deem this one a “perfect” example for a Test & Documentation project I'm currently trying to carry on with Eric – see “Eric_Deliver” at URL: http://www.box.net/shared/k64yenrpey 
> 
> That said, I'd be pleased to actively follow this case-history up to its conclusion, whatever it will be, would you accept my suggested method. To begin with, I'm not sure of having really understood the situation. So, please, try answering such preliminary Questions: 
> Q1] What's your Eric version – see: menu command Help > About eric4 
> Mine is: eric4 – 4.4.16 (r4072) 
> Q2] You've listed more than one single issue, all probably, but not surely, related. Now, please, just pick one, and describe exactly step-by-step how to reproduce what you mean. Then I'll try to be of help, possibly relying also upon the expertise of other colleague users here around.  
>  - P.M.
> 
> 
> 
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20110826/cf495109/attachment.html>


More information about the Eric mailing list