Results 1 to 4 of 4

Thread: Mac Style for Qt Application---help needed

  1. #1
    Join Date
    Oct 2006
    Posts
    75
    Thanks
    10
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Mac Style for Qt Application---help needed

    hi
    I am using Qt-4.3. I want to apply Mac Style to my application. How can i do it? i tried by #./myapplication -style mac
    #./myapplication -style macstyle

    but both of those options are setting my application to default style (or windows style). it seems, there is no Mac Style provision in Qt-4.3. can anybody suggest how can i apply mac style to my application. thanks in advance.

    thank u.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Mac Style for Qt Application---help needed

    The Aqua style is available only on the Mac platform.

  3. #3
    Join Date
    Oct 2006
    Posts
    75
    Thanks
    10
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Mac Style for Qt Application---help needed

    hi,
    thanks wysota for ur reply. but what is the use of QMacStyle Class in Qt4.3? is it not at all possible to set qt application (on linux X11) to mac style? any how thanks again..

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Mac Style for Qt Application---help needed

    No, it's not possible because the mac style uses Mac API to render itself, just like WindowsXP style is available only on WindowsXP and Windows Vista.

Similar Threads

  1. Loading / setting custom style on win-xp
    By mpotocnik in forum Newbie
    Replies: 0
    Last Post: 29th April 2008, 11:38
  2. dll + application
    By fpujol in forum Qt Programming
    Replies: 11
    Last Post: 15th April 2007, 18:37
  3. Qt style sheets
    By locus in forum Qt Programming
    Replies: 5
    Last Post: 5th April 2007, 17:03
  4. QProcess start automaticaly needed application
    By raphaelf in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2006, 14:11

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.