In shiboken documentation, it’s saying the separator of include path should be : (colon)
But on Windows every full path is containing colon (e.g. C:\Windows\cmd), it will mess with the colon separator.
In its source code printUsage() function I found it’s actually using a PATH_SPLITTER macro to represent the separator. And under windows it’s semicolon..
#ifdef _WINDOWS #define PATH_SPLITTER ";" #else #define PATH_SPLITTER ":" #endif
At past I’m using colon as separator:
–include-paths=D:\Qt\4.8.7\include\:D:\Qt\4.8.7\include\QtCore\:D:\Python27\Lib\site-packages\PySide\include\PySide
And I got lots of error messages like following:
type is specified in typesystem, but not defined
After replacing colon with semicolon, these errors are gone.
The post Shiboken Multiple Include Path on Windows appeared first on Redino blog.