View Single Post
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#2
Originally Posted by TheTall1 View Post
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.

Waaaitaminute. What do you need scratchbox for ? Avoiding scratchbox and the SDK is half of the reason to use PyQt You have two recommended solutions:

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.
 

The Following 4 Users Say Thank You to attila77 For This Useful Post: