On 30 November 2010 21:10, Almar Klein <[email protected]> wrote:

>
>
> On 29 November 2010 19:11, Rex Dieter <[email protected]> wrote:
>
>> Almar Klein wrote:
>>
>> > On 27 November 2010 20:49, Rex Dieter <[email protected]> wrote:
>> >
>> >> Almar Klein wrote:
>> >>
>> >> > I've build an application using PyQt running in Python 3. I am using
>> >> > CentOS 5.5 (using a virtual box) to build binaries which can be used
>> on
>> >> ...
>> >> > My questions are:
>> >> >  - Why is the GTK+ theme not available on CentOS, since it's GNOME?
>> >>
>> >> iirc, rhel5's qt is too old (ie, doesnt include the gtk+ theme which
>> was
>> >> introduced in qt-4.5.x).
>> >>
>> >
>> > Ah sorry, I should've said that I build the latest (well, a few weeks
>> ago)
>> > Qt from source, as well as PyQt.
>>
>> And you built it with -gtkstyle option?
>>
>
> No, I did not know about that option. I shall try that :)
>

I tried this, which required me to first do (on CentOS 5.5):
  - yuminstall gtk+ gtk+-devel
  - yum install gtk2 gtk2-devel
  - yum install contconfig fontconfig-devel
  - yum install freetype freetype-devel

Then I recompiled Qt using "./configure -fontconfig -gtkstyle". Then
recompiled PyQT, and it worked!

Thanks!
  Almar
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to