by majewsky · 8y ago · 0 comments
Sure, the main development focus is on QML etc., but that's mostly because desktop is a more mature platform than mobile.
[1] Except for the QtWebkit to QtWebengine transition perhaps. I haven't followed that very closely.
Getting the "feel" of a company's priorities can be hard, if you're not actively using their platform. I was hoping someone on HN had a somewhat realistic picture of where Qt is going these days.
For embedded and mobile deployments, QML is the only option.
If you try to use a common C++ widget dialog, you will get a tiny desktop like window, regardless of the platform.
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
(to be set before creating the QApplication instance).The above is on an android tablet; but it displays perfectly fine on phones, too. Just see the sources of the above project for implementing such a dialog:
https://gitlab.com/eql/EQL5-Android/blob/master/examples/my/...
https://gitlab.com/eql/EQL5-Android/blob/master/examples/my/...
It's still pretty unusable though :/ The default for Qt apps is via Xwayland in Fedora for example.