Skip to content

Commit

Permalink
Fix compatibility with libcxxwrap_julia 0.12
Browse files Browse the repository at this point in the history
Issue Build error #20
  • Loading branch information
barche committed Feb 20, 2024
1 parent a04a16a commit ad560c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrap_qml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ JLCXX_MODULE define_julia_module(jlcxx::Module& qml_module)
.apply<QHash<int, QByteArray>>(qmlwrap::WrapQtAssociativeContainer<qmlwrap::QHashIteratorWrapper>());

qml_module.add_type<QQmlPropertyMap>("QQmlPropertyMap", julia_base_type<QObject>())
.constructor<QObject *>(false)
.constructor<QObject *>(jlcxx::finalize_policy::no)
.method("clear", &QQmlPropertyMap::clear)
.method("contains", &QQmlPropertyMap::contains)
.method("insert", static_cast<void(QQmlPropertyMap::*)(const QString&, const QVariant&)>(&QQmlPropertyMap::insert))
Expand Down

0 comments on commit ad560c0

Please sign in to comment.