Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Orchid

Pages: [1]
1
Qt/Qtopia / Cross-compiler Setup - Please Help
« on: August 03, 2005, 02:29:24 pm »
Thanks for the responses!  Now all I need are 2-3 more hours in each day so I can play with it!

 

2
Qt/Qtopia / Sharp Zaurus Sdk The Easy Way
« on: July 26, 2005, 07:04:34 am »
Here are my first comments about your document (which was a very nice read!),
of things I'd like to have seen:

**********************

A list of files to expect in the sharp_zsdk_dsl.zip -
and what they are for, particularly the optional directory.

**********************

A zip file of sharp_zsdk_dsl.zip that unzips under DSL.
dsl@box:~$ unzip sharp_zsdk_dsl.zip
Archive:  sharp_zsdk_dsl.zip
  inflating: Embedix.uci
unzip: Unsupported compression method 0

dsl@box:~$ gunzip sharp_zsdk.dsl.zip
gunzip: sharp_zsdk.dsl.zip.gz: No such file or directory
dsl@box:~$

**********************

A note about how to possibly find the disk if the tools do not show up:
dsl@box:~$ sudo su
root@ttyp1[sda]# dmesg | grep disk
RAMDISK driver initialized: 16 RAM disks of 100000K size 1024 blocksize
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0

**********************

A simple summary at the top for weary readers, like:
This is how to program Sharp Zaurus ROM applications
using a Linux bootable disk (DSL), with appropriate toolchain modules,
under a virtual machine (QEMU).

It would need appropriate links for DSL, the zip, and QEMU, for those
Linux gurus who could figure it out just from that.

**********************

I'll try actual development later today.  Thanks!!!!

- T

3
Qt/Qtopia / Few Pointers Getting Started
« on: July 25, 2005, 08:41:07 am »
I've been trying the hello, world apps at:
http://www.kevinboone.com/myfirstqtopiaapp1.html

- T

4
Qt/Qtopia / Cross-compiler Setup - Please Help
« on: July 24, 2005, 08:45:25 am »
I'm trying to set up a cross-compiler under Redhat for my 6000SL running the original Sharp ROM (updating to OpenZaurus is on my to-do list) with Qtopia 1.5.4, and am getting an error running moc. Can anyone help?  Details below.

Using simple programs from http://www.kevinboone.com/myfirstqtopiaapp1.html, I'm apparently missing something or have a wrong version of something.

The simple text based app compiles and runs:
Code: [Select]
#include
int main(int argc, char **argv)
  {  cout << "Hello, world!\n";  }

The simple window compiles and runs, but exits with error ("could not open translation file /home/QtPalmtop//i18n/en/libs1.qmid"):
Code: [Select]
#include
#include

int main(int argc, char** argv)
  {
  QPEApplication app(argc, argv);
  QMainWindow* mainWindow = new QMainWindow();
  mainWindow->setCaption("Hello, world!");
  app.showMainWidget(mainWindow);
  return app.exec();
  }

When I actually try to use moc, however, it fails.  Here's the code:
Code: [Select]
# more FrmMain.h
#include
class FrmMain : public QMainWindow
{
  Q_OBJECT
public:
  FrmMain(QWidget* parent=0, const char* name=0, WFlags fl=0);
public slots:
  void  cmdFileQuit();
};

# more FrmMain.cpp
#include
#include
#include "FrmMain.h"
FrmMain::FrmMain(QWidget* parent, const char* name, WFlags fl)
    : QMainWindow(parent, name, fl)
  {
  setCaption("Hello, World!");
  QMenuBar *menubar = this->menuBar();
  QPopupMenu *mnuFile = new QPopupMenu(this, "MenuFile");
  menubar->insertItem("&File", mnuFile);
  mnuFile->insertItem("&Quit", this,
    SLOT(cmdFileQuit()), 0, 1);
  }

void FrmMain::cmdFileQuit()
  {  this->close();  }

# more hello3.cpp
#include
#include
#include "FrmMain.h"

