Need technical suggestion on GUI creation & QML uses



  • Hello All,

    I am going to develop my desktop application on Linux which will be run on different distros.
    I would like to know while approaching GUI should I go for latest Qt 5.2 quick api like integration with QML or pure QML api ?

    As I gone through qt-in-automotive demo and to be honest I really love that the way option goes in & out.
    page transition, many more... every button and image looks so clean & clear more bright & glossy.

    As i download the source code from Git and run it on my fedora 19 desktop it runs perfectly,
    So my question is shall we use QML as it is for desktop application development. ?
    As you guys seen already qt-in-automotive demo like connected car IVI demo so can it be possible to develop that kind of GUI only for desktop on Linux OS. Also i will use multi- thread & process interaction at some point.

    Any more suggestion would really be help full.

    Thanks
    Prashant



  • Hello Prashant,

    we are currently not using QML as it is for desktop applications, but we are switching to it because it looks better and has more functionality. So i would recommend you to use QML for your GUIs, but it mostly depends on what you need it for.



  • Hi,

    Thanks for you reply, My concern is just about I read most of the blog or website talks about QML is only for mobile or max embedded, but when we develop it on desktop and test it on then it should work as it is on desktop probably i am wrong at understanding but just to make sure from expert persons like I can use QML to develop desktop application with others Qt classes integration like multi-thread and all ... or any backend lib

    Thanks
    Prashant



  • QML can be used on desktop systems. You can even embed a QML into a QMainWindow Gui using for example a QDeclarativeView or QQuickView. I am pretty new to QML, Cpp and even development, but i am going fine with QML as a desktop gui. Also there should be no problem to combine Cpp and QML with Signals and Slots. You can even pass a custom Widget or Model to QML.


  • Moderators

    [quote author="Prashant Moglaikar" date="1390990485"]My concern is just about I read most of the blog or website talks about QML is only for mobile or max embedded[/quote]Hi,

    You don't have to be worried about that. :) In the beginning, QML was designed for mobile applications, but now many new features have been added to make it work well on the desktop too. onek24 is right, you can easily mix QML UIs with traditional Widget UIs.

    Also, see an example of a simple desktop GUI written in QML: http://qt-project.org/doc/qt-5/qtquickcontrols-overview.html



  • [quote author="Prashant Moglaikar" date="1390989401"]
    As i download the source code from Git and run it on my fedora 19 desktop it runs perfectly,
    So my question is shall we use QML as it is for desktop application development. ?[/quote]

    Hello,

    You can use QML as it is for a desktop application. That's what we've done with Zeecrowd (full blown desktop application) and we're very happy with it. Allows us to easily build slick UIs.

    I would say go for it.



  • Hi ZeePillow,

    That's really sound great, Can it possible to see your Zeecrowd GUI or any screen shots or any video would really be grateful.

    Thanks
    Prashant



  • Hey,

    i did some research and it looks like this is ZeePlllow's project:
    "ZeeCrowd":http://www.zeecrowd.com/
    The GUI looks pretty nice. Good work!



  • Hello,

    Thanks for the kind words onek24 :)
    @Prashant: no videos yet, but a there's a few screenshots on the website and you're free to play with the application to get a better sense of some of the things you can do with Qml.

    Pillow


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.