Doubt about big application development



  • Hi,
    I must develop a big application that in future should be ported on mobile platform (like a tablet).
    This application will use intensely the serial library, OpenGL and some different threads.
    I am very confused about QML, Qt Quick and classic UI in c++:

    • in this application, using QML is better than the classic UI in c++?
    • what are advantages or disadvantages?
    • How Qt Quick can help me in the developing?

    thank you so much



  • I am using the serial library (QtSerialPort) with Qt4.8 in C++ with OpenGL and threads. I don't use QML or QtQuick, because I create a desktop-only program for all different OSes and I want, that it use there style-guides and not a custom one.

    To your first question: What is better? It depends on your knowledge. If you have good Javascript or scripting knowledge, use QML. If you are more the C++ developer, use the classic UI. You can also use both, QML for designing your UI and C++ for the functionality.

    Second Questions: With C++/UI, you have more possibilities and option for creating your app but it will take longer than with QML. With QML, you can create fast UIs, but there are limitations in it.

    QtQuick is (for me) a rapid prototyping language for creating UIs very quickly also with no functionality. So you can present really fast someone the look and feel about your applications. You can also do that in C++ with more modifications in details, but it could cost more time.



  • Thanks for the response.
    Can I use OpenGL in a QML defined interface?

    [quote author="Serenity" date="1374502411"]I am using the serial library (QtSerialPort) with Qt4.8 in C++ with OpenGL and threads. I don't use QML or QtQuick, because I create a desktop-only program for all different OSes and I want, that it use there style-guides and not a custom one.

    To your first question: What is better? It depends on your knowledge. If you have good Javascript or scripting knowledge, use QML. If you are more the C++ developer, use the classic UI. You can also use both, QML for designing your UI and C++ for the functionality.

    Second Questions: With C++/UI, you have more possibilities and option for creating your app but it will take longer than with QML. With QML, you can create fast UIs, but there are limitations in it.

    QtQuick is (for me) a rapid prototyping language for creating UIs very quickly also with no functionality. So you can present really fast someone the look and feel about your applications. You can also do that in C++ with more modifications in details, but it could cost more time. [/quote]



  • I am not sure, because I am not using QML. I am more familiar with Qt/C++, but I would say yes: http://qt-project.org/doc/qt-5.0/qtquick/scenegraph-openglunderqml.html


Log in to reply
 

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