Reply
Thread Tools
Posts: 5 | Thanked: 2 times | Joined on Feb 2009
#1
Hi everyone,
I have Qt 4.4.3 installed in my Linux system. I have finally got scratchbox installed and am trying to install maemo SDK.
After Maemo SDK is installed,how do I configure Qt and Maemo so that any existing Qt applications which I have in my system work for Maemo as well.I don't have a real device so will be trying it out on the computer.

I went over this link:-
http://wiki.maemo.org/Qt4Hildon

but didn't understand much.
Can someone please give me an idea on how to run an existing Qt application on Maemo?
Links /examples would be welcome.
Thanks in advance.
 

The Following User Says Thank You to rishiraj For This Useful Post:
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#2
Originally Posted by rishiraj View Post
Hi everyone,
I have Qt 4.4.3 installed in my Linux system. I have finally got scratchbox installed and am trying to install maemo SDK.
After Maemo SDK is installed,how do I configure Qt and Maemo so that any existing Qt applications which I have in my system work for Maemo as well.I don't have a real device so will be trying it out on the computer.

I went over this link:-
http://wiki.maemo.org/Qt4Hildon

but didn't understand much.
Can someone please give me an idea on how to run an existing Qt application on Maemo?
Links /examples would be welcome.
Thanks in advance.
Im trying to attak the Qt4 on maemo too:
I can install on the device the
'qt-maemo-example'
that is under the
EXTRA-DEVEL repository
the thing should install the
libqtcore4
libqtgui4
and libaudio2
for 6.8 mb of precious stuff:
I dont know if you can use that on the scratchbox or it could be in any way usefull for you.
Good luck, keep me updates with the progress
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 
Posts: 5 | Thanked: 2 times | Joined on Feb 2009
#3
Hi,
I am back to square one....it shows an error when I try to log into scratchbox,so probably will be starting again from step one...in case,I am able to do something about the Qt and Maemo thing,I will definitely post it here .
Thanks for the good luck wishes,will definitely need it
 
Posts: 243 | Thanked: 172 times | Joined on Sep 2007 @ silicon valley
#4
rishiraj, what exactly are you trying to accomplish, especially since you don't have any hardware yourself yet?
 
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#5
Well, that's what SDKs are made for. Compare the honorable approach of starting developing without hardware with this sentence (I have sadly read many times): "I'm very interested in this platform but I can't afford a device, so if you help me getting one then I will be more encouraged to............"

Bravo to the developers starting with an SDK and bravo to those giving a try to unsupported yet promising toolkits, bindings, languages...
 
Posts: 243 | Thanked: 172 times | Joined on Sep 2007 @ silicon valley
#6
Originally Posted by qgil View Post
Well, that's what SDKs are made for. Compare the honorable approach of starting developing without hardware with this sentence (I have sadly read many times): "I'm very interested in this platform but I can't afford a device, so if you help me getting one then I will be more encouraged to............"
I understand and sympathize with the reasons for trying out the SDK before/instead of buying a tablet.

It is unclear to me if rishiraj is a developer, or someone who wants to try recompiling a particular app before they'll buy a tablet, or if they are looking to take an existing binary which they don't have the source for and run it under maemo.
 
Posts: 415 | Thanked: 732 times | Joined on Jan 2009 @ Finland
#7
In order to get Qt4 apps working in the SDK, add extras and extras-devel to your repositories

#Maemo extras and extras-devel
deb http://repository.maemo.org/extras/ diablo free non-free
deb-src http://repository.maemo.org/extras/ diablo free
deb http://repository.maemo.org/extras-devel/ diablo free non-free
deb-src http://repository.maemo.org/extras-devel/ diablo free

After that run

fakeroot apt-get update

and finally install Qt4 development libraries

fakeroot apt-get install libqt4-dev

See more info from http://qt4.garage.maemo.org/diablo.html

Last edited by timoph; 2009-02-27 at 06:12. Reason: Adding link to qt4 garage page
 

The Following User Says Thank You to timoph For This Useful Post:
Posts: 12 | Thanked: 1 time | Joined on Sep 2009
#8
Also this thread is a little old i awake it...

Try to install the qt-maemo-example on my N810, too. But no chance yet.

Sources are correct.
Newest Diablo flashed.
apt-get update, apt-get install -f, apt-get upgrade

Tells me

http://qt4.garage.maemo.org diablo/user Packages (/var/lib/apt/lists/qt4.garage.maemo.org_dists_diablo_user_binary-armel_Packages) - stat (2 No such file or directory)

apt-get install qt-maemo-example

ends in unmet dependcies cause of libglib2 and freetype6. I tried to install them directly, but they were "incompatible"

Got a qt widget in C, running in scratchbox no big deal, but on N810 are missing the qt libs.


What did I miss? Any idea?

Thanks for suggestions.

Bastian

Last edited by TheTall1; 2009-09-22 at 18:43.
 
Posts: 12 | Thanked: 1 time | Joined on Sep 2009
#9
./kick-***(self)

After flashing back to DIABLO4 somehow it just installed as it should be...
It can be so easy.

So now PyQt runs lets start developing

Can I dare to update? No better not, who knows what might happen
 
Posts: 2 | Thanked: 2 times | Joined on Oct 2009
#10
Hi folks,

I am desperately trying to get Maemo SKD to work with Qt, but found it extremely confusing and no matter what i do I have always feeling that is this really what i should be doing...

So here my is my setup
- I have N810
- I have downloaded prefinal Maemo SKD image and its running as guest in my linux. (http://maemovmware.garage.maemo.org/...ion/index.html)
- I have change diablo-armel to be my target environment in my scratchbox

but what i should do next? I read somewhere that this 2nd Maemo virtual PC image should have some easy to use scripts to set up Qt and all the tools like Qt creator etc. Well, Did not find any more information about that. So i have been trying to follow these instructions here, but when I run apt-get update i will get punch of errors that
"W: Couldn't stat source package list http://repository.maemo.org diablo/free Packages (/var/lib/apt/lists/repository.maemo.org_extras-devel_dists_diablo_free_binary-armel_Packages) - stat (2 No such file or directory)"

plah, so what next? Should i just start building Qt from as per instructions here? http://qt4.garage.maemo.org/diablo.html
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:51.