So I’m building PySide on the Mac as part of a new imaging endeavor and after struggling with tons of:
type ‘…’ is specified in typesystem, but not defined. This could potentially lead to compilation errors.
errors, I realized that ‘/usr/include’ was being prepended to every path passed to the generator and, with the help of Google (why I’m writing this for *you*), I realized that there’s a workaround:
//The Alternative value to QT_INCLUDE_DIR. Necessary to fix bug
// on cmake 2.8 MACOS users
ALTERNATIVE_QT_INCLUDE_DIR:PATH=/Library/Frameworks
This was set for a Qt installed from binary as Mac Frameworks and the variable should pop up in CMake for you to set manually.
Hope that helps someone!