Results 1 to 4 of 4

Thread: qt3 themes example: missing header files?

  1. #1
    Join Date
    Aug 2006
    Location
    troy, new york
    Posts
    24
    Thanks
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default qt3 themes example: missing header files?

    hey,
    i'm new to qt, i'm currently building on freebsd 6.0; i wanted to build the themes example for qt3, the one with wood and metal... http://doc.trolltech.com/3.0/themes-example.html however, a quick look at the source files made me aware of local header files which should reside in the build directory, rangecontrols.h, buttongroups.cpp, etc. i've search the web and can't find the files anywhere not even in the kde repository. if anyone knows where they are or have a copy i would greatly appreciate the help. if not is there any way to get the brushed metal look in qt 4.1.4? all i see in the docs is that QMacStyle <aqua> is only available on the mac because it uses their theme engine. again help or info would be much lauded. thanx


    nikita

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default

    That example is for Qt 3.0 --- it won't work with Qt4. You can find Qt4 version in $QTDIR/examples/widgets/styles or here.

    Quote Originally Posted by nikita
    all i see in the docs is that QMacStyle <aqua> is only available on the mac because it uses their theme engine.
    As the docs say:
    Warning: This style is only available on Mac OS X because it relies on the Apple Appearance Manager.
    Maybe there is a style plugin that emulates it. You can try to look for it on kde-look.org.
    Last edited by jacek; 8th August 2006 at 21:50.

  3. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qt3 themes example: missing header files?

    The headers are from other examples. If you look at the .pro file, you'll see that they're all listed. This means you can't move the themes directory out of the examples directory.

    In 4.1.4 you can get the brushed metal look (Mac OSX only) by using the Qt::WA_MacMetalStyle flag.

  4. #4
    Join Date
    Aug 2006
    Location
    troy, new york
    Posts
    24
    Thanks
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: qt3 themes example: missing header files?

    thanks guys, i'll get right on it and will report my progress....

Similar Threads

  1. Replies: 4
    Last Post: 8th April 2010, 00:09
  2. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 11:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.