While trying to find some Qt5 binding for Julia, I only found the Qt5 startup projet from Tom Breloff https://github.com/tbreloff/Qt5.jl which is intended to bind the full feature from Qt5. This is a huge task and will take some time.
So I wonder if there is some interest for a QML binding which would allows Julia code to display simple QML file (with callback to Julia methods!).
I just found a git repository about two QML library which could serve as a basis and as an example:
Being able to build Qt interface directly from Julia without the need of the anaconda would be a great advantage for Julia users.
That seems to be a true Julia GSOC candidate project (i.e. which could not be affected to another language...)
Regard,
-- Maurice
Well, I am not an expert on QML, but as far as I understand, QML is mainly for writing GUIs, whereas
the QT library contains a lot of functions for a lot of other tasks.
What Julia is missing is mainly an easy to use GUI toolkit, and QML could play that role.
Implementing a Julia - QML binding sound not so difficult as there is already a C binding.
I do not understand the following sentence:
"Being able to build Qt interface directly from Julia without the need of the anaconda
would be a great advantage for Julia users."
Ah ok, so you're not actually going for this project as a student?
So I wonder if there is some interest for a QML binding which would allows Julia code to display simple QML file (with callback to Julia methods!). ...That seems to be a true Julia GSOC candidate project (i.e. which could not be affected to another language...
What Julia is missing is mainly an easy to use GUI toolkit, and QML could play that role.
Implementing a Julia - QML binding sound not so difficult as there is already a C binding.
I do not understand the following sentence:
"Being able to build Qt interface directly from Julia without the need of the anaconda
would be a great advantage for Julia users."
If you would write a QML wrapper for the C binding, the C/ C++ code from the C wrapperwould still need to be compiled included in the package in some way (binutils). So there
would still be a dependency on C/C++ code (pre-compiled or not), that is always a little
bit difficult to install and to maintain.
Hello,
perhaps I could become mentor of such a project?
At least I know a little bit of Julia and a little bit of QML.
I am currently implementing optimizations and simulations
in Julia, and a QML GUI would be nice.
What would be needed to offer such a project?
How much workload would be expected for a mentor?
I just couldn't resist taking a stab at this using CppWrapper. At https://github.com/barche/QML.jl there is a small example on how to launch a QML file from Julia (tested in v0.4). To make this useful, we would need to add some kind of interface to the "embedding julia" interface, to allow binding Julia functions to QML signals. It should be relatively easy to write a custom Qt class to do that. The above QML.jl is set up to run moc if needed.