maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   QT for OS2008 (https://talk.maemo.org/showthread.php?t=12675)

nilchak 2007-12-03 19:02

QT for OS2008
 
Is this true - I saw the link for QT for the OS2008.
http://downloads.maemo.org/product/OS2008/qt4/

So that would imply that all QT based apps for the Sharp Zaurus should be able to be recompiled for the Nokia devices (N800 and N810). That would be super - since there are quite a few very good Zaurus apps that the Nokia is missing (especially PIM).

Has ayone tried this ? The homepage says still coming, so dont have any details.

Karel Jansens 2007-12-03 19:39

Re: QT for OS2008
 
Quote:

Originally Posted by nilchak (Post 103958)
Is this true - I saw the link for QT for the OS2008.
http://downloads.maemo.org/product/OS2008/qt4/

So that would imply that all QT based apps for the Sharp Zaurus should be able to be recompiled for the Nokia devices (N800 and N810). That would be super - since there are quite a few very good Zaurus apps that the Nokia is missing (especially PIM).

Has ayone tried this ? The homepage says still coming, so dont have any details.

It also mentions "QT4" and makes a big deal of the keyboard on the N810, which leads me to believe you may have your hopes squished bigtime.

dblank 2007-12-03 23:50

Re: QT for OS2008
 
The example application works, just needs an X11 virtual keyboard on the N800, such as xkbd, xvkbd, matchbox-keyboard, etc.

I haven't tried any other QT apps, but I will soon!

free 2007-12-04 10:55

Re: QT for OS2008
 
I have made a .tar.gz of libqt4 which includes test applications but I didn't know somebody else was working on this. Good. There are a few details in Developper section.
No virtual keyboard is integrated in my release.
As it's something like 200Mb, I have no practical way to share it...
For the impatients, if somebody has an ftp server to host this first release, he can PM me, I'll upload it in 6/7 hours (currently at work, no ftp access..)

All this to say that yes, qt4.3.2 is ported to the bora release without a lot of difficulty. This amazed me, it's one of my 10 first ports. It's not even Qtopia for embended, it's the real qt :)
I don't have the time at the moment, next week I'll get back to this. I need to make a .deb (standard procedure doesn't work so I will use something like pypackager) and integrate the keyboard. Then some apps can be ported.

edit:
to repeat, it has been tried on bora/OS2007/n800. I still haven't had the time to upgrade my development environment to chinook nor to try the OS2008.

TA-t3 2007-12-04 12:56

Re: QT for OS2008
 
The Zaurus (at least my SL5500 :D) uses QT embedded, not ordinary QT.. a few weeks ago I tried to build a Zaurus application on my desktop with QT3 and QT4 installed, even including some extra embedded headers, and didn't succeed.

nilchak 2007-12-04 15:10

Re: QT for OS2008
 
Usually the QT Embedded apps built for the Zaurus (i wrote a few in PyQT) did work on the desktop too with QT (looks different though since I was using QT on windows).

You maybe have to remove the import * from QTPE (whcih is QT embedded) to import * from qt, and remove other such refernces to QT embedded. Maybe that will help.

free 2007-12-04 16:21

Re: QT for OS2008
 
Actually I didn't try qt embedded, which is supposed to be good for.. embedded stuffs..

Didn't have much time to rebuild but last time it was not so obvious how to turn off generation of debug binaries also... it's not the standard way at least, qmake's way.

But if somebody is able to build qt embedded, that would be good!

Will try to put in a few hours a loop image on rapidshare with instructions on how to use it. It's waiting on my disk since 2 weeks for nothing.

speculatrix 2007-12-04 23:39

Re: QT for OS2008
 
to build qt/qtopia apps for zaurus is tricky because you
* need to use gcc 2.95
* need to use qt-2.3 headers with qtopia 1.7 headers/include files, then link with the qtopia1.5 libs provided by sharp (which is a proprietary variant done for them by Trolltech).

it is possible to have a dual build environment so you can use the same source code to build and run on a PC (using the virtual frame buffer thing), then rebuild to run on zaurus; I login to my box as "zaurus" to get the environment right for arm compilation. There's a vmware-player image if you want to do zaurus dev.

I was hoping someone would cook up a vmware player image for Nokia Tablet development, it's makes getting started much easier!

free 2007-12-04 23:42

Re: QT for OS2008
 
That's it. You will need ext2 support (for example provided with the excellent multiboot) because the lib directory is full of links, FAT is no good. But you don't need an ext2 formatted disk!

Grab this
http://rapidshare.com/files/74345596/qt.img.html
Check it's been correctly downloaded, you should have the same checksum.
md5sum qt.img
37ff9c4f6744fcd48a952fb3d4f65aeb qt.img
Create a mount point and mount the image (as root).
mkdir /mnt/lo
mount qt.img /mnt/lo -o loop
Tell the system where qt libs are:
cd /mnt/lo/Trolltech/Qt-4.3.1/
. ./ld.sh
Try the bittorrent client included as an example:
examples/network/torrent/torrent
I've used the torrent client to download 100MB, works like a charm.

This includes a complete tree (usr/include, bin containing qmake & al, usr/lib ,..).
About ~70Megabytes.
External apps using qt<4.3.2 can be installed anywhere, simple be sure to run ld.sh before running it.
Proof of Concept that it can work with little effort.
++

gnuton 2007-12-16 23:13

Re: QT for OS2008
 
Hi, guys! I've debianized Qt4 for OS2008. it seems they are working fine, but it's not very integrated... They require a hildonization! :)
A QT4 looks like this: http://www.gnuton.org/blog/2007/11/2...o-screenshots/
We need to integrate menus, toolbars... does anyone have any ideas?


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

vBulletin® Version 3.8.8