PDA

View Full Version : Qt for Maemo 5 going Beta


qgil
01-19-2010, 07:22 AM
Qt for Maemo 5 going Beta: http://labs.trolltech.com/blogs/2010/01/19/qt-for-maemo-5-going-beta/

Documentation: http://qt.nokia.com/doc/qt-maemo-4.6/

General info: http://qt.nokia.com/developer/qt-for-maemo-developers

Lots of changes went into Qt since the last Technical Preview:

* Support for NEON instructions for increased drawing speed
* Refactored Kinetic Scrolling
o Kinetic Scrolling now default for all QAbstractScrollArea and QWebView based widgets
o QMaemo5KineticScroller is not needed anymore and was removed. To override scrolling behavior or to disable it altogether, QAbstractKineticScroller can be used
o Take a look at the kinetic scroller example (examples/maemo5/scroller) for information on how to tweak scrolling
* Lots of styling fixes
* QtMultimedia got an N900 backend
* Documentation now online at http://qt.nokia.com/doc/qt-maemo-4.6/
* New Maemo 5 specific examples:
o Showing Banners and Notes
o Using list pick selectors and value buttons
o Dynamically rotate UIs
o Creating Stacked Windows
o Using Maemo 5 specific Window States
o Grabbing the device’s zoom buttons


Feedback is always welcome. Qt 4.6 is getting there!

jcnielsen
01-19-2010, 07:38 AM
Cool! Will look forward to try it out.

robbie
01-19-2010, 07:52 AM
Nice to see progress. When the Qt creator is updated too, i shall restart my development efforts. :)

REMFwhoopitydo
01-19-2010, 09:19 AM
is this what the koffice in devel is based on?

tekojo
01-19-2010, 11:41 AM
is this what the koffice in devel is based on?

No, the KOffice viewer is still Qt 4.5.3

rkm
01-19-2010, 12:13 PM
Good stuff! I'll get testing as soon as I can :)

thp
01-19-2010, 12:19 PM
Will PySide bindings be provided for Qt for Maemo 5? (or at least have PyQt bindings expose all the Maemo 5-specific APIs..)

damnshock
01-19-2010, 12:55 PM
Some new toy to play around on my holiday month! Awesome! :D

soeiro
01-19-2010, 01:03 PM
Any guesses as to when the qt 4.6 libraries will be available as dependencies on the repositories?

krk969
01-19-2010, 04:27 PM
Any guesses as to when the qt 4.6 libraries will be available as dependencies on the repositories?

its already there , look for qt4-maemo5 packages

mikbry
01-19-2010, 05:23 PM
Great news!
After hacking, i succeed to compile it with my twitter app on N900.
- examples/widgets don't includes images/landscape.png images/portrait.png but it works without.
- WebKit HTML page with Maemo big buttons look strange...
- for kinetic scroll could we control if we start horizontal swipe it locks vertical movements to only have left/right movements? instead of how it acts in table for kineticscroller.
- QDockWidget should not be use, i know. But could they display without titlebar/buttons by default. as an empty pane.
- as for zoom buttons, camera button access would be cool

So now the question is Qt or GTK? if I start a project now with Qt4.6. will 4.6 replace 4.5 soon...

shawn.butler
01-20-2010, 06:43 PM
Great news.

jkq
01-20-2010, 07:55 PM
Dynamically rotate UIs

This sounds interesting!

-jkq

qgil
01-21-2010, 06:55 AM
My first Twitter-Talk retweet ever, I think. But found it interesting:

