![]() |
PyQt in Scratchbox
Hi
I want to compile a PyQt4 application for the N810. So Qt,sip and Pyqt need to be installed inside scratchbox. So I've compiled qt inside scratchbox and is running. But sip and pyqt need real root privileges to do that. Sudo nor fakeroot where the answer. :confused: Getting it over the sources extras and extras-devel doens't work for me yet, because can't connect the scratchbox inside a VM to the net. export http_proxy=http://anyproxy.de:8080 also ends in an 111 Connection refused error... What did I miss? :( thanks greetings |
Re: PyQt in Scratchbox
Quote:
a) Just copy over. Literally. If you are not using any specific Maemo API, just install PyQt on your dev machine (mac, win or linux), and when ready, copy the .py file over to your N810 and voila ! b) If you DO need some Maemo API-s to work with, check out Pluthon. Its a custom Eclipse 'mod' that integrates neatly with your N810. You can develop in Eclipse while runing/debugging your code on the device. You really don't need to go all that fuss in scratchbox. Even if you DO want to use scratchbox, avoid compiling unless you're really sure about what you're doing - the binary packages in extras(-devel) are tried and tested, just fakeroot apt-get install them. |
Re: PyQt in Scratchbox
Touché :o
I started with gtk and c but not my way of developing ;) Then found a nice Calendar Widget in C++ and Qt. That I'm porting right now to pure python Why do I worry about scratchbox.... thanks for waking me up. Just imagined svn on the device and I tried and just installed it. How better can it get anyhow? Eclipse+PyQt+Svn all problems gone. Hope they'll never come back. greetings |
Re: PyQt in Scratchbox
Quote:
2) Building a binary package for on-device testing before uploading to Extras. 3) Running in the SDK to check interoperation and feel without running on device. |
Re: PyQt in Scratchbox
Slight context mismatch, it was about using PyQt, not making/compiling :)
|
| All times are GMT. The time now is 12:14. |
vBulletin® Version 3.8.8