Details
Description
Both the CMake and qmake project fail to pass framework include parameters to shiboken, and thus it fails with:
Users/alex/.virtualenvs/py2_deb_clang/lib/python2.7/site-packages/PySide2/shiboken2 --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include/QtCore -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include/QtGui -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include/QtWidgets -I/Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication -T/Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication -T/Users/alex/.virtualenvs/py2_deb_clang/lib/python2.7/site-packages/PySide2/typesystems --output-directory=/Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication/qmake3 /Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication/wrappedclasses.h ../scriptableapplication.xml (scriptableapplication) clang_parseTranslationUnit2(0x0, cmd[19]=-nostdinc -isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1 -isystem/usr/local/include -isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/include -isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -isystem/usr/include -iframework/System/Library/Frameworks -iframework/Library/Frameworks -std=c++14 -fPIC -fno-exceptions -Wno-expansion-to-defined -Wno-constant-logical-operand -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include/QtCore -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include/QtGui -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include/QtWidgets -I/Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication /var/folders/_x/l798cjd52ql19nfxydb17_c80000gn/T/wrappedclasses_L60136.hpp) /Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication/mainwindow.h:54:10: fatal error: 'QtWidgets/QMainWindow' file not found (scriptableapplication) Errors in /var/folders/_x/l798cjd52ql19nfxydb17_c80000gn/T/wrappedclasses_L60136.hpp: /Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication/mainwindow.h:54:10: fatal: 'QtWidgets/QMainWindow' file not found /var/folders/_x/l798cjd52ql19nfxydb17_c80000gn/T/wrappedclasses_L60136.hpp:1:10: note: in file included from /var/folders/_x/l798cjd52ql19nfxydb17_c80000gn/T/wrappedclasses_L60136.hpp:1: /Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication/wrappedclasses.h:54:10: note: in file included from /Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication/wrappedclasses.h:54: :0: error: Unable to retrieve code snippet. [other] (scriptableapplication) Clang: 2 diagnostic messages: /Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication/mainwindow.h:54:10: fatal: 'QtWidgets/QMainWindow' file not found /var/folders/_x/l798cjd52ql19nfxydb17_c80000gn/T/wrappedclasses_L60136.hpp:1:10: note: in file included from /var/folders/_x/l798cjd52ql19nfxydb17_c80000gn/T/wrappedclasses_L60136.hpp:1: /Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication/wrappedclasses.h:54:10: note: in file included from /Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication/wrappedclasses.h:54: :0: error: Unable to retrieve code snippet. [other] Keeping temporary file: /var/folders/_x/l798cjd52ql19nfxydb17_c80000gn/T/wrappedclasses_L60136.hpp shiboken: Error running ApiExtractor. Command line: --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include/QtCore -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include/QtGui -I/Volumes/T3/Dev/qt/official_qt590/5.9/clang_64/include/QtWidgets -I/Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication -T/Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication -T/Users/alex/.virtualenvs/py2_deb_clang/lib/python2.7/site-packages/PySide2/typesystems --output-directory=/Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication/qmake3 /Volumes/T3/Dev/pyside/super_pyside_clang/examples/scriptableapplication/wrappedclasses.h ../scriptableapplication.xml