w00teh (http://twitter.com/w00teh) @quimgil Great news about the Qt beta! Good to see QMaemo5 bits vanishing. Still a bit concerned about Orbit+DUI, but I'm happier than I was

http://twitter.com/w00teh/status/7987459499

w00t
01-21-2010, 07:17 AM
Haha. Perhaps you'll end up setting a new trend, Quim!

bulelet
01-21-2010, 07:22 AM
ok so.. im kinda... just a... end-user type of guy lost in the bushes in here.

ive seen QT videos on youtube running on n900 and really loved it.

just wanna ask..do i just download the QT beta from the extras-devel?

install and then it'll start working? no code typing and other stuffs?


oh and how do you add the extras-devel on app catalog? (sorry guys, really new guy here)

VDVsx
01-21-2010, 07:32 AM
ok so.. im kinda... just a... end-user type of guy lost in the bushes in here.

ive seen QT videos on youtube running on n900 and really loved it.

just wanna ask..do i just download the QT beta from the extras-devel?

install and then it'll start working? no code typing and other stuffs?

Qt is a developer framework to build applications, not a application. But there is some cool applications made with Qt already in the repositories, probably the ones that you saw in youtube.

w00t
01-21-2010, 07:32 AM
bulelet,

I think you might be a little confused about what Qt is - perhaps not, but just in case, quick explanation:

Qt is a development library, that application developers can use to develop their own individual applications faster, better, and cooler.

Some applications on n900 use Qt, some don't.

You probably don't want to install Qt individually on your n900 (unless you're doing some odd kind of development with it on your device), but instead, whenever you install an application that uses it, it will be silently and automatically pulled in for you (and kept up to date afterwards, like everything else). :)

Hope this helps.

bulelet
01-21-2010, 07:37 AM
oohhhh..ok i might need a lil bump on the head.

saw this: http://qt.nokia.com/doc/qt-maemo-4.6/maemo5-rotation.html

and MAN,can someone PLEASE come up with that app (oh apologies, its a "widget") aready.

cant always use my 2 hands when trying to place a call. LOL

w00t
01-22-2010, 07:02 AM
Hmm. If you mean you want to call people with portait mode, you can already - tap the top menu bar with the call application open and customise it - you can even set it to auto-open if you rotate the phone, which might be useful if you do that a lot :)

lizardo
01-22-2010, 10:02 AM
Will PySide bindings be provided for Qt for Maemo 5? (or at least have PyQt bindings expose all the Maemo 5-specific APIs..)

PySide (as shipped in extras-devel) is already using the Qt 4.6 libraries and has support for the Maemo 5 specific classes. (see http://qt.gitorious.org/pyside/pyside-examples/trees/master/mobile-demos-python/hyperui for a PySide demo application tested specifically on N900).

As a side note, the PySide developers are already aware that the latest PySide packages in extras-devel are not working with the latest Qt 4.6 beta release, due to some classes that were removed. We will be providing new packages soon.

nilchak
01-22-2010, 10:05 AM
Thanks for the info about PySide and QT4.6. How about using PyQT ? Is the PyQT bindings against QT 4.6 or is it currently for 4.5 ?

attila77
01-22-2010, 10:32 AM
Here's the current state of PyQt:

It is ATM being built against 4.5 to be able to reach Extras proper. As Maemo-specific stuff was integrated in the development branch of PyQt, I was waiting for upstream PyQt to release a stable build with all the necessary changes. The good news is that this happened a few days ago, so this weekend I'm going to make a PR1.1 compatible 4.5 release that is going to -testing (and 10 days later to Extras). I think this is very important as it will, for the first time in Maemo history, allow Qt-based python applications to reach mainstream users. Even if you plan on using PySide after PR1.2, this is a good, compact and stable starting point.

After this release is made, I will recompile with 4.6 support (it supports all the stuff mainline 4.6 brings, so animation framework/etc is in there) and upload that version to extras-devel. That release will follow further Qt 4.6 releases. The support for Maemo 5 specific classes will depend on request demand - as there are not so many of them, it's not THAT big of an issue to add them.

EDIT: To avoid misunderstandings - the version of PyQt in extras-devel supported Qt 4.6 from around mid-december, but you needed to recompile to 'unlock' the 4.6 functionality. With this release, you will get BOTH a proper 4.5 and a 4.6 package, that will be able to coexist on your device, just like Qt 4.5 and Qt 4.6 currently do.

fpp
01-22-2010, 12:36 PM
Great news this ! I think we'll see some great apps once this is generally available... Thanks attila!