maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Problem with Qt apps (https://talk.maemo.org/showthread.php?t=56699)

qwenjis 2010-06-20 19:38

Problem with Qt apps
 
Hello.
I bought my N900 a few weeks ago and it was flashed with PR1.2 straight away. Since then any Qt-based application or game I tryed absolutely didn't work.
I know that with 1.2 qt version was updated up to 4.6 and some applications,written for PR1.1 don't work. But still even the latest Qt apps(like TweeGo in ext-devel) don't work. In fact,I've tryed almost all available Qt-based applications and non of them worked at all.
Would appreciate some help.

Rob1n 2010-06-21 08:15

Re: Problem with Qt apps
 
Quote:

Originally Posted by qwenjis (Post 722877)
Hello.
I bought my N900 a few weeks ago and it was flashed with PR1.2 straight away. Since then any Qt-based application or game I tryed absolutely didn't work.
I know that with 1.2 qt version was updated up to 4.6 and some applications,written for PR1.1 don't work. But still even the latest Qt apps(like TweeGo in ext-devel) don't work. In fact,I've tryed almost all available Qt-based applications and non of them worked at all.
Would appreciate some help.

In what way are they not working - do they fail to run at all, or do they crash after starting, or what?

qwenjis 2010-06-21 13:31

Re: Problem with Qt apps
 
When I press the icon in the menu,phone tryes to open it showing black screen and in the status on top of the screen there's a name of the app.After about 10 secs it's automatically closed and I'm on the desktop.
So basically fail to run at all.

Rob1n 2010-06-21 14:10

Re: Problem with Qt apps
 
It this is happening with all of them, I'd suggest reflashing your phone (probably the eMMC as well as the firmware) using "flasher". You'd best check the downloaded firmware images are not corrupt as well (check the md5sums against those posted on the firmware download site).

Joorin 2010-06-21 14:14

Re: Problem with Qt apps
 
Try to start the application from an XTerminal and look for interesting output there.

If you get a window with the application name, it sounds as if you at least managed to start it but that something else is failing.

gasper_k 2010-06-21 14:20

Re: Problem with Qt apps
 
This may be the same issue: problem with Alarmed and Python+QT (anybody know how to fix this?). The symptoms are the same, at least. As suggested, run your app in the terminal and paste the output.

qwenjis 2010-06-21 14:42

Re: Problem with Qt apps
 
I'm far from being a power-user and would appreciate an advice how to run an app from XTerm+)

gasper_k 2010-06-21 15:03

Re: Problem with Qt apps
 
Run "X Terminal" from your applications menu. A text console will open. Type in the full path and program name and press Enter. In my case, the full program name is "/opt/alarmed/alarmed.py", but this depends on what are you trying to run, obviously.

qwenjis 2010-06-21 15:18

Re: Problem with Qt apps
 
That must be funny but I can't find where the phone installed "TweeGo". At least it's not in /opt for sure.
And not in /home/opt too...

Ok,I've installed qTranslate,the brand new Qt-based app from extra-devel rep which supposed to work for sure and I can't even find the path to run it from XTerm...Is it normal? And yes,it doesn't work in normal way.

Venemo 2010-06-21 15:38

Re: Problem with Qt apps
 
Quote:

Originally Posted by qwenjis (Post 723730)
That must be funny but I can't find where the phone installed "TweeGo". At least it's not in /opt for sure.
And not in /home/opt too...

Ok,I've installed qTranslate,the brand new Qt-based app from extra-devel rep which supposed to work for sure and I can't even find the path to run it from XTerm...Is it normal? And yes,it doesn't work in normal way.

Well, to be honest, I don't think you should mess around with XTerm if you are not a power user.

Just back up everything, reflash the firmware (+EMMC), and tell us whether it solved your issue or not.
If you wish to manage without a reflash, it's possible, but XTerm is needed then.

qwenjis 2010-06-21 15:44

Re: Problem with Qt apps
 
Command-line stuff doesn't scare me in case I have instructions step-by-step. But I don't want to bother anyone and would reflash as suggested. Will report soon=)

qwenjis 2010-06-21 17:13

Re: Problem with Qt apps
 