int main(int argc, char** argv)
  {
  QPEApplication app(argc, argv);
  QMainWindow* mainWindow = new FrmMain();
  app.showMainWidget(mainWindow);
  return app.exec();
  }

Here's the error:
Code: [Select]
# ls
FrmMain.cpp  FrmMain.h  hello3.cpp
# /opt/Embedix/tools/bin/arm-linux-g++ \
> -I /opt/Qtopia/sharp/include/ \
> -DQWS -fno-rtti -o FrmMain.o -c FrmMain.cpp
# /opt/Embedix/tools/bin/arm-linux-g++ \
> -I /opt/Qtopia/sharp/include/ \
> -DQWS -fno-rtti -o hello3.o -c hello3.cpp
# ls
FrmMain.cpp  FrmMain.h  FrmMain.o  hello3.cpp  hello3.o
# /opt/Qtopia/sharp/bin/moc -o FrmMain_moc.cpp FrmMain.h
/opt/Qtopia/sharp/bin/moc: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

I'm not sure how to find what versions of the various compiler/Qt pieces I have (read as: clueless newbie).  I tried to follow:
https://www.oesf.org/index.php?title=Compiler_Setup

Has anyone seen the above error and know how to fix it?  Any help would be very much appreciated.  Thanks!

5
General Discussion / date -d and Other Newbie Questions
« on: July 27, 2004, 05:00:39 pm »
I've only had my Zaurus a couple weeks with limited time spent trying to configure it.  These are some of the stray questions still bouncing around my Zaurus-newbie mind waiting for time to research them.

1) How do I associate my nifty shell scripts (with some extension?) to run the terminal and then run the script from the files tab?  Why can't I get to / on that files tab (I know I don't need it.  I want it.)?

2) What format of STRING is date -d looking for?

3) Can I have the linux man pages?

4) What's with the Suspend vs. Reboot vs. Where is Turn Off?  Sometimes the power button suspends, sometimes it reboots.

5) Why can't I get nethack working?  I seem to have lost the faq I saw but didn't have time to implement.

6) How do I make my terminal (qpe-terminal-vga 1.5.0-3) font larger?

7) What options are available to keep the time accurate?

8) SSH, SFTP daemons?  Where was that FAQ?  I have the Zaurus File Transfer at work on the Windows 2000 machine, so I can copy files.  I have can telnet to my Zaurus at home from my Gentoo box over our network.  Neither is perfect.  If I want to ssh through the docking station to my zaurus, how do I set that up without interacting with or appearing on the work network?  Is there a way to get the Zaurus File Transfer to deal with Unix->Windows carriage returns (as notepad can't and I don't want to change the files unix2dos on the Zaurus)?

9) Ethereal, iptables for 6000?  Simple on/off script for iptables?  How secure is this zaurus really?

10) Can I change the zaurus user password without "bricking" it?  I changed the root password.

11) Can I reprogram the keys on my pocketop keyboard so that / and \ and ESC aren't buried?  I sure wish I could turn one of those space bars into 3 separate programmable keys.  Where is the backslash and ESC on the embedded keyboard?

12) Can we get some people to donate to Mickeyl (or appropriate coder) so he can buy a 6000 and get OpenZaurus for us so I can play with flashing?

13) Where is that developer's bootdisk (knoppix/debian?) that I saw in passing when I was first searching the boards and failed to mark?  Is there a step by step idiot's guide to writing a simple 'hello zaurus' GUI application and creating the ipk using whatever "standards" are desired?

14) How do I change the default screen saver (Zaurus ad) to the fish (1.1.0) I installed?

15) Is there a basic newbie FAQ with these type things in it?  Can we have a 6000 section over at Z wiki?

I'm sure some of these have probably been answered on the boards and the how-to's; unfortunately, there are only so many minutes available each day to spend searching for obscure information buried in the mountains of useful, though currently irrelevant, information.

Thank you for reading this far into the post, as well as any time you spend answering these, or pointing to the answers to these!

Pages: [1]