View Full Version : QT for OS2008
nilchak
12-03-2007, 03:02 PM
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
12-03-2007, 03:39 PM
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
12-03-2007, 07:50 PM
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!
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
12-04-2007, 08:56 AM
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
12-04-2007, 11:10 AM
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.
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
12-04-2007, 07:39 PM
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!
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
12-16-2007, 07:13 PM
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/23/qt4-on-maemo-screenshots/
We need to integrate menus, toolbars... does anyone have any ideas?
Rebski
12-16-2007, 07:51 PM
Great news, well done.
Does the lack of hardware keyboard rule out the N800 from this project?
As a long-time Zaurus user, I really like the huge application base, but I find
two programs indespensible: the PIM suite kdepimpi (http://sourceforge.net/projects/kdepimpi/) (also known as KO/PI) and
the password manager
zsafe (http://z-soft.z-portal.info/zsafe/).
The news that Qt has been compiled for the Nokia is terrific. I know that there's an open source version of Qtopia as well, but I don't know the status of getting it onto the Nokia platform.
I have already built Qt 4.3.3 within Scratchbox, and have begun to start looking
a recompiling kdepimpi and zsafe. This process makes me very aware that I am not
a very good software developer...while I it is just possible that I will be able
to get the programs to recompile, I strongly doubt that I'll ever get to truely
porting them to use the Hildon environment.
I'd be extremely grateful for any help or suggestions that you can offer about porting Qt/Qtopia apps to the Nokia.
Thanks!
gnuton
12-17-2007, 08:24 AM
@Rebski:
I think that it's possible.. but i haven't got a working code yet (and i haven't got a maemo device yet!:( ).
@z2n: Qtopia it's not good for Nokia(IMOH), because nokia device uses X11 instead Qtopia uses the framebuffer. So potentially we can use any Qt4 app in your Nokia device!
PS However Kdepimpi seems a KDE3 apps.. why do you using Qt4 to compile it?
Mmmmmhhhh
svn checkout
grep -r gnuton *
#! /bin/sh /usr/share/dpatch/dpatch-run
## maemo_01_fsfileengine.dpatch by <gnuton@gnuton.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: sets max PathName to 34240
@DPATCH@
diff -Nru qt4-x11-4.3.2-orig/src/corelib/io/qfsfileengine_iterator_unix.cpp qt4-x11-4.3.2/src/corelib/io/qfsfileengine_iterator_unix.cpp
--- qt4-x11-4.3.2-orig/src/corelib/io/qfsfileengine_iterator_unix.cpp 2007-11-21 12:36:31.000000000 +0100
+++ qt4-x11-4.3.2/src/corelib/io/qfsfileengine_iterator_unix.cpp 2007-11-21 12:38:49.000000000 +0100
@@ -119,6 +119,7 @@
#if defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_CYGWIN)
if (that->platform->mt_file)
delete [] that->platform->mt_file;
+ maxPathName=34240;
that->platform->mt_file = (dirent *)new char[maxPathName];
#endif
So the only patch you apparently did looks very very similar to the patch I've submitted here (http://www.internettablettalk.com/forums/showpost.php?p=95713&postcount=6):
I wonder if this is a coincidence that you got the exact same value for maxPathName.. and would be interested to know how you found it..
Or did you just copy paste and put your name on top and "forgot" to at least mention/contact the author?
....
:rolleyes:
I'm seriously thinking of keeping my projects private because of people like you.
Rebski
12-17-2007, 10:59 AM
PS However Kdepimpi seems a KDE3 apps.. why do you using Qt4 to compile it?
A developer made available KOrganizer for the Sharp Zaurus, he called it KDE-PIM and made a beautiful job of it. His url is www.pi-sync.net but that appears to have a problem at the moment.
So I suspect the intention is to take the Zaurus app and make it run on the IT. I could be wrong of course.
A developer made available KOrganizer for the Sharp Zaurus, he called it KDE-PIM and made a beautiful job of it. His url is www.pi-sync.net but that appears to have a problem at the moment.
Hmmm...the original developer's site does seem to be down. However, the source code (and binaries for Windows & Linux x86) can be found on the kdepimpi sourceforge site (http://sourceforge.net/projects/kdepimpi/).
So I suspect the intention is to take the Zaurus app and make it run on the IT. I could be wrong of course.
You're completely correct. I don't think I've got the ability to really port kdepimpi to the Hildon interface, which is why I'm interested in getting Qt running on the N810. The kdepimpi suite can be built for a Qt/X11 environment, or for a Qt/Qtopia environment. I strongly suspect that it'll be easier to build the former for the Nokia, but I'm very interested in getting any guidance from people with more experience with this kind of port.
Rebski
12-17-2007, 02:14 PM
Thanks for the link to Source forge. Information on the developer, username Zautrix, is actually in this screenshot
http://sourceforge.net/project/screenshots.php?group_id=104103
His output for this app was amazing to behold, I hope he is still around as he would be a tremendous asset to the ITT/MID technology.
gnuton
12-18-2007, 06:29 AM
@Free:
I apologize. Please send me your name, surname, mail address and a short patch description to gnuton AT gnuton.org.
PS: If you want you can join in the Qt4 Team...
We need help! :)
Thank you!
@All
Visit the new maemo Qt4 Homepage: http://qt4.garage.maemo.org/
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.