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 - deepster

Pages: [1]
1
Qt/Qtopia / Annoyance with menu launch
« on: October 27, 2004, 04:09:20 pm »
Ok, this is how I "solved" my problem.  Originally, I had a main function that created a QApplication object.  The QApplication object would then launch dialogs prompting the user for information.

I changed this to match the Trolltech doc for QT 1.7. http://doc.trolltech.com/qtopia1.7/html/mainfunc.html when it is up.  Check Google cache if it isn't.

I now have a main.cpp file which  does

QTOPIA_ADD_APPLICATION("myapp", MyMainWindow)
QTOPIA_MAIN

MyMainWindow is a QMainWindow object which launches the dialogs.  Once I changed to this implementation, my application had an icon in the taskbar and had no "background" issues.  Didn't know that this format was 'required' for normal application operation.

Thanks all for your help!

2
Qt/Qtopia / Annoyance with menu launch
« on: October 27, 2004, 10:58:02 am »
qcop QPE/Application/test quit() returns "SlSharedManager: can't get proc entry".  Tried it for several other apps and get the same thing.  SL-6000L...

Looks like my application is launching, but going to the background.  I may be to blame for not seeing it initially, as I would click the desktop twice, and thus the application would loose foreground focus.  But, I get no icon on the taskbar for the application.  So, I can't switch back to the application once it looses focus.  Anyone seen this?

3
Qt/Qtopia / Annoyance with menu launch
« on: October 26, 2004, 10:43:11 am »
Thanks for the feedback.  The log shows absolutely no errors.  The application is running as user 'zaurus'.  I have seen where an application fails because it doesn't have /tmp permissions, but the application exits in that case.  My application is still running.  I have to go and kill it.

But, from what stubear said, I just tried to launch my application again from the menu to see what it would do and what do you know, up comes the app.  It is as if the application gets launched and immediately put in the background.  It disappeared while it was running, so I went back and launched it again and it came to the forgraound in the state I had left it in.  Now have to figure out why that is happening.  I don't have an icon in the taskbar even though I specify one in my desktop file.

4
Qt/Qtopia / Annoyance with menu launch
« on: October 25, 2004, 01:41:13 pm »
Double-checked the process list and my application is running, but it is nowhere to be found on the screen.  Any thoughts?

5
Qt/Qtopia / Annoyance with menu launch
« on: October 25, 2004, 11:31:51 am »
Yeah, that's how I had it first before I put in the full path, but that didn't work either.

6
Qt/Qtopia / Annoyance with menu launch
« on: October 22, 2004, 04:58:50 pm »
This bothers me and I am hoping that someone can tell me what dumb mistake I am doing.  I have a qt application that launched fine from a terminal window, but never shows up when lauching from the "Applications" menu.  All I get is "Please wait..." and then it goes away.  My .desktop file contains the full path to the app.  I have no problems running the app from a terminal window (full path or no).  Anyone seen this?

My .desktop file looks like this:
[Desktop Entry]
Comment=Test
Exec=/opt/Qtopia/bin/test
Icon=Test
Type=Application
Name=Test

Thanks,
-- Brian

7
Personal Java/Jeode/J2ME Personal Profile / Swing on SL-6000
« on: October 15, 2004, 08:57:32 am »
Well, my problem was (of course) a dumb path problem.  But, once I solved that, I ran into an error

 java.lang.NoSuchMethodError:
 java/awt/Component.getPeer()Ljava/awt/peer/ComponentPeer;

See http://groups.google.com/groups?hl=en&lr=&....com%26rnum%3D1

if you run into this.

Thanks,
-- Brian

8
Personal Java/Jeode/J2ME Personal Profile / Swing on SL-6000
« on: October 15, 2004, 08:06:59 am »
Omicron  - Guess that depends on what your environment settings are.  I am set to serach the present working directory, so ./SimpleExample.jar = SimpleExample.jar

freizugheit - Thanks, will give that a look.

Anyone else get Swing working on th 6000?

9
Personal Java/Jeode/J2ME Personal Profile / Swing on SL-6000
« on: October 14, 2004, 05:18:21 pm »
New to the Zaurus and a little to Java, but trying to get a version of Swing working on my 6000.  Downloaded swingZ.jar from http://jeffreyrfox.addr.com/zaurus/ and tried to run the sample, but it still could not find swing ( NoClassDefFoundError ).  Sounds like a classpath problem, but I believe that I have the simplest config with swingZ.jar and SimpleExample.jar in the same directory and running it with "evm -cp ./swingZ.jar:SimpleClass.jar SimpleClass"

Anyone else got this working on the 6000 or have a better alternative to Swing on Zaurus for the easy creation of dialog windows?

Thanks,
-- Brian

Pages: [1]