Reply
Thread Tools
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#1
I am trying to setup dev environment for PyQt4.6 on SDK image.

I have installed Qt Creator fromm .tgz
apt-get installed Pyuic4
downloaded and unpacked Eric4, PyQt4, sip which PyQt said was missing.

I have configured sip, but it errors on Make.

I have done a search but found nothing, so time to ask for help.
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#2
Whoa, you're in too deep, no make/configure needed of anything. When you say SDK image, do you mean scratchbox or the premade vmware images ? SIP certainly does not need to be installed separately. Just 'apt-get install python-qt4 pyqt4-dev-tools' in the vmware image (or 'apt get install python2.5-qt4 python2.5-qt4-dev-tools' if you're in scratchbox) and it will pull in all dependencies (pyuic, sip, etc included).
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following User Says Thank You to attila77 For This Useful Post:
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#3
I thought there must be a simple way!

PyQt installed into SDK image and sandbox Ok.

Now trying to install eric4, get the following errors

root@maemo-desktop:/home/maemo/Desktop/eric4-4.4.1# python install.py
Checking dependencies
Python Version: 2.5.2
Found PyQt
Sorry, please install QScintilla2 and
it's PyQt4 wrapper.
Error: cannot import name Qsci

Have I got the wrong version of eric or a problem with Qt?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#4
Well actually I would install python2.5-dev-tools python-qt4-dev, pyqt-tools in the main Ubuntu, not just the SDK.. and then install Eric4 in Ubuntu.

Do your development in main Ubuntu, and then copy/move it into the SDK/scratchbox when you want to see it run on the Xephyr/N900 mock-up.

Getting Eric4 in the SDK/Scratchbox isn't going to do you much good I don't think.

Edited to fix my python versions for Ubuntu, not SDK.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!

Last edited by fatalsaint; 2010-02-18 at 02:34.
 

The Following User Says Thank You to fatalsaint For This Useful Post:
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#5
i was trying to put eric in ubuntu, is Qscintilla in a repo or do i have to build it?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#6
Originally Posted by fred123 View Post
i was trying to put eric in ubuntu, is Qscintilla in a repo or do i have to build it?
Ubuntu universe repos include 'eric' as a package (which pulls in scintilla automatically). PyQt development is a well-beaten path in almost all major linux distros (you just need to search for the proper packages included with the distro), if you are tempted on making/configuring/installing things from source or from upstream (=the original author's sites), you know you're doing something wrong, go back to the package manager and take a look again (or ask here ).
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following User Says Thank You to attila77 For This Useful Post:
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#7
Ok eric installed many thanks @attila77.

Now I can write my first linux/n900 app.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:56.