Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Doubt about big application development
Qt 6.11 is out! See what's new in the release blog

Doubt about big application development

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        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]

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved