QMacStyle - File not found error
-
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
-
[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.
-
If you are deriving off of QMacStyle, switch it to QProxyStyle. If you need to create QMacStyle use QStyleFactory.