diff --git a/wrap_qml.cpp b/wrap_qml.cpp index 25a429c..9b525cf 100644 --- a/wrap_qml.cpp +++ b/wrap_qml.cpp @@ -410,7 +410,7 @@ JLCXX_MODULE define_julia_module(jlcxx::Module& qml_module) .apply>(qmlwrap::WrapQtAssociativeContainer()); qml_module.add_type("QQmlPropertyMap", julia_base_type()) - .constructor(false) + .constructor(jlcxx::finalize_policy::no) .method("clear", &QQmlPropertyMap::clear) .method("contains", &QQmlPropertyMap::contains) .method("insert", static_cast(&QQmlPropertyMap::insert))