Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMacStyle - File not found error

QMacStyle - File not found error

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 2.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cpsmusic
    wrote on last edited by
    #1

    Hi,

    I'm currently trying to port an app that was using Qt 4.8.3 to Qt 5.0.

    When I try to build the app (using Xcode) I get a "file not found" error for the

    #include <QMacStyle>

    What's going on and how can I fix this?

    Cheers,

    Chris

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      [quote author="cpsmusic" date="1358486908"]What's going on and how can I fix this?[/quote]

      It seems that QMacStyle was made internal in Qt 5. Check "this announcement":https://codereview.qt-project.org/#change,39716 for details.

      http://anavi.org/

      1 Reply Last reply
      0
      • S Offline
        S Offline
        steno
        wrote on last edited by
        #3

        If you are deriving off of QMacStyle, switch it to QProxyStyle. If you need to create QMacStyle use QStyleFactory.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved