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. Qt Widgets vs Qt Quick for desktop and mobile application
Forum Updated to NodeBB v4.3 + New Features

Qt Widgets vs Qt Quick for desktop and mobile application

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.0k 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.
  • Y Offline
    Y Offline
    yerrapl
    wrote on last edited by
    #1

    Hi,

    We have an application which should support both desktop and iOS. With rich UI controls and styles. which is the best way to develop the application either in qt widgets or QML. The codebase should be one and it should run on multiple platforms. I read in many forums that QML is inteneded for mobile platforms and widgets is good for desktop application. But my requirement is both. Please advice which one should I use for my application. Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You can very well use QML for both. There are also QML components for desktop widgets like button etc. So you can just use one code base

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        yerrapl
        wrote on last edited by
        #3

        Yes @SGaint. Even I prefer to go with QML. I am just thinking it will take long time to port/recode my existing UI in QML. Beacause i want to reuse my business logic and want to revamp UI. And also i heard that QML is not stable. Please advice!!

        1 Reply Last reply
        0
        • raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          IMHO there is no general answer to your question since it depends on the complexity of your application.

          QML is preferred on mobile platforms because their interface is rather simple compared to desktop applications and you can quickly create it. Also i think you won't have the exactly same feature set on mobile and desktop platform?

          What i want to say is, it's not "bad design" to use QML on mobile and QWidgets on desktop. I would actually do so. But both can use the same application logic in the back.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            yerrapl
            wrote on last edited by
            #5

            Yes. Feature set will be less compared to desktop and a light weight app on mobile. Thank you

            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