maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   using Qt on Maemo (https://talk.maemo.org/showthread.php?t=26951)

rishiraj 2009-02-18 05:43

using Qt on Maemo
 
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.

ciroip 2009-02-18 08:00

Re: using Qt on Maemo
 
Quote:

Originally Posted by rishiraj (Post 265298)
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 :)

rishiraj 2009-02-18 11:40

Re: using Qt on Maemo
 
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 :)

sarahn 2009-02-26 17:00

Re: using Qt on Maemo
 
rishiraj, what exactly are you trying to accomplish, especially since you don't have any hardware yourself yet?

qgil 2009-02-27 05:12

Re: using Qt on Maemo
 
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...

sarahn 2009-02-27 06:02

Re: using Qt on Maemo
 
Quote:

Originally Posted by qgil (Post 267496)
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.

timoph 2009-02-27 06:04

Re: using Qt on Maemo
 
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

TheTall1 2009-09-22 11:48

Re: using Qt on Maemo
 
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

TheTall1 2009-10-02 12:08

Re: using Qt on Maemo
 
./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

spylvas 2009-10-21 21:52

Re: using Qt on Maemo
 
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


All times are GMT. The time now is 16:52.

vBulletin® Version 3.8.8