Miniature/Development/Qt4 for Maemo5

Inside scratchbox (getting extra repos):

 [sbox-FREMANTLE_X86: ~] > echo "deb http://repository.maemo.org/extras/ fremantle free non-free" > /etc/apt/sources.list.d/extras.list
 [sbox-FREMANTLE_X86: ~] > echo "deb-src http://repository.maemo.org/extras/ fremantle free" >> /etc/apt/sources.list.d/extras.list
 [sbox-FREMANTLE_X86: ~] > echo "deb http://repository.maemo.org/extras-devel fremantle free non-free" > /etc/apt/sources.list.d/extras-devel.list
 [sbox-FREMANTLE_X86: ~] > fakeroot echo "deb-src http://repository.maemo.org/extras-devel fremantle free" >> /etc/apt/sources.list.d/extras-devel.list
 [sbox-FREMANTLE_X86: ~] > fakeroot apt-get update
 [sbox-FREMANTLE_X86: ~] > fakeroot apt-get remove libqt4*
 [sbox-FREMANTLE_X86: ~] > fakeroot apt-get install libqt4-maemo5-dev

Assuming you have checked out Miniature to ~/sources/miniature:

 [sbox-FREMANTLE_X86: ~] > cd ~/sources/miniature
 [sbox-FREMANTLE_X86: ~] > make distclean #dont worry if it fails
 [sbox-FREMANTLE_X86: ~] > ./autogen.sh QT_PATH=/opt/qt4-maemo5/bin
 [sbox-FREMANTLE_X86: ~] > make

Now the UI widgets (and menues) will look much more hildonized!

On the N900, open a terminal (assuming you installed the extras/extras-devel catalog files on it):

 $ sudo gainroot
 $ apt-get update
 $ apt-get install libqt4-maemo5-dev