Qt 4.6 & mobile-demos (pt_BR)

Hoje foi lançado o Qt 4.6.0! Também lançada a versão 1.3 do Qt Creator. Downloads em http://qt.nokia.com/downloads

Além das novidades desta versão, confira também os mobile-demos! (Código Aqui)

Pausa!

“O que é Qt?” -> Veja um resumo aqui (embora esse artigo em português da Wikipedia precise dumas atualizações).

Qt Creator?” -> É uma IDE para desenvolvimento em Qt.

mobile-demos? Tá, esse explico aqui =)

São alguns conceitos de aplicações criados pelos designers e desenvolvedores do openBossa visando principalmente dispositivos de telefonia móvel (vulgo ”celulares’) Symbian / S60 – Plataforma que move cerca de vários celulares em todo o mundo, notoriamente (mas não exclusivamente) aparelhos Nokia.

Se você tem um celular S60 5th edition (N97, 5800), você encontra os pacotes em: http://qtlabs.openbossa.org/mobile-demos/

Quem tem celulares S60 3rd (por exemplo N95, N85), também podem rodar esses demos! Claro que com restrições, já que eles foram pensados para telas sensíveis a toque. Existem alguns branchs no gitorious com algum suporte ao teclado, quem sabe num futuro próximo teremos novidades =)

Se você já é um dos felizes proprietários de um N900, também temos pacotes para você!

Se você está querendo ver do que se trata isso tudo, está rodando Windows e não quer se envolver com compilação, instalação de bibliotecas, etc, aguarde que se possível ainda hoje haverá algo para você veja os links abaixo do vídeo =)

Enquanto isso, confira o vídeo:

Update:

Aqui estão as versões para você que quer brincar com os demos no seu desktop. São binários com Qt 4.6.0 linkados estaticamente, para você que ainda está com uma versão anterior do Qt ou nem tem instalado.

Versão para Linux

Versão para Windows

Mac: Estou sem mac no momento, contribuições são bem-vindas =)

Latinoware 2009

Next Thursday, October 22nd begins the 6th edition of the Latin American Free Software Conference – Latinoware and we are going to be there =)

About 3900 people are already registered for the event and personally I expect a great opportunity to meet people, some of them I only know from IRC or mailing lists, maybe new partners for Qt Labs Americas in other countries of Latin America =) and also a chance  to learn new things.

Learn and teach a little! =) If you take a look in the conference’s program you will see that some colleages are going to speak there. Artur de Souza (MoRpHeuz) will present an updated version of his talk about Plasma Netbook (including a cool demonstration =). In Caio Marcelo‘s and Eduardo Fleury’s talk, the attendants will see what are the new possibilities in graphical interfaces development with Qt (and for KDE). Another openBossa speaker is Kenneth Christiansen with a presentation about QtWebkit.

People interested in learn how to develop with Qt and KDE will have a great opportunity because there are 2 courses by the guys of Live Blue. In the last day (Saturday October,24th) Jesus Sanchez-Palencia and me are going to head a course on the new Qt 4.6 APIs .

Besides the mentioned ones, Ana Cecília (annieC) will talk about an usability study on FOSS.

So, if you are going to Foz do Iguaçú, see you there! =) And if you won’t go, stay tuned for the news.

A script to configure Qt-S60 environment on Linux

You may have noticed that Qt is being ported to S60, and as you can read here, daily builds are available as technology preview since the end of September. At first, there are only MS Windows installers, but Lizardo did a great job collecting and writing patches and instructions to make it possible to develop with Qt for S60 on Linux.

To ease this process, I wrote a small script that does almost the same described in Lizardo’s post, with some new pseudo features. It needs some improvements, the known ones are marked with #XXX – contributions are welcome!

It consists in 2 files, the script and a config file where the user can customize the directories where things will be installed, the directory of the downloaded files, the version of S60 that will be used. Initially it’s ready for S60 3rd edition FP2 and S60 5th edition (Check here the version of your target device), etc.

Running the script, the first step shows the URLs to files you have to download, but need login or other kind of interaction with the website. The script is a nice guy, when it’s possible “he” asks if you allow him to open those URLs in your default browser =)

The script then downloads other files that are direct accessible and the installation begins. If everything goes right, in the end your environment will be ready for Qt-S60 development.

Wanna try? Download a it here or git clone it:

git clone git://littlechina.org/anselmo/setupQtS60env

That’s it =)

ToDo:

  • Simplify updates of Qt-S60 in a environment already in use.
  • Solve the #XXX in the script
  • Probably there are other things that I don’t remember now =)
  • UPDATE: 2009-10-17: There are some issues in qmake when using DEPLOYMENT
  • UPDATE2: 2009-10-19: The old daily builds aren’t available anymore, a message there says that they “back tonight hopefully”
  • UPDATE3: 2009-10-20: Builds are back =)
  • UPDATE4: 2009-11-01: The gnupoc patch for Qt-S60 needs to be uptaded =/ .
  • Hopefully it’s going to save us =) http://labs.trolltech.com/blogs/2009/10/28/a-new-symbian-toolchain-for-linux/

Canola2 menu layout with Qt Kinetic

Welcome back dear readers. This is my second post of the day talking about what is happening in the development of animated layouts in Qt Kinetic.

As I said in my previous post, we discussed about new good examples that could show use cases of this new API. In the end, only one example was created, but it’s really cool =) .

Maybe some of you will recognize this interface, it looks like canola2‘s main menu, another software developed by INdT for Nokia internet tablets (e.g. N810) – and as you can read here, an old bug was fixed and canola2 is now a free software, released under GPLv3. In this post you can read more about the development of that interface.

So, we wrote an example based on that concept. During the development we had nice discussions regarding the algorithm for the engine that controls the icons distribution on the screen.

Check it out:

http://www.youtube.com/watch?v=eJcTBJaPRZg

The source code is not available yet, but it will be published soon in a git repository near you, then you will be able to check how animated layouts were used and also see that algorithm I’ve just mentined. So, stay tuned!

Qt State Machine and Animated Layouts Integration

Hey! Another post regarding our work with Qt Kinetic here at openbossa/INdT.

A quick introduction:  in the end of February I posted a video showing the first example of layouts animations.  At that time, the API wasn’t complete and there was no integration with states and some stuff were hardcoded.

In March some Trolls visited Recife to speak at Bossa Conference 2009 (you can watch the presentations on http://openbossa.blip.tv). It was nice because we could talk about the work we’re doing together using whiteboards, what makes a huge difference =) .

After Bossa, we continued the development of the Animated Layouts API, making layout proxies transparent and integrating with the Qt State Machine Framework. It now allows the customization of animations per widget, bringing more flexibility in the creation of rich user interfaces using Qt.

The following video shows the old example with these improvements:

link: http://www.youtube.com/watch?v=wZo1wskBs0A

After that, we created some examples in order to show use cases and also to test what had been developed, but it is the next post’s subject! (remember what I said in the beginning? ;) )

Layout Animations with Qt Kinetic

My first post about stuff I’m working on ;)

We are working together with Qt Software guys in the Qt Kinetic project, specifically with animated layout transitions.

Last week we made our first demo of what is being developed. It uses the basics we’ve just finished, now we’re working to define the final API. The following video shows this demo:

video link: http://www.youtube.com/watch?v=M3HbmrNvQl4

Interested? Read this overview and more details about internals written by co-workers, then join us at #qt-kinetic @ Freenode =)

PS: <portuguese>Há também uma visão geral em português a respeito neste post. </portuguese>