These are chat archives for PySide/pyside2
Finally managed to get pySide2 compiled and running with Qt5.5.1 and Visual Studio 2015. It required some adjustments though so I think it might be a good thing to share this:
In Qt the files qclipboard.h, qsesssionmanager.h and qhelpindexwidget.h needed to have their Destructor made public. These were private which caused the build to fail since shiboken can´t build a wrapper in that case. I am not sure if pySide2 works when using these classes now but at least it compiles.
For shiboken2 the \sources\shiboken2\ext\sparsehash\google\sparsehash\sparseconfig.h needed to be adjusted as well since hash_map is no longer available in VS 2015 and should be replaced with unordered_map. So I adjusted it to:
/* the location of the header defining hash functions */ #define HASH_FUN_H <unordered_map> /* the namespace of the hash<> function */ #define HASH_NAMESPACE std /* The system-provided hash function including the namespace. */ #define SPARSEHASH_HASH HASH_NAMESPACE::hash
Hope this is of help for others