maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   New game: Qt for developers (https://talk.maemo.org/showthread.php?t=13251)

free 2007-12-16 13:15

New game: Qt for developers
 
I've packaged libqt4.3.2, it's available here:
OS2007 (currently half broken, see below, sorry)
Quote:

deb http://debfarm.free.fr bora user
OS2008:
Quote:

deb http://debfarm.free.fr chinook user

While upgrading to OS2008, I fuxored the repository for OS2007 (actually you get OS2008 versions, I don't know what it does), I'll put them back in a few days. Sorry for OS2007 users, keep your debs if you have them!!

So with libqt4-dev, you can develop/port kde apps in scratchbox and then send it to the device.
With libqt4-core on the device, you can execute them.

As this is the first build, there is no extra funky support:
-> No cups (will be added)
-> Sql is using integrated sqlite3 from the system
-> No dbus (I'm really bad with dbus, not sure I'll do it unless some people want it)
-> Keyboard handling is not part of qt, so keep in mind you will need an external keyboard app.
-> Not optimized for size or speed yet (qmake, make and segfaulting qemu are nightmares)

The qt4doc is not on the server, it's 25MB and contains:
-> html qt documentation (useless for us, better browse the webserver)
->examples & demos sources
I've extracted examples & demos. Some are really great like bittorent client, sql stuffs, WYSIWYG editor, graphical demos,..
http://debfarm.free.fr/pool/qt4-examples.tar.gz
http://debfarm.free.fr/pool/qt4-demos.tar.gz

1,9M libqt4-core_4.3.2-1_armel.deb
32K libqt4-debug_4.3.2-1_armel.deb
3,7M libqt4-dev_4.3.2-1_armel.deb
5,2M libqt4-gui_4.3.2-1_armel.deb
1,1M libqt4-qt3support_4.3.2-1_armel.deb
292K libqt4-sql_4.3.2-1_armel.deb

wolf08 2007-12-28 18:50

Re: New game: Qt for developers
 
How did you manage to get your qt4 to be so small. Mine is like 100MB of libraries? Could you post your ./configure line?

debernardis 2007-12-29 11:48

Re: New game: Qt for developers
 
1 Attachment(s)
It works. I could compile XHTML Wysiwyg Qeditor quite easily - it's not a killer app at all but it's a start :D

gzipped executable in http://www.debernardis.it/n800/edithtml.gz

free 2007-12-29 13:23

Re: New game: Qt for developers
 
1 Attachment(s)
Quote:

Originally Posted by wolf08 (Post 116858)
How did you manage to get your qt4 to be so small. Mine is like 100MB of libraries? Could you post your ./configure line?

I'll post anything :) But...
I'm only using debian methods so I don't use configure directly but debian/rules

I kept a copy of the displayed options:

Quote:

Build type: linux-g++
Architecture: arm

Build ............... libs tools examples demos
Configuration ....... release shared dll largefile stl precompile_header separate_debug_info qt3support accessibility minimal-config small-config medium-config large-config full-config ipv6 clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs system-jpeg system-png png gif system-tiff system-freetype system-zlib nis iconv glib nas openssl x11sm xshape xcursor xfixes xrandr xrender fontconfig tablet xkb release
Debug ............... no
Qt 3 compatibility .. yes
QtDBus module ....... no
STL support ......... yes
PCH support ......... yes
MMX/3DNOW/SSE/SSE2.. no/no/no/no
IPv6 support ........ yes
IPv6 ifname support . yes
getaddrinfo support . yes
getifaddrs support .. yes
Accessibility ....... yes
NIS support ......... yes
CUPS support ........ no
Iconv support ....... yes
Glib support ........ yes
Large File support .. yes
GIF support ......... yes
TIFF support ........ plugin (system)
JPEG support ........ plugin (system)
PNG support ......... yes (system)
MNG support ......... plugin (qt)
zlib support ........ system
OpenGL support ...... no
NAS sound support ... system
Session management .. yes
XShape support ...... yes
Xinerama support .... no
Xcursor support ..... yes
Xfixes support ...... yes
Xrandr support ...... yes
Xrender support ..... yes
FontConfig support .. yes
XKB Support ......... yes
immodule support .... yes
SQLite support ...... plugin (qt)
OpenSSL support ..... yes
It's an old file so maybe on sql it's not correct. Sql does work with what is provided in initial post.

My debian/rules is attached. There are some info in it.

What's the size of your libqt4-core? Let's first look at this one.
I removed the manpage.
I'm not even sure if the binaries are stripped so theorically mine are still too big, they could be smaller!

Feel free to ask again if you need more details.

free 2007-12-29 13:25

Re: New game: Qt for developers
 
Quote:

Originally Posted by debernardis (Post 117233)
It works. I could compile XHTML Wysiwyg Qeditor quite easily - it's not a killer app at all but it's a start :D

gzipped executable in http://www.debernardis.it/n800/edithtml.gz

Great!! You make my work usefull.

Another interesting thing would be any database stuffs (seems like people are looking for this).
Also an editor with spellchecking seems needed.

1) You could make a deb package of this editor. I'll make it if people are interested.
2) What keyboard is it that you're using? I have no idea about virtual keyboards alternatives. I was initialy trying to make a gateway qt-> hildon but stopped due to lack of time.

free 2007-12-29 13:37

Re: New game: Qt for developers
 
1 Attachment(s)
I just compiled another editor (or is it the same?)

I suggest trying "chip" for heating your feet on the IT :)


http://debfarm.free.fr/textedit

I'll build _all_ examples and demos in a few hours and make a package out of it.

Debernardis, are you running oS2007?

unique311 2007-12-29 13:45

Re: New game: Qt for developers
 
when can we expect a 2008 port.
would it be possible to get your modified source code, so i can try to port it to 2008.
i want to port some qt apps.
that required the libs.

unique311 2007-12-29 13:46

Re: New game: Qt for developers
 
going to try to dpkg -i install the 2007 packages, hopefully it installs.

unique311 2007-12-29 13:51

Re: New game: Qt for developers
 
deb http://qt4.garage.maemo.org/ chinook user
is this your port?

debernardis 2007-12-29 15:46

Re: New game: Qt for developers
 
yes I am on os2007. For the keyboard, see http://www.internettablettalk.com/forums/showthread.php?t=10101
I'll test other apps. That tiny xhtml editor has a nice feature I hadn't seen, it saves also in pdf! Nice!


All times are GMT. The time now is 03:59.

vBulletin® Version 3.8.8