>Building Qt on a clean Kubuntu

>I have to admit it – I always build my own Qt. Because of customers sticking to older versions and myself wanting to have the latest, I currently have 4 flavors of Qt and 3 of QtopiaCore sitting on my laptop.

As I recently invested in a new computer I felt that I had to build Qt + Qtopia on it. The computer was installed with a clean Kubuntu from the start. The problem is that Qt requires some packages to build and finding those packages is (at least for me) a tedious iterative process (make – look what failed – apt-get install it – repeat). So, without further ado, here is a list of packages that you need to get 4.3.4 X11 to build properly:

  • build-essential
  • libx11-dev
  • libxext-dev

So, make sure to apt-get install those before running ./configure && make && make install && echo -e "\a" . At least it keeps you from interrupting your I’m-compiling-thus-working-coffee-break. :-)

Sidenote: I guess Qt 4.4 requires some gstreamer goodies as well, I’ll tell you when I get there.