Demo for Pybind11 with Qt5
structure
.
├── ./binding
│ ├── ./binding/CMakeLists.txt
│ ├── ./binding/glue
│ │ ├── ./binding/glue/CMakeLists.txt
│ │ └── ./binding/glue/main.cpp
│ └── ./binding/test
│ ├── ./binding/test/CMakeLists.txt
│ └── ./binding/test/test.py
├── ./CMakeLists.txt
├── ./conanfile.py
├── ./.editorconfig
├── ./.git
├── ./.gitignore
├── ./lib
│ ├── ./lib/libfoo2.so -> libfoo2.so.1.0.0
│ ├── ./lib/libfoo2.so.1 -> libfoo2.so.1.0.0
│ ├── ./lib/libfoo2.so.1.0 -> libfoo2.so.1.0.0
│ ├── ./lib/libfoo2.so.1.0.0
│ └── ./lib/libfoo.so
├── ./makefile
├── ./readme.org
├── ./src
│ ├── ./src/foo.cpp
│ ├── ./src/foo.h
│ ├── ./src/libfoo2.so -> libfoo2.so.1.0.0
│ ├── ./src/libfoo2.so.1 -> libfoo2.so.1.0.0
│ ├── ./src/libfoo2.so.1.0 -> libfoo2.so.1.0.0
│ ├── ./src/libfoo2.so.1.0.0
│ ├── ./src/Makefile
│ ├── ./src/moc_foo.cpp
│ ├── ./src/moc_predefs.h
│ ├── ./src/obj
│ │ ├── ./src/obj/foo.o
│ │ └── ./src/obj/moc_foo.o
│ ├── ./src/.qmake.stash
│ └── ./src/src.pro
└── ./test
├── ./test/Makefile
├── ./test/obj
│ └── ./test/obj/test.o
├── ./test/.qmake.stash
├── ./test/test
├── ./test/test.cpp
└── ./test/test.pro
How to
make envs # run only once to configure envirnoments, !important!
make all
python ./binding/test/test.py