QWidget / QML for a Vulkan application ? What to use ?
-
Hello,
I am a bit lost on the UI part of things : it's been some years but the last time I used QT for a sizable project the whole UI was made with QWidget (directly in C++).
I know that now there is QTQuick and QML and I don't mind at all learning it if it means a better, more flexible UI that is separated from the C++ code. But I don't know if it suits my needs.
I am looking into making a software that will have a heavy UI but also needs to support 3D with Vulkan, I know QT can handle both but I don't know how both can work together and how QML actually work.QML looks more advanced than any other descriptive UI language (android, javafx or html) but I'm not sure what should be done in QML and what should/can be done in the C++ part of the project.
Any advice on the UI part ? Should I definitively go with QML or... something else ?
Best regards,
rXp
-
Hi,
Well it depends a bit on what you are going to implement.
Can you give more details ?
As for Vulkan, there have been several blog post recently on the Qt website, this should give you some ideas about what you can achieve with it.