Topic: getting QT4 to look like GTK

hi all,

i love crunchbang and i've really had a blast with all of the tweaking and configuring and conkying and tint2ing that has allowed me to make this operating system feel like it's made for me.

one thing i had a problem with though is finding a search client.
i tried Beagle, but it used too much RAM, and i tried Tracker, but it didn't open the files or folders correctly from the GUI.
i've found success though with Recoll (QT4 indexing and search client) as it seems to be the best balance of a nice GUI and an efficient core.

the one thing i can't get to work though is the skinning. the colour is always off compared to the other windows.
i changed the settings (qtconfig-qt4) and such but it just doesn't take. (screenshot)

any suggestions?

http://users.tpg.com.au/bjcohn/2010-03-03--1267611678_1280x800_scrot.png

Re: getting QT4 to look like GTK

It looks kinda qt3 to me, otherwise, is the program requires root privileges, because if it does, it may require to configure the qt4 config as root also. Just throwing suggestions at you smile

Re: getting QT4 to look like GTK

How did you run qtconfig-qt4? If you did it from the terminal, try running it from gmrun instead. Also after changing the theme make sure to go to File > Save.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: getting QT4 to look like GTK

it's qt4 AFAIK.

thanks for the help but it still didn't change it, unless it requires a restart.

Re: getting QT4 to look like GTK

Have you tried changing the theme in qtconfig-qt4 to something else, saving it, then changing it back to GTK+ and saving again?

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: getting QT4 to look like GTK

rikky wrote:

it's qt4 AFAIK.

The screenshot does not look like a Qt4 app. I am pretty sure its Qt3. Theoretically you could change the looks of the app using qt3-qtconfig, but that won't work as it needs built in KDE3 themes, which are not there in the repositories anymore.
I think the default ubuntu (jaunty) package was built with Qt3.3. Why not use the ppa mentioned on the recoll homepage (http://www.lesbonscomptes.com/recoll/download.html#rpms). Its a newer version, maybe it uses Qt4.

Re: getting QT4 to look like GTK

Good catch serious_lee.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: getting QT4 to look like GTK

i'm actually trying to build recoll from source now, but i keep getting this error:

checking for iconv_open in -liconv... no
checking for iconv_open in -lc... no
configure: error: Cannot find iconv_open anywhere. Please install iconv

i downloaded and installed (lib)iconv from source and i still get the error.

any tips?

Re: getting QT4 to look like GTK

no help?

c'mon guys, i'm so close and you guys have been great so far.

Re: getting QT4 to look like GTK

Use the repository mentioned in serious_lee's link to get the latest version. No need to compile.

Last edited by anonymous (2010-03-15 02:44:53)

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: getting QT4 to look like GTK

I did, and in 'About Recoll' it comes up as the latest version but it still looks like the same ol' QT3.

I thought that manually specifying it in the build options might help.
Anyone else wanna build it with QT4 specified for me?

Re: getting QT4 to look like GTK

Are you sure something did not went wrong neutral, because i am using karmic (kde) and just installed recoll using the ppa and it IS the latest Qt4 version.

http://omploader.org/tM3Vnag

If you still want to compile it from source, go ahead and do it. If you get any errors, post them here.
As it says on the homepage...

Recoll will automatically be configured to build with Qt 4 if the version of qmake found in $PATH:$QTDIR/bin is for Qt 4

As far as i know Qt4 > 4.5.0 in jaunty, so the compiled recoll will be Qt4 version.
Besides Qt development files, as the page says,...

In order to build Recoll from source, you will need to install the Xapian core development libraries.

You will also need the development files for libX11 and zlib.

Personally, i would still suggest installing it from ppa, as using something lightweight as #! and then dumping a whole lot of Qt, X11, ... development libraries for one app seems overkill tongue.

Re: getting QT4 to look like GTK

Dude, I did install it from the PPA - but it still doesn't skin. That's the problem.

I tried to compile from source, but I got errors and posted them in the reply five or so messages above.