JuliaGraphics / QML.jl

Build Qt6 QML interfaces for Julia programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question, but not an issue

mpeters2 opened this issue · comments

First off, I want to say that I appreciate the hard work that went into making QML.jl.

From what I understand, QML is the markup language for QT Quick.

How hard would it be to port QT Widgets to Julia, which in turn would allow us to use QT Designer to design GUI interfaces?

This is already possible. What are you missing?

The current situation regarding visual design of QML interfaces is described here: https://doc.qt.io/qtcreator/creator-qtquickdesigner-plugin.html

So it is indeed possible to use Qt Creator, but the newer Qt Design Studio is recommended now.

Support for Qt Widgets (the non-QML part of Qt) is out of scope for QML.jl, which is focused only on Qt Quick because it integrates much more easily with languages that are not C++. Support Qt Widgets would require a separate Julia package, but given Qt's focus on Qt Quick I'm not sure it's worth the effort.

ufechner7: Is it currently possible to use QT Widgets (not QML/QT Quick), as I'm semi-invested in that, after moving away from GTK (which seems broken in Julia)? I'm somewhat familiar with QT Widgets, and when I looked over QML, and my impression (which may be wrong), is that it is more suited for mobile devices and embedded systems, and QT Widgets was more suitable for desktop apps (which I am interested in building).

Qt Widgets will never be supported by this package. QML has very good support for both mobile and desktop apps and with Qt 6 the matching of a QML application to the "native desktop" look has also improved significantly, i.e. it is easy to make a QML application look like a native Mac app on Mac, or a native Windows one on Windows. The only downside is that QtWidgets is still slightly more feature-complete in terms of the amount of GUI controls that are offered.