Currently, only tested on Windows.
Anaconda <https://www.anaconda.com/download/>
and CMake <https://cmake.org/download/>
.::
conda config --add channels conda-forge
::
conda create -n pyside2 python=3.6 pyside2
::
activate pyside2
::
shiboken2 --help
::
git clone https://github.com/giumas/shiboken2_minimal.git C:\shiboken2_minimal
::
cmake -G "Visual Studio 14 2015 Win64" C:\shiboken2_minimal
Open pyfoo.sln and build in Release mode.
Test the binding by running:
::
python example.py
::
3> c:\shiboken2_minimal_build\wrap\pyfoo\mainwindow_wrapper.cpp(1378): error C2509: 'metaObject': member function not declared in 'MainWindowWrapper'
3> c:\shiboken2_minimal_build\wrap\pyfoo\mainwindow_wrapper.h(10): note: see declaration of 'MainWindowWrapper'