Since I haven’t found any proper debs of qgtkstyle around, I’m just going to tell how to compile it from source.
If you don’t know what Qgtkstyle is, Qgtkstyle is a Qt theme engine that uses your GTK theme directly.
First thing to do is to enable the Backports repository since you need Qt 4.4 which is in the Backports in Hardy. You can do this by going System→Administration→Software Sources, then going to the Updates tab and enabling the “Unsupported updates (hardy-backports)” repository.
Click Close and then click the Reload button when prompted. Now to install all the development packages needed to compile Qgtkstyle.
sudo apt-get install build-essential libqt4-dev libgtk2.0-dev subversion qt4-qtconfig
This is optional if you want to install with Checkinstall
sudo apt-get install checkinstall
Now to get the code
svn co svn://labs.trolltech.com/svn/styles/gtkstyle
There should be a folder in your home directory called gtkstyle. Now enter that directory
Now compile it
Now here you have a choice. You can either just install it directly with
sudo make install
Or you may like to build a deb out of it for easy removal later if need be. In that case do
and follow the instructions. They’re pretty self explanitory.
Now if you go under System→Preferences→Qt 4 Settings you can choose GTK from the drop down menu.
Qt 4 Settings
Then do a File→Save and enjoy Qt applications with a nice GTK integration.
Also if you want to see a little Easter Egg move that preview window around. Yes you can actually move that. I won’t spoile the surprise. It gave me a little laugh when I first found it.