Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Witch is the difference between Qt Widget Application and QT quick application
Forum Updated to NodeBB v4.3 + New Features

Witch is the difference between Qt Widget Application and QT quick application

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 4 Posters 9.4k Views 3 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.
  • ModongaM Offline
    ModongaM Offline
    Modonga
    wrote on last edited by
    #1

    My question punctually is this, like when i open Qt Widget Application i have the .ui files to design and when i start with QT quick application y use .QML files to design, i see that ui designer is not the same that the QML designer why? what are the difference? i have a very little idea and is this, but i am not sure:
    QT quick application > to design a global form
    Qt Widget Application > to design form.

    This is correct, have more differences between? Thanks for your patience and y bad English.

    JKSHJ musimbateM 2 Replies Last reply
    0
    • ModongaM Modonga

      My question punctually is this, like when i open Qt Widget Application i have the .ui files to design and when i start with QT quick application y use .QML files to design, i see that ui designer is not the same that the QML designer why? what are the difference? i have a very little idea and is this, but i am not sure:
      QT quick application > to design a global form
      Qt Widget Application > to design form.

      This is correct, have more differences between? Thanks for your patience and y bad English.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi @Modonga,

      Qt Widgets is the older, but more mature technology. Qt Quick is more "modern".

      Also, you write Widget logic in C++, but you write Qt Quick logic in QML and JavaScript. See http://doc.qt.io/qt-5/qmlapplications.html

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      1
      • ModongaM Modonga

        My question punctually is this, like when i open Qt Widget Application i have the .ui files to design and when i start with QT quick application y use .QML files to design, i see that ui designer is not the same that the QML designer why? what are the difference? i have a very little idea and is this, but i am not sure:
        QT quick application > to design a global form
        Qt Widget Application > to design form.

        This is correct, have more differences between? Thanks for your patience and y bad English.

        musimbateM Offline
        musimbateM Offline
        musimbate
        wrote on last edited by
        #3

        @Modonga
        From a book on Qt5
        Qt Quick is the umbrella term for the user interface technology used in Qt. Qt Quick itself is a collection of several technologies:
        • QML - Markup language for user interfaces
        • JavaScript - The dynamic scripting language
        • Qt C++ - The highly portable enhanced c++ library

        To add to JKSH ,Qt Widgets are mature and amazingly optimized for desktop applications.Quick technology was introduced when handheld devices were gaining momentum and is still being improved to work on those devices.It makes it easy to design fluid user interfaces.Also Quick makes the separation between ui design and business logic easy and obvious.

        Why join the navy if you can be a pirate?-Steve Jobs

        1 Reply Last reply
        1
        • C Offline
          C Offline
          cincirin
          wrote on last edited by
          #4

          @musimbate said:
          Also Quick makes the separation between ui design and business logic easy.

          I saw this expression everywhere users wants to praise QtQuick. What's different if using Qt Widgets ? Why the hell all are saying the logic cannot be separated using widgets, I really don't know ... Of course for widgets apps, "designers" will have to use C++ language and QtDesigner IDE. For QtQuick, "designers" will have to use QML and JavaScript language (and QtCreator). So who is favored ? I know you said QtQuick part because QML and JavaScript is script-able ... heck ...
          Also take a look at J-P Nurmi's bechmark
          You'll see QtQuickControls take much more memory even with new controls for embedded ...

          To respond to @Modonga, yes QtQuick is best choice for mobile, it's true (but if you have some app without fluid animations, you can safely use Qt widgets, I saw a lot of mobile apps made with widgets).
          For desktop applications I'd use QtWidgets technology, even for animations part using Qt Animation framework (& Qt State machine)

          1 Reply Last reply
          1
          • ModongaM Offline
            ModongaM Offline
            Modonga
            wrote on last edited by
            #5

            great differences, i like all reply... This mark me a start point... So i am working in widget to develop my raspberry pi system boot.... Because the same application can be used in windows, ubuntu, linux, etc.... But i see that is no the efficient way... But for me programming in widget is more easy is like a "visual C++". But if i am searching for a fast and more interactive application i need to see "QtQuick" that is a little bit more complicated.. But this QtQuick application could be used in another operating system, like in a form? i am right what i am saying?

            To be strictly specific: i am design in widgets a form without borders and running in my raspberry pi as the only application "default one on boot" few seconds after i boot y see my application whit only one button like:
            LCD screen shot old school method

            Regards

            JKSHJ 1 Reply Last reply
            0
            • ModongaM Offline
              ModongaM Offline
              Modonga
              wrote on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • ModongaM Modonga

                great differences, i like all reply... This mark me a start point... So i am working in widget to develop my raspberry pi system boot.... Because the same application can be used in windows, ubuntu, linux, etc.... But i see that is no the efficient way... But for me programming in widget is more easy is like a "visual C++". But if i am searching for a fast and more interactive application i need to see "QtQuick" that is a little bit more complicated.. But this QtQuick application could be used in another operating system, like in a form? i am right what i am saying?

                To be strictly specific: i am design in widgets a form without borders and running in my raspberry pi as the only application "default one on boot" few seconds after i boot y see my application whit only one button like:
                LCD screen shot old school method

                Regards

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                Hi @Modonga,

                But this QtQuick application could be used in another operating system, like in a form? i am right what i am saying?

                Sorry, I don't quite understand your question. Could you please explain?

                Anyway, Qt Quick and Qt Widgets can all be used on multiple platforms (Windows, Linux, OS X)

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                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