Hi I have had no issues building 5.15.2 on windows. On Linux however, i am getting a compilation error in one of the shiboken generated files.
[ 65%] Building CXX object tests/samplebinding/CMakeFiles/sample.dir/sample/abstractmodifications_wrapper.cpp.o In file included from /Users/build/sdk210715/src/pyside-setup-opensource-src-5.15.2/pyside3_build/py3.7-qt5.15.2-64bit-release/shiboken2/tests/samplebinding/sample/abstractmodifications_wrapper.cpp:11: /Users/build/sdk210715/src/pyside-setup-opensource-src-5.15.2/pyside3_build/py3.7-qt5.15.2-64bit-release/shiboken2/tests/samplebinding/sample/sample_python.h:190:5: error: redefinition of 'SBK_PHOTON_TEMPLATEBASE_IDX' 190 | SBK_PHOTON_TEMPLATEBASE_IDX = 96, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/build/sdk210715/src/pyside-setup-opensource-src-5.15.2/pyside3_build/py3.7-qt5.15.2-64bit-release/shiboken2/tests/samplebinding/sample/sample_python.h:188:5: note: 'SBK_PHOTON_TEMPLATEBASE_IDX' previously defined here 188 | SBK_PHOTON_TEMPLATEBASE_IDX = 95, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Indeed, in the generated enum, SBK_PERSISTENTMODELINDEX_IDX = 91, SBK_PHOTON_CLASSTYPE_IDX = 94, SBK_samplePHOTON_IDX = 92, SBK_PHOTON_BASE_IDX = 93, SBK_PHOTON_VALUEDUPLICATOR_IDX = 95, SBK_PHOTON_TEMPLATEBASE_IDX = 95, SBK_PHOTON_VALUEIDENTITY_IDX = 96, SBK_PHOTON_TEMPLATEBASE_IDX = 96, SBK_POINT_IDX = 97, SBK_POINTF_IDX = 98, SBK_POINTVALUELIST_CTORENUM_IDX = 100, SBK_POINTVALUELIST_IDX = 99, SBK_LIST_POINT_IDX = 99, The symbol is placed twice. Some symbols also have the same enum value, only around that symbol; so it is probably related (number of unique keys not incremented at the second symbol?). How can i solve this? This looks more like a bug than an issue with my build environment to me. I wil look if building without --build-tests succeeds for the rest RépondreTransférer
_______________________________________________ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside