JLP’s Blog

A blog about computers, science and some other things

Archive for August, 2007

The Book of Qt 4 – a short review

Posted by JLP on 22nd August 2007

The Book of Qt 4Alternative operating systems like and are getting more and more popular these days. That’s why cross platform technologies and programming are also increasingly popular and important. One of such technologies is a C++ GUI programming library and framework called . Today I’ve just finished reading a book about it, The Book of Qt 4 – The Art of Building Qt Applications. This is my short review of it.

The author of the book is Daniel Molkentin, who is one of the main developers at the KDE project. KDE is an entire desktop environment based on Qt. On more than 400 pages Daniel did a great job of presenting basic concepts and components behind Qt 4. Compared to another Qt book I’ve got, C++ GUI Programming with Qt 4, the introduction to Qt in this book is more smooth and friendlier to readers who are just starting to learn Qt. Examples are simpler and there is a separate example for every topic. So you don’t need to complete something from the beginning of the book to try another thing from the end. It is also nice that there are step by step instructions on how to use Qt’s graphical tool to design the main application window and dialogs. With 48 and 44 pages two of the longest chapters describe model/view programming using Interview framework and Qt’s powerful painting system called Arthur. Like the rest of the chapters these two are also presented in a way that doesn’t overload the reader with too much information. For complete list of topics covered check out the table of contents.

At the end I can say that this is a great book for anyone getting started with Qt 4 programming. By learning Qt 4 you will be able to reach more users, program faster and enjoy more while doing it. Not to mention you will be ready to start developing for , which will be released in a few months and is destined to be one of the most exciting desktop environments ever.

Tags: , , , , , , , , , , , , , ,

Posted in Books, Computers, KDE, Linux, Programming, Software | No Comments »

Getting a Trolltech Qtopia Greenphone mobile phone

Posted by JLP on 14th August 2007

Qtopia LogoI just got an e-mail with some great news. It looks like I am among the lucky ones who are selected to receive a grant under the Qtopia Greenphone Innovation Grant program. This means that I will soon get a full Greenphone mobile phone SDK, with the phone itself, connector cables and development tools. Greenphone is one of those mobile phones of the new generation which are based on an open platform. Another well known example from the new generation is OpenMoko. Apple iPhone on the other hand still belongs to the old closed platform generation.

And why will I get Greenphone? Well it looks like judges from Trolltech found my proposal for a new mobile phone application interesting. In this rather short time (submission deadline is October 31) I will try to create a free and open source mobile phone client for playing turn-based 4X space strategy games which are based on servers and the protocol of Thousand Parsec project. A C++ library for the protocol is already available and I hope I’ll be able to reuse it as much as possible. If all goes well most of the work will involve the user interface and use of the C++ protocol library. The work will also be of use with my other project, which is to create a game client for KDE 4 desktop, which heavily uses Qt toolkit and framework, which is very similar to Qtopia used on the mobile phone and other mobile devices.

Can’t wait until postman brings me the package. In the meantime I should start reading more about Qtopia development. I also need to come up with a name for the game and the way a user would interact with it. Any suggestions are welcome.

Tags: , , , , , , , , , ,

Posted in Games, Hardware, Linux, Programming, Software, Thousand Parsec | 3 Comments »