Active Topics

 


Reply
Thread Tools
silvermountain's Avatar
Posts: 1,359 | Thanked: 717 times | Joined on May 2009 @ ...standing right behind you...
#11
These issues will unfortunately probably not help in attracting more developers to the Maemo OS.
__________________
.N810 experience: Since 6/2009
My Twenty Favorite OS2008 Applications:
AutoScan, Diablo5 Theme, Dialcentral, DragLock, EmelFM2, FlipClock, gPodder, Headphoned, Knots 2, Maemo Mapper, mPlayer, openNTPD, OpenSSH, Panucci, Personal Launcher, QuickNote, Seqretary, SlideLock, Telescope, YellowNotes
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#12
Originally Posted by silvermountain View Post
These issues will unfortunately probably not help in attracting more developers to the Maemo OS.
Err... which exact issues do you refer to?
__________________
maemo.org Bugmaster
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#13
I'm not silvermountain, but I guess he's referring to the issues just mentioned about poor documentation, difficulties with ESbox, and lots of error/warning messages appearing in scratchbox.
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#14
I thought we already established the fact that you don't need scratchbox and/or ESbox for python development
 
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#15
Originally Posted by attila77 View Post
I thought we already established the fact that you don't need scratchbox and/or ESbox for python development
I have been trying to get a small hello world pyqt app going. It runs fine on the desktop. Unfortunately, since I do not have my N900 yet, I can't see how it looks in Maemo. I have the SDK working and up to date. I added the Extras and Extras Devel repositories. I installed a bunch of python Qt related libs that I saw mentioned here and there. I still haven't been able to find a clear step by step page with info on what I need for getting pyqt working on the Maemo SDK (or on the device for that matter). But after all that, when I launch the Python interpreted on the device and try to import qt it does not find the package.

I am just getting started. The info may be out there. I am not complaining. Just agreeing that it is a bit hard to get going and that it would be nice to have some step by step guidelines for getting started with pyqt on the N900. Are those out there?
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 

The Following 2 Users Say Thank You to rm42 For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#16
Originally Posted by rm42 View Post
But after all that, when I launch the Python interpreted on the device and try to import qt it does not find the package.
OK, for deviceless (=SDK) development, make sure you have the extras-devel repository enabled and updated in the SDK

apt-get install python2.5-qt4-gui

That should be it. Nothing else is needed (from the packages). If you have Xephyr running, you should see 1:1 what you would on the device. If an import fails, sent it to me so I could take a look.

I am just getting started. The info may be out there. I am not complaining. Just agreeing that it is a bit hard to get going and that it would be nice to have some step by step guidelines for getting started with pyqt on the N900. Are those out there?
OK, OK, since it looks like I'm going to have to assume PyQt maintainership anyway, I might as well put together a guide...
 

The Following 4 Users Say Thank You to attila77 For This Useful Post:
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#17
Originally Posted by attila77 View Post
OK, for deviceless (=SDK) development, make sure you have the extras-devel repository enabled and updated in the SDK

apt-get install python2.5-qt4-gui

That should be it. Nothing else is needed (from the packages). If you have Xephyr running, you should see 1:1 what you would on the device. If an import fails, sent it to me so I could take a look.



OK, OK, since it looks like I'm going to have to assume PyQt maintainership anyway, I might as well put together a guide...
Wohoo! I'll give it a try. Thanks a lot.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#18
And prefer PySide over PyQT binding ... the first one haven't any official maintainer for Maemo.

EDIT : Here is the link on the official web site on how to install it on maemo, but also on other linux system : http://www.pyside.org/downloads/

Last edited by Khertan; 2009-11-19 at 16:44.
 

The Following User Says Thank You to Khertan For This Useful Post:
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#19
Originally Posted by rm42 View Post
But after all that, when I launch the Python interpreted on the device and try to import qt it does not find the package.
One nice "feature" in scratchbox is that if you start python as "python" it will be python2.3 where qt doesn't exist. Start python as "python2.5" and it will find your libraries.
 
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#20
Originally Posted by attila77 View Post
OK, for deviceless (=SDK) development, make sure you have the extras-devel repository enabled and updated in the SDK

apt-get install python2.5-qt4-gui

That should be it. Nothing else is needed (from the packages). If you have Xephyr running, you should see 1:1 what you would on the device. If an import fails, sent it to me so I could take a look.
I just checked and yes, I do have python2.5-qt4-core and python2.5-qt4-gui installed on both the X86 and ARMEL targets. Still, when I launch the virtual N900 and enter the Python interpreter I cant import qt.

ImportError: No module named qt4

PS: By the way, is there a way to create a shortcut to the terminal from the N900 desktop? I can't figure out how to add items found under the "More..." area.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:23.