Ok,just reflashed with PR1.2 and new eMMC and installed qTranslate from extr-testing rep. Still doesn't work.
Any suggestions?

gasper_k 2010-06-21 17:49

Re: Problem with Qt apps
 
Quote:

Originally Posted by Venemo (Post 723748)
Well, to be honest, I don't think you should mess around with XTerm if you are not a power user.

Just back up everything, reflash the firmware (+EMMC), and tell us whether it solved your issue or not.
If you wish to manage without a reflash, it's possible, but XTerm is needed then.

I think reflashing is much more advanced than trying to run an application via xterm. We're not talking about hacking system files, after all.

qwenjis 2010-06-21 18:00

Re: Problem with Qt apps
 
Quote:

I think reflashing is much more advanced than trying to run an application via xterm
To be honest,firmware upgrade/reflashing on N900 is piss easy compared to what I used to do years ago like flashing patching and etc with Siemens phones(like my fav SX1).
Likewise I don't feel dumb using command-line in case,as I mentioned above, I have step-by-step instructions (basicly copy-paste mode for me^^). I did tweak my Ubuntu using command-line some time ago(though after crash I couldn't force myself "repair" it and now I'm back to W7)

Back to the topic,reflashing didn't help me. Even there are Qt directory that I browsed with GPE Explorer(didn't like MC tbh), I still didn't find where qTranslate(my guinea pig Qt app for now) had been installed...

Rob1n 2010-06-21 18:28

Re: Problem with Qt apps
 
Quote:

Originally Posted by qwenjis (Post 723914)
Back to the topic,reflashing didn't help me. Even there are Qt directory that I browsed with GPE Explorer(didn't like MC tbh), I still didn't find where qTranslate(my guinea pig Qt app for now) had been installed...

You can get a list of the files installed by the package by running:
Code:

dpkg -L qtranslate

qwenjis 2010-06-21 19:47

Re: Problem with Qt apps
 
That's what I got
Code:

/usr/sbin
/usr/bin
/usr/bin/qtranslate
/usr/share
/usr/share/doc
/usr/share/doc/qtranslate
/usr/share/doc/qtranslate/changelog.gz
/usr/share/doc/qtranslate/copyright
/usr/share/doc/qtranslate/README.Debian
/usr/share/applications
/usr/share/applications/hildon
/usr/share/applications/hildon/qtranslate.desktop
/usr/share/icons
/usr/share/icons/hicolor
/usr/share/icons/hicolor/64x64
/usr/share/icons/hicolor/64x64/apps
/usr/share/icons/hicolor/64x64/apps/qtranslate.png


Rob1n 2010-06-21 19:57

Re: Problem with Qt apps
 
Quote:

Originally Posted by qwenjis (Post 724030)
That's what I got
Code:

/usr/sbin
/usr/bin
/usr/bin/qtranslate
/usr/share
/usr/share/doc
/usr/share/doc/qtranslate
/usr/share/doc/qtranslate/changelog.gz
/usr/share/doc/qtranslate/copyright
/usr/share/doc/qtranslate/README.Debian
/usr/share/applications
/usr/share/applications/hildon
/usr/share/applications/hildon/qtranslate.desktop
/usr/share/icons
/usr/share/icons/hicolor
/usr/share/icons/hicolor/64x64
/usr/share/icons/hicolor/64x64/apps
/usr/share/icons/hicolor/64x64/apps/qtranslate.png


Okay, so the main binary will be /usr/bin/qtranslate, so try running that from X Terminal and see whether it gives any useful error messages.

qwenjis 2010-06-21 20:14

Re: Problem with Qt apps
 
It didn't.
In fact I actually runned qTranslate and I could use it. Additionally, now it works as intended,that is tapping in the menu.
Hm,it doesn't remember languages I've chosen...Dunno if it's right or not though...

Will try another Qt app whether it works or not...
EDITED: trued qtirreco...worked from the start although before it's never worked.
Should I call it a success?!)

Well somehow this wierd problem can be called solved, Just tryed about 7 Qt-based apps and all work!


All times are GMT. The time now is 19:59.

vBulletin® Version 3.8.8