diff --git a/wrap_qml.cpp b/wrap_qml.cpp index 844c4c6..25a429c 100644 --- a/wrap_qml.cpp +++ b/wrap_qml.cpp @@ -338,7 +338,7 @@ JLCXX_MODULE define_julia_module(jlcxx::Module& qml_module) qml_module.add_type("QCoreApplication", julia_base_type()); qml_module.add_type("QGuiApplication", julia_base_type()) .constructor(); - qml_module.method("exit", [] () { std::cout << "calling C++ exit" << std::endl; QGuiApplication::instance()->exit(); }); + qml_module.method("quit", [] () { QGuiApplication::instance()->quit(); }); qml_module.add_type("QString", julia_type("AbstractString")) .method("cppsize", &QString::size);