Skip to content
Snippets Groups Projects
Commit 988baa94 authored by hluk's avatar hluk
Browse files

Use Qml scripting


Requires Qt 5.8 and up because of requiring
`QJSEngine::newQMetaObject()` to register new constructors (ByteArray(),
File(), ...).

Syntax errors can no longer be reported in command edit widget.

New behavior: ByteArray is implicitly converted to string when needed,
e.g. these expressions return true:

    ByteArray("abc") == "abc"
    ByteArray("ab") + "c" == "abc"

Fixes #329
Signed-off-by: default avatarLukas Holecek <hluk@email.cz>
parent 2c18550a
No related branches found
No related tags found
No related merge requests found
Showing
with 646 additions and 2024 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment