“Qt will not be built with xshape support”

I was starting to fool around with Qt just when Qt v4.5 was released.

The first thing to do obviously was to download the source tarball and build it. But the first ./configure command resulted in “Qt will not be built with xshape support”, which was obviously a let-down. To make things worse, when I ignored this message and went on with “make”, the compilation failed with some compilation errors.

So I googled around, and found this:

To solve this problem, install the xorg-dev package.

This is for ubuntu/debian systems. For other distributions, the same may be available under a different package name. I don\’t really know.

And oh, I was reading this online book yesterday, and maybe it will be a great help for people to get started with – Qt 4: Introduction to Design Patterns in C++ with Qt 4

Hope this piece-o-text is a lifesaver for many a baffled Qt starters.

BUG: Timepicker does not display AM/PM on Ubuntu, Datepicker displays an arbitrary “October”

Datepicker and Timepicker Screenshot

Datepicker and Timepicker Screenshot

I recently noticed a little bug in firefox (I don’t know where this belongs, in “xulrunner” or in firefox code itself), and I dutifully report it here:

My friend built an extension for firefox, and I noticed that the timepicker control (in xul) does not display the AM/PM select, neither does it provide a 24 hour clock. (only on Ubuntu).

I live in India, and so it just shows IST instead of AM/PM (see screenshot)

This problem occurs only on Ubuntu (I have not tried other distros). The same firefox extension was displaying AM/PM correctly in Firefox when running on Windows Vista.

The same problem occurred with the datepicker control: it was displaying an arbitrary “October” between the Day number and Month number. (This too, only on ubuntu).

I have reported the bug at bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=479069

I wonder why this is hapenning.

Free Software – Are You In?

“We have managed to increase our lifespan in a world that is not fit to live in” (from “The Man from Earth”).

This is rather an absurd beginning to an article, but imagine if I were to be sued for quoting from a movie – how completely insane! It would be like being punished for sharing my class notes with a friend (or even worse).

But the state of the software world right now is much like this. Closed source software have managed to grab a popularity for which no reason seems to exist. Such software (non-free) restricts the freedom of the user, and is extremely annoying at times.

So I take this opportunity to encourage all my readers to adopt Free Software instead of non-free ones. For only free software can build a free computing society.

I shall be making a presentation on this topic in my college tomorrow, under the auspices of the Sun Academic Initiative. The presentation itself shall be available here tomorrow.

Until then, stay free.

PS: Coming up next – how to load remote javascripts at “runtime” from the server!

How to contribute to the open source community

Open source is so much like a teddy bear. You love it and it loves you so right back. It doesn’t even ask for commitment (wow!), but if you are sensitive enough, you would do a lot for it. I won’t get into what you would do for your teddy bear,

I guess there are basically three things you can do for open source projects:

  • Contribute code to it: This really means coding, bug fixing and the like.
  • Maintain: This means stuff like maintain its public pages, manage its mailing lists and/or its website. But nowadays most of these things are done by websites like sourceforge
  • Donate: Yeah. If you like some open source software but can’t contribute to it the techie way, you can always donate. With big projects like Ubuntu, Firefox etc this would mean buying “branded” products like a coffee mug or a tee shirt. But small projects don’t really know what to do with their money.

And here‘s a great article about this topic I found.