RE: Installing pyqt on scratchbox
Hi all, Yesterday I got it compiling and working again. The error was related to wrong package dependency + a non-supported method inside QtGui. Please run an apt-get update and try to install again. Current version is -maemo10. Regards, Luciano From: maemo-developers-boun...@maemo.org [maemo-developers-boun...@maemo.org] On Behalf Of ext FENG GAO [gaofeng860...@gmail.com] Sent: Tuesday, May 12, 2009 04:55 To: Wilms Daniel (Nokia-D/Helsinki) Cc: maemo-developers@maemo.org Subject: Re: Installing pyqt on scratchbox terrible! I should re-install the dev environment, and this problem make it impossible~ Please fix it as soon as possbile. 2009/5/6 daniel wilms mailto:daniel.wi...@nokia.com>> Hi, indeed, the problem is related to some dependency issues. I reported it to the pyqt guys and it will be solved quite soon. This problem is general and not caused by local environment issues as Jey Han Lau wrote. Cheers Daniel ___ maemo-developers mailing list maemo-developers@maemo.org<mailto:maemo-developers@maemo.org> https://lists.maemo.org/mailman/listinfo/maemo-developers -- --Feng GAO --School of Computer --Beijing University of Posts and Telecommunications ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Installing pyqt on scratchbox
> It seems to be strange. on my laptop, it still can not work. I get the same > error messages as Jey Han Lau got. The python2.5-qt4-core is dependent on > python2.5-qt4-common(maemo9), but the maemo7 was installed. Have you run "apt-get update" before trying to install it again? Or do you have other (old) components of pyqt installed?? Daniel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Installing pyqt on scratchbox
It seems to be strange. on my laptop, it still can not work. I get the same error messages as Jey Han Lau got. The python2.5-qt4-core is dependent on python2.5-qt4-common(maemo9), but the maemo7 was installed. 2009/5/13 daniel wilms > It seems that they have solved the problem. I just tried it out and I can > install it on the device and in the scratchbox. > > Daniel > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -- --Feng GAO --School of Computer --Beijing University of Posts and Telecommunications ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Installing pyqt on scratchbox
It seems that they have solved the problem. I just tried it out and I can install it on the device and in the scratchbox. Daniel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Installing pyqt on scratchbox
terrible! I should re-install the dev environment, and this problem make it impossible~ Please fix it as soon as possbile. 2009/5/6 daniel wilms > Hi, > > indeed, the problem is related to some dependency issues. I reported it to > the pyqt guys and it will be solved quite soon. This problem is general and > not caused by local environment issues as Jey Han Lau wrote. > > Cheers Daniel > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -- --Feng GAO --School of Computer --Beijing University of Posts and Telecommunications ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Installing pyqt on scratchbox
Hi, indeed, the problem is related to some dependency issues. I reported it to the pyqt guys and it will be solved quite soon. This problem is general and not caused by local environment issues as Jey Han Lau wrote. Cheers Daniel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Installing pyqt on scratchbox
On Tuesday 05 May 2009 06:57:35 Jey Han Lau wrote: > I've been trying to install pyqt4 on scratchbox and I kept getting > broken packages error =/ There are instructions on installing pyqt on > the nokia device itself but not on the scratchbox. I have added > extras-devel to /etc/apt/sources.list, and have installed python 2.5 and > qt. PyQt is borked in extras-devel, I've got multiple reports on inability to install pyqtoreader for this very same reason. Not sure if it's a pyqt packaging or autobuilder related issue, but in either case it's not you doing things wrong. Half of the pyqt packages is 4.4.3-maemo7 (gui, network) and the other half is 4.4.3-maemo9 (core, xml, etc). ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Installing pyqt on scratchbox
On Tuesday 05 May 2009 04:20:32 you wrote: > I suppose it is not really "translating". I'll elaborate a little more. > Say you create a signal/slot for a button. So the button fires a > "clicked" signal and say there's a UI list that clears the item (slot) > on the list. You can do this using the Qt Designer and all the code > would be translated to Python using pyuic. But say the slot isn't > clearing the list, but to add an item to the list. You'd then need to > create a custom "slot" (say it is called addEntry), and you'd write some > C++ code for the addEntry slot function to add items to the list. But > pyuic wouldn't convert that and you'd have to write some python method > for addEntry. I'm not sure I completely follow, but you can write slots in pure python, in fact, PyQt treats all class methods of QObject subclasses as slots (just don't forget to call the QObject constructor from your own !). There are some caveats which stem from C++ polymorphism and Qt metaobjects, but those are solvable with a few decorators. You might want to take a look at http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#signal- and-slot-support (actually, the whole page is a good read to familiarize yourself with the python aspect of Qt) > I hope I am getting the right idea here (after reading and trying out a > few tutorials), and what's pyrrc? I don't think I've heard it before... pyrrc compiles qrc (resource) files, usually containing bundled icons, images, etc. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers