{"docs":[{"id":167,"title":"Qt Widgets or Qt Quick: Choosing a UI Technology","heading":"Qt Widgets or Qt Quick: Choosing a UI Technology","subheading":null,"category":"Software","body":{"root":{"type":"root","children":[{"type":"heading","tag":"h3","version":1,"children":[{"type":"text","text":"Mixing the two","version":1}]},{"type":"paragraph","version":1,"children":[{"type":"text","text":"The two technologies are not exclusive. A Widgets application can embed Qt Quick content with QQuickWidget, and both can share C++ models and controllers. Keeping business logic in C++ classes exposed to the UI makes either front end replaceable.","version":1}]},{"type":"paragraph","version":1,"children":[{"type":"text","text":"Licensing applies to both. Qt is available under commercial licences and under open-source licences, mainly LGPLv3 with some modules under GPL only. Check the licence of each module you use, particularly for locked-down devices, where LGPLv3 obligations need planning.","version":1}]}],"direction":"ltr","format":"","indent":0,"version":1}},"tags":"Software, Qt, User Interface, C++","cardCta":{"label":null,"link":null},"pageCta":{"label":"Talk to AAVICO engineering","link":"/contact"},"excerpt":"Qt offers two UI technologies on the same C++ foundation. Widgets suit dense desktop tools; Qt Quick suits fluid, touch-first and embedded interfaces. Many products use both.","featuredImage":null,"type":"Blog","readTime":"3 min read","publishedAt":"2026-11-15T17:38:00.000Z","heroImage":null,"introText":"Qt is a C++ framework for building applications that run on Windows, macOS, Linux, mobile platforms and embedded devices from one codebase. It offers two ways to build the user interface. Qt Widgets is the long-established set of C++ desktop controls. Qt Quick uses QML, a declarative language, rendered through a GPU-accelerated scene graph. Both share the same core libraries, so the decision concerns the interface, not the whole application.","metrics":[{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-metric-1","value":"Widgets","label":"C++ controls with platform-appropriate styles, mature and stable for desktop tools.","icon":null},{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-metric-2","value":"QML","label":"The declarative language of Qt Quick, with JavaScript for bindings and small pieces of logic.","icon":null},{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-metric-3","value":"Scene graph","label":"Qt Quick renders through the GPU, which keeps animation and touch interaction smooth.","icon":null},{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-metric-4","value":"Qt 6","label":"The current major version, which renders over Direct3D, Metal, Vulkan or OpenGL.","icon":null}],"gallery":[],"challenge":{"root":{"type":"root","children":[{"type":"paragraph","version":1,"children":[{"type":"text","text":"Choosing on familiarity alone causes trouble later. A touchscreen product built with Widgets fights the toolkit for animation, gestures and custom visual design. A data-heavy engineering tool built in Qt Quick can spend effort recreating tables, trees and docking layouts that Widgets provides ready-made.","version":1}]},{"type":"paragraph","version":1,"children":[{"type":"text","text":"The rendering model matters on hardware too. Qt Quick expects a GPU for good performance, while Widgets renders well in software, which can settle the question on a low-cost processor without graphics acceleration.","version":1}]}],"direction":"ltr","format":"","indent":0,"version":1}},"blockquote":{"quote":"Choose Widgets for dense desktop tools and Qt Quick for designed, animated or touch interfaces. Keep the logic in C++ either way.","author":"","role":"AAVICO Engineering"},"supportImage1":null,"deliverables":{"root":{"type":"root","children":[{"type":"paragraph","version":1,"children":[{"type":"text","text":"Describe the interface: input method, screen sizes, how much animation and custom styling, and whether a GPU is available on every target.","version":1}]},{"type":"paragraph","version":1,"children":[{"type":"text","text":"Prototype the hardest screen in the candidate technology on the slowest target hardware before committing the whole project.","version":1}]},{"type":"paragraph","version":1,"children":[{"type":"text","text":"Separate logic from presentation with C++ models and controllers, so the UI layer stays thin and testable.","version":1}]}],"direction":"ltr","format":"","indent":0,"version":1}},"results":[{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-result-1","title":"Right Fit","description":"The toolkit matches how the interface is used, so the team works with it rather than around it."},{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-result-2","title":"Performance","description":"Rendering suited to the hardware gives smooth interaction on the targets that matter."},{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-result-3","title":"Designer Workflow","description":"Qt Quick lets designers and developers work on the same QML components."},{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-result-4","title":"Longevity","description":"Logic kept in C++ survives a later change of UI technology."}],"lookingAhead":{"root":{"type":"root","children":[{"type":"paragraph","version":1,"children":[{"type":"text","text":"For desktop tools with heavy tables, forms and docking windows, Widgets remains a strong, supported choice. It is not deprecated.","version":1}]},{"type":"paragraph","version":1,"children":[{"type":"text","text":"For embedded and touch products, Qt Quick with Qt Quick Controls is the usual starting point, with a platform plugin chosen to suit the display hardware.","version":1}]}],"direction":"ltr","format":"","indent":0,"version":1}},"supportImage2":null,"testimonial":{"quote":null,"author":null,"role":null,"photo":null},"challengesSolved":[{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-challenge-1","title":"A touch interface fighting a desktop toolkit","description":null,"icon":null},{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-challenge-2","title":"Rebuilding desktop controls by hand","description":null,"icon":null},{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-challenge-3","title":"A GPU-dependent UI on hardware without one","description":null,"icon":null},{"id":"qt-widgets-or-qt-quick-choosing-a-ui-technology-challenge-4","title":"Business logic tangled into UI code","description":null,"icon":null}],"relatedPosts":[],"contactUs":{"show":true},"updatedAt":"2026-11-15T17:32:32.682Z","createdAt":"2026-11-15T17:32:32.682Z"}],"hasNextPage":false,"hasPrevPage":false,"limit":10,"nextPage":null,"page":1,"pagingCounter":1,"prevPage":null,"totalDocs":1,"totalPages":1}