Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Understanding QML
QtWS25 Last Chance

Understanding QML

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 3 Posters 2.0k Views
  • 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.
  • F Offline
    F Offline
    fs_tigre
    wrote on last edited by
    #1

    Hi,

    1- Why would someone want to learn QML?

    2- What would be the benefit?

    3- Are there any things that cannot be done without QML?

    4- Could you create a complete application with only QML?

    5- Can QML be combined with C++?

    Thanks a lot

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Skylar
      wrote on last edited by
      #2

      http://qt-project.org/videos/watch/choosing-your-ui-weapon-c-vs.-qml-vs.-html5

      In most cases, the bug is mine. But of the remaining lines are correct.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        chriadam
        wrote on last edited by
        #3

        Hi,

        Some of these questions are subjective, so assume that my answers are an opinion only.

        1. Depends on the someone. If that someone is a web developer, with existing JavaScript/CSS/HTML5 skills, QML would be good to learn because they can leverage their existing skills. If that someone is an experienced C++ developer, it enables rapid development with closer interaction with designers, and deep C++ integration possibilities. QML is cross-platform; applications written in QML can run on MacOSX, Windows, and Linux desktop platforms, and MeeGo, Symbian and Android (via the non-Nokia-developed Necessitas project), and perhaps more platforms that I'm not aware of. Note that the latest version of QML (QtQuick2) does not run on all of those platforms, however.

        2. Several benefits, including: (a) faster coding/iteration cycle, (b) simpler/easier to create highly dynamic/animated/fluid interfaces with great performance, (c) enables closer interaction between designers and developers (no need to create prototypes in flash and then reimplement them in C++).

        3. QML was designed specifically with modern user interface development in mind. It excels at that. With QML modules from Qt3D, QtMultimedia, QtLocation etc added in, it can be used to develop a large range of different types of applications - however certain types of applications will probably not be developed solely in QML (eg, first-person shooter games, enterprise software, etc).

        4. Yes. QML to define the object hierarchy and object types, and JavaScript expressions/functions to describe program logic, can be used to create complete applications.

        5. Yes. Deep C++ integration is a core part of QML.

        The latest documentation snapshot for QML application development (with Qt5 / QtQuick2) is located at: http://doc-snapshot.qt-project.org/5.0/qtquick-applicationdevelopers.html

        Cheers,
        Chris.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fs_tigre
          wrote on last edited by
          #4

          Thank you all very much.

          @chriadam

          Thank you for taking the time to answer each of my questions.

          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