maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   trying to run qt desktop widget on n900 (https://talk.maemo.org/showthread.php?t=39082)

berjan 2010-01-02 20:45

trying to run qt desktop widget on n900
 
Hello,

i need your help. i'm complete new to qt and linux development.
i made a small application for my n900 im using qt-creator 1.3.0 on
windows 7 and i recompile it using madde 0.5.

my aim is to run this application as a desktop widget.

if i run my application with the .desktop file i put in
/usr/share/applications/hildon
it works.
but if i put the same .desktop file in
/usr/share/applications/hildon-home
nothing happens if i try to run it from the n900 add widget menu.

i get exactly the same behavior with the "qt-example-hildondesktopwidget"
(i put the .desktop file from /usr/share/applications/hildon
to /usr/share/applications/hildon-home)

i hope you can help me.
thanks

krk969 2010-01-03 01:30

Re: trying to run qt desktop widget on n900
 
Quote:

Originally Posted by berjan (Post 450302)
Hello,

i need your help. i'm complete new to qt and linux development.
i made a small application for my n900 im using qt-creator 1.3.0 on
windows 7 and i recompile it using madde 0.5.

my aim is to run this application as a desktop widget.

if i run my application with the .desktop file i put in
/usr/share/applications/hildon
it works.
but if i put the same .desktop file in
/usr/share/applications/hildon-home
nothing happens if i try to run it from the n900 add widget menu.

i get exactly the same behavior with the "qt-example-hildondesktopwidget"
(i put the .desktop file from /usr/share/applications/hildon
to /usr/share/applications/hildon-home)

i hope you can help me.
thanks

have the same issue with my QT app, batlevel.
Seems like the .desktop file needs either a .so library file or a shell script to run. One way would be to create a GTK app and call your QT code.
But I cant be sure about this, still trying to find out.
Just wanted to let you know that if failed for me as well.

berjan 2010-01-03 12:50

Re: trying to run qt desktop widget on n900
 
hi krk,
thank you for your reply. i'm glad that i'm not alone with this problem.
today i made some tests with shell scripts and a gtk starter with no results.

i hope we'll get a solution soon. i stay tuned

corpse 2011-05-12 05:21

Re: trying to run qt desktop widget on n900
 
Hello there Both,
i am totally new to unix and QT development, can you please help me get started by giving me a step by step tutorial on how to test the application on the phone ?? (no idea how/what to put on the phone)
i'd like to see a qt widget (other than the label sample)
Thank You

krk969 2011-05-12 06:50

Re: trying to run qt desktop widget on n900
 
Quote:

Originally Posted by corpse (Post 1004648)
Hello there Both,
i am totally new to unix and QT development, can you please help me get started by giving me a step by step tutorial on how to test the application on the phone ?? (no idea how/what to put on the phone)
i'd like to see a qt widget (other than the label sample)
Thank You

you will find this useful
http://wiki.maemo.org/Qt

but then many people on this forum have written nice step by step tutorials in addition to those helpful documents.
a search would reveal them, i dont have the links with me.

sakya 2011-05-12 07:38

Re: trying to run qt desktop widget on n900
 
Quote:

Originally Posted by corpse (Post 1004648)
i'd like to see a qt widget (other than the label sample)

Some Qt widgets are:
-batlevel
-Sticky Notes
-vodafone190dw


All times are GMT. The time now is 10:53.

vBulletin® Version 3.8.8