Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, February 1999
Re: Any "theme-builder" for Qt?? fine errors


Message 1 in thread

loke wrote:

> Hi,
> is there any "theme-builder" around for
> Qt, or is there any site with a lot of themes around (I'm about as
> graphicly talented as doorknob)??
> I saw something about "fine".. but it gives
> me about 100 errors when I try to build it,
> so before I start mucking about with that I was wondering if
> there was anything else..
>
> Thanks
> Loke
>
> --
> List archive and information: http://qt-interest.trolltech.com

hee hee that wouldn't be my site would it errors what errors their aint
no errors here just us chickens!
actually i just made fine on a virgin machine with only the QT
development sys on it and it built ok
without the themes enabled. that is ............
um its pretty easy tho to add themes support umm..... tell me where your
at in it ........
from memory you have to include metal.o for a start into your program
if that causes errors you need to make metal.o by going into the
examples/themes directory  of your
QT distro and doing a make
there.....that will build the metal.o file and just copy it to the  your
program directory
there is only another 3 or 4 lines of code to be added after that




////#include "metal.h"
////#include "wood.h"

////#include <qwindowsstyle.h>
////#include <qplatinumstyle.h>
////#include <qmotifstyle.h>
////#include <qcdestyle.h>////#include "metal.h"
////#include "wood.h"

////#include <qwindowsstyle.h>
////#include <qplatinumstyle.h>
////#include <qmotifstyle.h>
////#include <qcdestyle.h>

and someting to show it in your main loop or in a event that is
activated by a menu


and here is some menu code to activate it


void QFine::styleWood()
{
// qApp->setStyle( new NorwegianWoodStyle );
// selectStyleMenu( sWood );
}

sorry my web page doesn't mention this last bit
http://homepages.tig.com.au/~boab3/themes.html