All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Add
qmlbind_application_exit(int returnCode)
to exposeQCoreApplication::exit(int returnCode)
. This enables the user to stop the event loop processing from any point in the code.
0.2.0 - 2016-04-08
- Add
qmlbind_signal_emitter_new(wrapper)
to create new signal emitters for wrappers created viaqmlbind_engine_new_wrapper()
. Previously, such wrappers could not emit signals.
- Rename
qmlbind_value_get_backref()
toqmlbind_value_unwrap()
, as it's the opposite operation ofqmlbind_engine_new_wrapper()
. qmlbind_backref
is removed and replaced with two more specific types:qmlbind_client_object
andqmlbind_client_class
.qmlbind_client_object
is used for references exposed to the metaobject system located in the client code, andqmlbind_client_class
is used for references to class objects located in the client code.- Rename
qmlbind_interface_handlers
toqmlbind_client_callbacks
because there is noqmlbind_interface
anymore and to reflect it is implemented by the user of libqmlbind. This fits the theme that all client-defined types are calledqmlbind_client_*
now (namelyqmlbind_client_object
andqmlbind_client_class
). - Rename
qmlbind_exporter
toqmlbind_metaclass
to make its intent more obvious. - Change
qmlbind_register_type()
toqmlbind_metaclass_register()
.
- Remove
qmlbind_metaobject
from public api. The metaobjects are now automatically created inqmlbind_metaclass_register()
andqmlbind_engine_new_wrapper()
. - Remove
qmlbind_interface
from public api. You can now directly handqmlbind_interface_handlers
toqmlbind_exporter
. - Interface and its atomic reference counting mechanism is also removed from the internals, which might speed things up a little as no synchronization is needed anymore.
- Simple API to export objects / classes dynamically to QML
- Shared library with pure C interface
- Decouple your language bindings from Qt itself
- High portability
- Build with qmake
- No need to configure compilation flags for Qt manually
This uses Keep a CHANGELOG as a template.