Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question, but not an issue #192

Open
mpeters2 opened this issue Feb 12, 2024 · 4 comments
Open

Question, but not an issue #192

mpeters2 opened this issue Feb 12, 2024 · 4 comments
Labels

Comments

@mpeters2
Copy link

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?

@ufechner7
Copy link
Member

This is already possible. What are you missing?

@barche
Copy link
Collaborator

barche commented Feb 13, 2024

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.

@mpeters2
Copy link
Author

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).

@barche
Copy link
Collaborator

barche commented Feb 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants