I made some progress.
I use a module (Pyro) with the readonly kopsis image by installing it according to the procedure described by optogeek (
69777). As I said, the installation works fine when I run my program from a command prompt. However, when I try to run the program from the icon, Qt/Embedded apparently tries to run it as root. I know that Qt/Embedded is trying to run my program as root because the PYTHONPATH as root was wrong. I put the module in /home/zaurus/lib/Python, but because the environment variable got set using $HOME/lib/python, when running as root, Python was looking in /home/root/lib/python. After I hardwired PYTHONPATH to the correct directory in the .bashrc for root, I no longer got an error message about not finding the module.
HOWEVER, I now get the error message:
Qt/Embedded data directory is not owned by user 0
So, I still can't run the program from a command prompt as root (which is not something I want to do anyway), and the program still will not start from the icon. I've been trying to figure out why the program is running as root, but I'm stumped. I know how to get to a properties page by clicking on the icon and holding the button down for a few seconds. On the page that appears, one is able to select whether the program should run as root. That box is not checked (although it doesn't make any difference as far as this problem is concerned). The permissions and ownership on the file I put in /home/QtPalmtop/bin are the same as for other programs in that directory. Likewise for the file I put in /home/QtPalmtop/apps/Applications.