#ifndef PYTHON_PYBIND11_QT_CONTAINERS_HPP #define PYTHON_PYBIND11_QT_CONTAINERS_HPP #include #include #include #include #include // this needs to be included here to get proper QVariantList and QVariantMap #include "details/pybind11_qt_qlist.h" #include "details/pybind11_qt_qmap.h" #include "pybind11_qt_basic.h" namespace pybind11::detail { // QList // template struct type_caster> : qt::qlist_caster, T> {}; // QSet // template struct type_caster> : set_caster, T> {}; // QMap // template struct type_caster> : qt::qmap_caster, K, V> {}; // QStringList // template <> struct type_caster : qt::qlist_caster {}; // QVariantList // template <> struct type_caster : qt::qlist_caster {}; // QVariantMap // template <> struct type_caster : qt::qmap_caster { }; } // namespace pybind11::detail #endif