My thinking here on the QFrame::Shadow and QFrame::Shape errors is that gcc might not be understandin' the concept of something like this:
{
enum Shape
{
...
Panel = 0x0002,
...
}
}
class QFrame
{
enum Shape
{
...
Panel = 0x0002,
...
}
}
To copy to clipboard, switch view to plain text mode
I guess that Visual Studio has no problems with the construct causing the error, but Xcode don't like it.
Should I just hard code the value (yuck) or is there another way to dereference the enum within the class (something that I'm not too familiar with - my enums are always global).
Thanks,
Robert
Bookmarks