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. What project to choose
Qt 6.11 is out! See what's new in the release blog

What project to choose

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 3 Posters 1.2k 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.
  • VRoninV VRonin

    Warning: Controversial opinion ahead

    The rule of thumb is: if you are developing a desktop application then use Qt Widgets otherwise use Qt Quick.

    They are 2 ways of building the user interface. I feel Qt Quick has a long way to go to become usable in environments where UI can be complex and have many things on the screen but it also implements features that are vital in mobile/embedded space and are not available in Qt Widgets

    J Offline
    J Offline
    jenya7
    wrote on last edited by jenya7
    #3

    @VRonin I see. Thank you. And for easy porting on Linux machine - Qt Quick is preferable? To be more precise - on RaspberryPi or similar platform.

    artwawA 1 Reply Last reply
    0
    • J jenya7

      @VRonin I see. Thank you. And for easy porting on Linux machine - Qt Quick is preferable? To be more precise - on RaspberryPi or similar platform.

      artwawA Offline
      artwawA Offline
      artwaw
      wrote on last edited by
      #4

      @jenya7 It really doesn't matter, QtWidgets uses native widgets for the platform. I agree with what @VRonin said. From my experience - it would be easier for you to start with Widgets.

      For more information please re-read.

      Kind Regards,
      Artur

      J 1 Reply Last reply
      2
      • artwawA artwaw

        @jenya7 It really doesn't matter, QtWidgets uses native widgets for the platform. I agree with what @VRonin said. From my experience - it would be easier for you to start with Widgets.

        J Offline
        J Offline
        jenya7
        wrote on last edited by
        #5

        @artwaw Even considering porting the app to RaspberryPi or another embedded platform?

        artwawA 1 Reply Last reply
        0
        • J jenya7

          @artwaw Even considering porting the app to RaspberryPi or another embedded platform?

          artwawA Offline
          artwawA Offline
          artwaw
          wrote on last edited by
          #6

          @jenya7 Qt will use whatever window manager you have and render UI accordingly. That's the whole point of using QtWidgets.
          On the opposite side QtQuick will try to render designed UI despite the platform, that can be quite heavy in some configurations.

          But if you have doubts, make a dummy "Hello World" like boilerplate program yourself, using both options, and see for your self. After all, you know best what you're trying to achieve and how complicated target product will be.

          For more information please re-read.

          Kind Regards,
          Artur

          1 Reply Last reply
          1
          • J Offline
            J Offline
            jenya7
            wrote on last edited by
            #7

            Than you.

            artwawA 1 Reply Last reply
            0
            • J jenya7

              Than you.

              artwawA Offline
              artwawA Offline
              artwaw
              wrote on last edited by
              #8

              @jenya7 Happy to help. Do ask should you have more doubts or questions, we're here to help.

              For more information please re-read.

              Kind Regards,
              Artur

              J 1 Reply Last reply
              1
              • artwawA artwaw

                @jenya7 Happy to help. Do ask should you have more doubts or questions, we're here to help.

                J Offline
                J Offline
                jenya7
                wrote on last edited by
                #9

                @artwaw One more question. On Windows platform it compiles to *.exe in a debug folder. If I copy-paste the project to Linux - can it compile for the Linux target? May be with some modification in *.pro file ?

                artwawA 1 Reply Last reply
                0
                • VRoninV Offline
                  VRoninV Offline
                  VRonin
                  wrote on last edited by
                  #10

                  It will without changes. That's the main feature of Qt: compiling without changes to every platform

                  "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                  ~Napoleon Bonaparte

                  On a crusade to banish setIndexWidget() from the holy land of Qt

                  1 Reply Last reply
                  2
                  • J jenya7

                    @artwaw One more question. On Windows platform it compiles to *.exe in a debug folder. If I copy-paste the project to Linux - can it compile for the Linux target? May be with some modification in *.pro file ?

                    artwawA Offline
                    artwawA Offline
                    artwaw
                    wrote on last edited by
                    #11

                    @jenya7 I started to write the answer but @VRonin was faster :)

                    For more information please re-read.

                    Kind Regards,
                    Artur

                    1 Reply Last reply
                    1
                    • J Offline
                      J Offline
                      jenya7
                      wrote on last edited by
                      #12

                      wow, it's awesome! thank you guys! :)

                      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