Link: @CplusplusQt Embedded: @EMBCpp • Allowed Topics: C++ and everything related to Qt • Use only English • No Private Message without asking user's permission • No NSFW • No Spam • No unauthorized Bots • No Offtopic • No Self Promotions
do you know any source about creating modules in QML. I create and import objects in QML files, however modular programming is much better and easy to upgrade
Читать полностью…Dear Qt community,
Does anyone know any discord/telegram group for Visual ToolKit (VTK)?
and there is not something silly as case-sensitive file names?
Читать полностью…last month I read the «qt6book-with-frontpage» to learn qml developing, in order to practice so I start to develop the application with qml version, everything is ok in desktop, so I try to port it to android device, then it meet some questions that I can not resolve, so I switch to Qt QWidget and hope it can work well in the android devices. but now seems still have some issue need to resolve.
Читать полностью…Do not waste your time coding Qwidgets. You will regret.
It will take 1 month to learn QML from beginners to advanced level.
Qt Widgets is a mature technology that gets constantly updated and improved.
I would not call it obsolete just because it doesn't work for some cases.
Qml supports Android. Forget qWidgets. It is obsolete technology and is suitable for desktop apps only. Use QML everywhere.
Читать полностью…these days I use cmake and Qt Widget developed an android app, but it always with multiple issues. I was so crasy, I think use Qt to develop android app just like wearing iron shoes to play basketball.😓
Читать полностью…Nah, I just meant using qt_add_qml_module rather than loading the qml file in main.
Читать полностью…no, everything is working well when complied and running well on my ubuntu.
Читать полностью…are you using the module-based approach or loading qml files at run-time?
Читать полностью…I have two qml files, which one be imported in another one, but when the application setup and running. it show that the one be imported can not found
Читать полностью…maybe it's because I only have little the mobile developing experiences.
Читать полностью…re:"Do not waste yiur time coding Qwidgets. You will regret.". Just because you don't find a use for it, does not mean anyone who uses it will "regret".
These are just tools, use which ever works for your project. No need to dismiss a whole industry based on your personal opinion/experience.
re:"It will take 1 month to learn QML from beginners to advanced level.". That is hard to believe. It might be possible, but rare. Everyone is different. Some need weeks, some months, some years. Some never do get the hang of it)
Qml applications also tend to be more modern looking. I’m not sure you can do MDI for instance.
Читать полностью…Yes, widgets has never really been suitable for android. It works, but it looks like a desktop application (strangely skinned) squeezed into a really small screen. QML is much nicer.
Читать полностью…It's recommended to use QML for android development. It's more suited for touch-based devices.
See the docs as a starter: https://doc.qt.io/qt-6/android.html
Iirc you should use Qt Creator IDE with all Android development settings right to properly program for Android apps.
In the project you can use C++ as the backend and QML as the frontend.