Qt Framework Updates & Release Notes

Follow

5 updates curated from 11 sources by the Releasebot Team. Last updated: Nov 8, 2026

Get this feed:
  • Sep 30, 2026
    • Date parsed from source:
      Sep 30, 2026
    • First seen by Releasebot:
      Nov 8, 2026
    Qt logo

    Qt Framework by Qt

    Qt 6.12 LTS Released!

    Qt Framework releases Qt 6.12, a five-year LTS update focused on cybersecurity, faster and richer UI development, and a simpler tech stack. It adds QML hot reload, production-ready CanvasPainter, and official HarmonyOS support alongside broad improvements across the framework.

    The 6.12 release for Qt Framework is now available, with improved cybersecurity, UI performance, and a wealth of capabilities to mix-and-match from across your architectural layers. As a Long-Term Support release, Qt 6.12 is not a simple incremental update, but a culmination of various efforts started years ago. Take a closer look.

    The Release at a Glance

    Once again, the release comes with a wealth of improvements, fixes, and new capabilities. Here's a super-summary of our highlights.

    Browse downwards for more details.

    Jump to the end for Thanks and how to download.

    • 6.12 is an LTS
    • Cybersecurity & the CRA
    • Comprehensive UI Capabilities
    • Less Complex Tech Stack
    • Hot Reload for QML
    • Support for HarmonyOS
    • Other Improvements

    Watch the Highlights Release Video

    In this quick summary, Maycon gives a broader scope to what’s been added to Qt Framework during the past two years, since the last LTS:

    Long-Term Support with 5 Years of Maintenance

    Qt 6.12 is a Long-Term Support (LTS) release. The Qt LTS releases are designed, above all, to provide stability and reliability over a five-year maintenance period. Especially appreciated for developing proprietary software, the LTS releases overlap, allowing you to plan and carry out the updates to the newer version in an organized manner.

    There is a new Qt LTS release every 2 years, now 6.12 being the newest.

    Learn more about the Qt LTS releases: qt.io/development/qt-framework/qt-lts

    More-Secure-than-Ever Products

    Especially for those selling proprietary products to the European market, there’s urgency around getting compliant with the new EU Cyber Resilience Act (CRA). However, the regulatory cybersecurity work benefits also those who aren’t affected by the CRA.

    Cybersecurity Beyond Regulations

    Regulatory requirements aside, there are various improvements helping you build more secure software. Qt 6.12 LTS ships without known exploitable vulnerabilities and it is secure by default, with sustained security updates, a new vulnerability disclosure process, and guaranteed response times (SLAs) for commercial customers. Security-critical items are marked in Qt’s source code files and information on run security tests shared transparently. Further, we commit to ensuring that the latest 3rd party libraries are integrated.

    Related to 3rd parties, watch also Maurice’s video on how dependencies add to your software stack complexity and why it's riskier than you think.

    Qt 6.12 Is CRA-Compliant

    The commercial Qt 6.12 LTS is compliant with the EU Cyber Resilience Act (CRA) now, so that you can get your product ready and compliant on time. The first CRA deadline passed on September 11th, and the final one is approaching fast. The regulation brings many requirements on internal processes and legal assessments as well as product-related aspects.

    Qt 6.12 is built to meet the requirements set by the CRA as we today know will take effect in December 2027. In the coming maintenance releases, we will continue to ensure that the 6.12 release conforms to the regulation throughout its 5-year support period. This not only allows you to get your product ready on time but also provides a foundation to rely on over the years. Qt 6.12 comes with the CRA Declaration of Conformity, which doesn’t make your product automatically CRA-compliant (you’ll always have to do your own CRA work) but it does give many things ready-made for Qt’s part of your product.

    In addition, Qt Framework helps you meet CRA’s technical feature requirements, such as secure-by-default authentication and verification, the software bill of materials (SBOM), and secure-by-design software.

    Learn more about how Qt 6.12 can significantly reduce your CRA-related efforts and risks:

    • Blog on Qt 6.12 and CRA Compliance: Qt Group’s First Declared Release
    • qt.io/development/qt-framework/easier-cra-compliance

    Comprehensive UI Capabilities

    Looking at our UI framework, we keep bringing in new capabilities for creating modern user interfaces; the past years have seen new Qt Quick controls like the Safe Area, Context Menu, Search Field, Double Spin box, and a new layout type with the FlexBox layout. We’ve also expanded the Vector Image module, supporting more properties and animations for SVG and Lottie files.

    On the side of completely new things, let’s take a closer look at the new accelerated imperative painting engine and new QML Canvas2D type for easy use, how it improves also graphs performance. In addition, we invite you to try out our new StyleKit.

    Qt CanvasPainter Is Out of TP: A New Way of Drawing with High Performance

    We received a lot of great feedback to Qt CanvasPainter after its introduction earlier this year as technology preview in Qt 6.11. An imperative painter-like rendering API for C++ and QML that uses the GPU for hardware acceleration, and that can use shaders for rich and high performant visual effects, has evidently been missing in Qt for a long time! In Qt 6.12, after a fair amount of optimization work, API refinement, and closing of feature gaps, we are taking the core API of the module out of Technology Preview. It's ready for production for both C++ and QML developers, and we are very excited to see what you all are going to create with this.

    The most significant addition is the introduction of the Canvas2D element. The Canvas2D API is modelled after the HTML Canvas, and makes it easy to use JavaScript to draw shapes that then get rendered efficiently by Qt CanvasPainter, via Qt's Rendering Hardware Interface (QRhi), on the GPU. Canvas2D is a significant architectural upgrade and modern replacement of the Qt Quick Canvas element.

    As a brand-new API, the Canvas2D element remains in technology preview, together with the QCanvasCustomBrush C++ class.

    Read more about Qt Canvas Painter in Kaj’s blogs:

    • https://www.qt.io/blog/2d-rendering-introducing-qt-canvas-painter (from 6.11)
    • https://www.qt.io/blog/new-canvas-rendering-features-in-qt (from 6.11)
    • https://www.qt.io/blog/accelerated-2d-canvas-benchmarks (from 6.11)
    • https://www.qt.io/blog/canvas2d-new-qml-canvas-element-using-qt-canvas-painter (new)
    • https://www.qt.io/blog/canvas2d-watchui-demo (new)

    Graphs Evolves: Flexibility and High Performance

    Qt Graphs also had quite some improvements. Responding to popular demand, we added a logarithmic axis to the Graphs2D capabilities, and more customization options for axis labels. End-user interactions have become easier with built-in zoom and pan interactions, and we have implemented several improvements to performance and usability.

    For high-performance use cases, especially when visualizing large amounts of fast-changing data, we have implemented a rendering backend for 2D graphs using CanvasPainter, which for now is opt-in at configure time. We want to make sure that it’s rock solid before making it the default, so we are looking forward to your feedback when using this backend.

    StyleKit Is Available in Labs: Try It Out

    The new StyleKit module addresses several problems at once: creating a consistent style for a hybrid application that uses both Widgets and Qt Quick; doing so in a modern, design system and tooling-friendly way that cleanly maps to how such a system might be defined in tools like Figma; and a clean separation of UI component structure and styleable attributes, making it easy to define dark, light, and high-contrast themes without having to repeatedly specify that a button is a rectangle with a label.

    Qt StyleKit provides a QML-based styling API that lets you style both Widgets and Qt Quick from a single source that configures property-value pairs, such as geometry and colors.

    Thanks to property propagation, defining a style using StyleKit greatly avoids repetition, while using using established QML techniques for property animations makes it easy to define smooth transitions between control and widget states. Support for theming, control variations, and extensibility for custom controls, make StyleKit a powerful solution for defining the design of a complex user experience that looks great across devices, system configurations, and for users with different preferences.

    Read more about it and share your thoughts in the related Forum discussion: https://forum.qt.io/topic/165049/stylekit

    Less Complex Tech Stack

    Beyond the UIs, there is a lot to bringing efficiency and reducing complexity throughout the architectural layers. We’re constantly finding ways to make it easier for you to integrate your old and new code, re-using what you already know through architectural layers, APIs to tooling, and desktop to MCUs. Here are some highlights from the 6.12 release.

    QRangeModel

    QRangeModel was introduced on Qt 6.10, receiving further improvements on Qt 6.10 and continuous growing on the current release. For a quick remainder, QRangeModel is a helper class that turns regular iterable C++ containers into types that the model/view framework of Qt can easily display.

    Coming fresh in Qt 6.12 is built-in sorting support which allows the model to sort its data directly, without needing a separate class. Also, there are new properties to control what kind of drag & drop actions are allowed and what happens with the existing data on this operation. Also, faster searching with the match() method and further customization for header data and per-row or per-item behavior round up the changes are introduced in this release.

    gRPC

    For the QtGrpc module, 6.12 focus is on network efficiency. With client-side compression for messages, it is possible to select and apply the available compression algorithms, saving communication bandwidth. On top of that, now it is also possible to limit how large a server's incoming message is allowed to be, protecting clients from being overwhelmed by an unexpectedly huge or malformed response.

    Other Notable Improvements

    While there’s plenty to note, let’s focus here on Hot Reload for QML, and the support for a new platform, HarmonyOS.

    Hot Reload for QML: No More Losing Your Place

    The QML Engine has been extended to enable native support of the hot reload mechanism, and the qmlpreview tool has been reworked to use it. This enables a live preview of your running QML code, showing visually the outcome of your edits on the UI as you make them, in the IDE.

    The Hot Reload is available in Qt Creator and from the command line via qmlpreview.

    Read more about QML Hot Reload, how it works, and what’s still planned, in Ulf’s blog:

    • https://www.qt.io/blog/hot-reload-in-qt-6.12

    Support for HarmonyOS

    Starting with Qt 6.12, Qt officially supports HarmonyOS as a Long-Term Support (LTS) platform, bringing the same guarantees for stability, maintenance, and support that Qt already delivers across its other major platforms. This reinforces Qt's cross-platform nature further; existing Qt applications can now extend into HarmonyOS without a re-architected codebase, cutting development time and speeding time-to-market.

    HarmonyOS already spans a wide range of device categories in China, from IoT and automotive to PCs and tablets, and Qt's support opens that ecosystem in both directions: Chinese Qt applications can reach a global audience, and enterprises entering the China market gain a proven, LTS-backed path onto Huawei's platform.

    What Else Is New?

    The above highlights some of the big additions in Qt 6.12. In the What’s New in Qt 6.12 document you’ll find a lot of other things, such as the new QtQuick.Controls.Native style, additional joint types for Qt Quick 3D Physics, WebAssembly audio and video improvements, and smaller compiled-in resources thanks to content deduplication in the Resource Compiler (rcc).

    Thanks

    Qt 6.12 is the result of work by many people across the Qt community and we want to thank every one of you. Everyone who got a patch merged into the Qt source code for this release is named at the end of release notes.

    Code is only part of the story. Bug reports, feature requests and feedback on the Beta releases and technology preview modules shaped what went into Qt 6.12. Thank you all who took the time to share them. And a big thank you to the people who worked behind the scenes to get the release shipped!

    Update Today

    As always, the new release is available through the Qt installer. You can also download the release via our website or your Qt Account page.

    Original source
  • Mar 23, 2026
    • Date parsed from source:
      Mar 23, 2026
    • First seen by Releasebot:
      Nov 8, 2026
    Qt logo

    Qt Framework by Qt

    Qt 6.11 Released!

    Qt Framework releases version 6.11 with faster hardware-accelerated 2D graphics, new real-time 3D rendering techniques, richer graphing, and a declarative approach to asynchronous C++. It also expands UI, connectivity, accessibility, and QML-C++ integration capabilities.

    The 6.11 release for Qt Framework is now available, with improved performance, newly supported techniques and capabilities on graphics, connectivity and languages, not to mention a whole new approach to asynchronous C++ coding. Take a closer look.

    The Release at a Glance

    Once again, the release comes with a wealth of improvements, fixes, and new capabilities. Here's a super-summary of our highlights.

    Browse downwards for more details.

    Jump to the end for Thanks and how to download.

    • Hardware-Accelerated 2D Rendering
    • 3D Improvements
    • Interactive Graphs
    • Declarative Approach to C++
    • Other Improvements

    Watch the Highlights Release Video

    Here's Maycon's summary of the release highlights:

    If the embed doesn't show, you can watch the release video in YouTube.

    Performance & Productivity to 2D Rendering: Qt Canvas Painter

    The release brings about a new, modern way of drawing 2D graphics with Qt: Qt Canvas Painter. It’s a new module with imperative 2D graphics rendering capabilities built on top of Qt’s Rendering Hardware Interface (RHI). The hardware acceleration provides notable performance gains for your UI graphics, with benchmarks showing significant speedups over the earlier module, QPainter’s OpenGL backend.

    Qt Canvas Painter closely follows the familiar HTML Canvas 2D context, making it fast and easy to start using it, and providing productivity from the start.

    In addition to the performance and productivity uplifts, the new module adds some great advanced features to the table. These include adjustable antialiasing, box gradients and shadows, grid patterns, custom shader brushes, and color effects—supporting modern, visually rich UIs and efficient GPU‑driven drawing workflows.

    See what it’s about in this 1-minute teaser video:

    And dive deeper in Kaj’s blog series:

    • Part 1: Introducing Qt Canvas Painter
    • Part 2: New Canvas Rendering Features
    • Part 3: Accelerated 2D Canvas Benchmarks

    Improvements to One of the Best 3D Frameworks

    Qt has evolved into offering the same 3D capabilities as a game engine but providing consistent, high performance. That means UIs with Qt Quick 3D run smoothly even with complex elements, effects, or animations.

    New Real-Time Rendering Techniques: SSGI, SSR, and Motion Vectors

    Where Qt 6.10 introduced improvements on lightmap baking, a technique used for how light interacts with static objects, the 6.11 release now introduces a dynamic alternative to it. SSGI (Screen Space Global Illumination) is a rendering technique for simulating how light bounces off surfaces on the screen as a post-processing effect, reacting to changes in real time. SSGI does come with some performance costs, though, suggesting going for lightmap baking for resource-constraint targets and SSGI rather for rich 3D UIs especially on less performance-sensitive applications.

    Another real-time rendering technique new in 6.11 is the Screen Space Reflections (SSR). Similar to SSGI, it uses what’s visible on the screen but for rendering reflections, "raymarching" through each pixel and reflecting them correspondingly.

    For more:

    • See Jonas’s blog on lightmap baking, SSGI and SSR
    • Try it yourself with the Qt Quick 3D - SSGI Lightmap in Qt examples

    Furthermore, through the SceneEnvironment and ExtendedSceneEnvironment types, Qt Quick 3D supports a variety of techniques for anti-aliased rendering of 3D objects. Temporal anti-aliasing and motion blur is particularly interesting for reducing jaggedness of moving objects. With Qt 6.11, we are adding the generation of per-object motion vectors, which provides an excellent balance of computational cost and fidelity of output.

    Advanced Render-Pass Customization

    For users that need to go beyond the default rendering pipeline because they require advanced visual effects, optimized performance, or integration of custom techniques, Qt Quick 3D now provides options to customize the render passes. New APIs for layers and tags make it possible to specify which items should be included in different parts of the render pipeline, direct them to different render targets, and give control over the individual render passes. Use existing materials, augment materials with additional shaders, or override aspects of materials. All this new flexibility is directly usable from QML.

    To see some more examples for what you can do with Qt Quick 3D in Qt 6.11, go here:

    • Antti’s blog about Rain and Snow effects with Qt Quick 3D Particles
    • Sadegh’s blog on how to implement volumetric light shafts with real IES profiles

    New Ways to Create and Interact with Graphs

    For graphs, here’s a new Qt example, the Wind Turbine Dashboard, showcasing how flexibly you can create and combine data visualizations from simple 2D presentations to complex 3D graphing. The graphs are also highly customizable, be it for their appearance, labels, or user interactions.

    Try it yourself: The Wind Turbine Dashboard is available in the Qt examples (make sure you’ve installed the Qt Graphs module).

    In this new example, you see that 3D graphs now support multiple axis. Use different axis instances for the rowAxis, valueAxis, and columnAxis properties in QBar3DSeries, or for the axisX, axisY, and axisZ properties in QScatter3DSeries and QSurface3DSeries. We have added several new properties to the different elements in the Graphs module to give more control over how graphs are rendered, from overriding theme colors for individual axis and gradients in area graphs to line, stroke, and join styles in line graphs. Labels in Bar3DSeries can be customized and positioned more flexibly, QDateTimeAxis can take a time zone and allows panning and zooming, and properties such as QSplineSeries::optimized and GraphsItem3D.cutoffMargin allow further fine-tuning.

    And if that is not enough, then the new CustomSeries type allows the implementation of completely custom graphs where a user-defined delegate renders each data point.

    A Declarative Approach to Asynchronous Coding: Qt TaskTree

    Qt TaskTree is a new module, available in Qt 6.11 as a technology preview.

    Qt TaskTree brings a completely new perspective to API design in Qt, introducing a declarative description approach to C++. An asynchronous workflow is expressed as a declarative description via a recipe, a re-usable object passed to a task tree, which then automatically manages the workflow accordingly. This clearly separates the workflow from the boilerplate code, making the code much more readable than traditional approaches. The task tree handles the tedious tasks for you, and you have even a complex workflow clearly and precisely described in one place.

    In addition, Qt TaskTree resolves the issue of API incompatibilities, unifying various asynchronous APIs into a common interface, and allowing to adapt any asynchronous task to work with the module.

    Qt TaskTree is a big change, as it changes the way we think about writing and reading asynchronous code. For more information:

    • See Jarek’s blog Introducing the Qt TaskTree Module,
    • Visit the Qt TaskTree documentation,
    • Try it out online in the Task Tree Demo.

    Other Notable Improvements

    Some of the other big improvements in the Qt 6.11 release include additions to the UI framework, easier connecting to web services and other connectivity improvements, and easier integration of QML and C++.

    UI Framework and 2D Additions

    We got a lot of great feedback on the work we put into improving the support for Lottie and SVG vector animations, and with Qt 6.11 we have continued that journey. We now support path and morphing animations, as well as matte layers, SVG masks, and SVG symbols. We respect the predefined subset of CSS animation timing functions, and the Lottie backend for the Qt Quick VectorImage module, as well as the lottietoqml tool, are now stable and out of tech preview.

    For our UI frameworks we added a much-asked-for DoubleSpinBox to Qt Quick Controls, added APIs to control default button handling in DialogButtonBox, and allow the corner radii of a RectangularShadow effect to be controlled independently.

    For and from Qt Widgets users, we merged contributions that added a new StretchBanner option to QWizard, the possibility to tune the behavior of QAbstractItemView’s default keyboard search using the new keyboardSearchFlags, and the ability to control the visibility of the preview column in a QColumnView.

    Across both Qt Quick Controls and Qt Widgets, we have improved how accessibility clients can navigate UI elements and get notified about changes to roles and orientations.

    Web and Connectivity Improvements

    For Qt 6.11, we have continued to focus on the integration with web services. With the Qt OpenAPI module it becomes easy to generate Qt HTTP client code that uses Qt Networks RESTful APIs. The generator is a plugin into the OpenAPI Generator, so it consumes OpenAPI YAML specifications, is highly customizable, and integrates with the cmake build system.

    For more information:

    • Read Tatiana’s blog about Support of OpenAPI in Qt 6
    • Visit the Qt Open API documentation
    • Try the ChatGPT RESTful API Client example

    For Qt GRPC, we have added new mechanisms to control flow and content of requests and responses. The Qt HTTP Server module makes it easier to implement scalable servers, with several improvements that give control over limits, and the possibility to handle responses in worker threads. On the lowest level, the QNetworkRequest can now specify the TCP Keep Alive parameters for the current request, and by default, inactive connections are now automatically terminated after 2 minutes of inactivity.

    Easier Integration of QML and C++

    The QML language server has learned where the C++ definition of a QML type is, making it easy to navigate between the two languages from the IDE. C++ code can find QML objects by ID, and can now easily traverse the hierarchy of QML contexts. Properties declared in C++ can be explicitly tagged as virtual and overrides to avoid accidental shadowing of properties.

    Following up on its introduction in Qt 6.10, QRangeModel has gotten a companion class, QRangeModelAdapter, which provides a C++ API to modify the model data while speaking QAbstractItemModel protocol. For data where each row or item is backed by the same QObject subclass, QRangeModel can automatically connect each object’s property change notification to the dataChanged() signal to keep the UI up to date about data changes, without any additional code. This makes it even easier to make data from C++ backend code available to Qt Quick (or Widget) item views, without having to work with QAbstractItemModel APIs.

    For more information:

    • Read Sami’s blogs about QML Language Server and linter additions
    • Read my blog about QRangeModel updates and QRangeModelAdapter

    What Else Is New?

    The above highlights some of the big additions in Qt 6.11. In the What’s New in Qt 6.11 document you’ll find a lot of other things, such as new Qt Multimedia APIs for real-time audio processing. Developers targeting the Android platform will find it easier to call Java/Kotlin APIs from C++ and vice versa thanks to improvements in Qt Jenny, QtQuickView, and the ability to opt out of the default exception handling of QJniObject.

    If you use qdoc for documenting your own APIs, you’ll find a long list of new commands that you can use especially for modern C++ using concepts. The improved rendering of modern C++ APIs to HTML makes it easier to read some of the template-heavy APIs in Qt.

    Thanks

    I’d like to thank all the contributors who have helped with making Qt 6.11 a reality. You can find a full list of all community members that landed a patch to the Qt source code at the end of the release notes.

    A special Thanks goes to all of you who have helped making Qt better by reporting bugs, telling us about your use cases, and sending us your feedback, especially to the technology preview modules and new functionality during the Beta period. And finally, I’d like to thank everyone involved in getting the release out of the door!

    Update Today

    As always, the new release is available through the Qt installer. You can also download the release via our website or your Qt Account page.

    Original source
  • All of your release notes in one feed

    Join Releasebot and get updates from Qt and hundreds of other software products.

    Create account
  • Oct 7, 2025
    • Date parsed from source:
      Oct 7, 2025
    • First seen by Releasebot:
      Nov 8, 2026
    Qt logo

    Qt Framework by Qt

    Qt 6.10 Released!

    Qt Framework releases Qt 6.10 with a Flexbox layout, animated SVG and Lottie graphics, simpler C++ and QML data integration, and accessibility improvements. The update also expands platform support and brings new tools and capabilities for mobile, desktop, multimedia, and embedded development.

    Qt 6.10 is now available, with new features and improvements for application developers and device creators!

    Highlights for UI builders include a new flex-box layout system for Qt Quick, and support for more vector animations in SVG and Lottie format. And we have listened to your feedback and made it easier to exchange data between C++ code and a Qt Quick UI developed in QML. Such data can then be used with the new SearchField control, or with a new FilledSurface graph from the Qt Graphs module.

    If you prefer to maintain your existing codebase, upgrading to Qt 6.10 ensures your application automatically aligns with high-contrast system settings on both desktop and mobile platforms. This and other improvements in our accessibility implementation directly benefits users reliant on assistive technologies, improving usability and inclusivity without requiring any additional development effort.

    In addition to these highlights, new APIs across the Qt modules bring increased flexibility and productivity for both QML and C++ developers, and for users of Qt Widgets and Qt Quick.

    Register for the Release Webinar

    Join our experts walking through the major feature updates in Qt 6.10.

    Watch the Quick Release Video

    Check out the highlights here:

    Accessibility Improvements

    High contrast mode has become a key feature across major operating systems for improving visual clarity and usability. With the release of Qt 6.10, we’re aligning our built-in styles with platform-specific contrast settings. This makes your applications visually consistent with the rest of the user experience, and more accessible to a wider user base. In addition, you’ll have it easier to comply with various accessibility regulations.

    Read Oliver's blog post for more information about the support for high-contrast mode in our different built-in styles.

    We have also reviewed and refined how Qt widgets and Quick controls present themselves to assistive technology clients like screen readers, and have improved the integration into the underlying platform, in particular for the WebAssembly platform. Many of those changes will also find their way into upcoming patch releases of LTS branches, so make sure you stay up-to-date.

    Build UIs Easier

    Qt Quick keeps evolving and embracing new technologies to support faster development and iterations. With Qt 6.10 we bring new ways to make your UI more responsive, look more modern, and reduce custom code with a new Quick Control.

    Flexbox Layout

    Qt has for a long time provided a variety of layout types, which automatically arrange user interface components within a user interface. Qt's layouts are particularly well-suited for creating responsive and resizable interfaces, which is great when building user interfaces that have to run on a variety of platforms, with different screen sizes and aspect ratios. It also makes it possible to build a single user interface that can get translated to languages with varying text lengths, or where users might prefer different font sizes.

    With Qt 6.10, a new FlexboxLayout type joins the existing layout types in Qt Quick. Qt's FlexboxLayout provides functionality familiar from CSS's Flexible Box Layout, while integrating tightly with the concepts familiar from Qt Quick's layout mechanism, such as attached properties to configure the behavior of individual items in the layout.

    The FlexboxLayout is a technology preview for now, and we are looking forward to your feedback to our implementation and API design. We designed the type to make it particularly quick and easy to create responsive user interfaces, while keeping it performant at runtime.

    Animated Vector Graphics

    Over the last couple of releases, we have steadily improved support for vector graphics, both in the Qt Quick scene graph and the Qt Quick Shapes module, and in Qt's ability to handle SVG images. In Qt 6.8, we introduced the VectorImage element and the svgtoqml tool, both of which make it trivial to feed vector graphics content directly into the Qt Quick scene graph.

    With Qt 6.10, we are adding support for animated vector graphics, for images in either SVG or Lottie formats. The support for Lottie files has generally improved, and the Qt Lottie module will now support a much larger range of modern Lottie files. With direct support of Lottie in the VectorImage type, you can now render Lottie files as scalable and hardware-accelerated vector graphics.

    For more details, read Eskil's blog.

    New Quick Control: SearchField

    The new SearchField control is a specialized input field designed to use for search functionality. Like all Qt Quick controls, it is a implemented for the various built-in styles, and provides a native look and feel on all major platforms.

    The SearchField shows relevant data from model in a popup, filtered by the text typed into the input field. The model data can be provided by any of the existing mechanisms for getting data into QML, but we have added a number of improvements for exchanging data between backend code in C++, and Qt Quick UIs code written in QML.

    Integrate Data into your UI Easier

    Integrating C++ data models into QML and Qt Quick UIs has long been a powerful yet sometimes complex part of building Qt applications. Qt offers several mechanisms — like singleton objects, QAbstractItemModel, context properties, and QObject-based bindings — to bridge the gap between backend logic and frontend presentation. However, building a complete and performant two-way integration can involve a fair bit of boilerplate code.

    Based on your feedback, we’ve been working to streamline this process and make it more intuitive. Here are some highlights of the recent improvements that make connecting C++ and QML smoother, more efficient, and more developer-friendly.

    QRangeModel

    One of the new classes in Qt 6.10 is QRangeModel, a lightweight and versatile QAbstractItemModel implementation designed to expose C++ ranges—such as std::vector, std::array, or any iterable container—directly to item views in Widgets, and to QML and Qt Quick views. Whether the data consists of simple values like integers, or more complex types like Q_GADGETs or std::tuples, QRangeModel automatically generates appropriate roles and makes the data accessible in delegates without requiring boilerplate model code. For example, a std::vector can be wrapped in a QRangeModel and used in a Qt Widgets UI like this:

    When used with gadgets, QRangeModel automatically exposes each property as a named role, allowing QML delegates to bind to them using required properties. For example, consider a gadget representing a labeled value:

    You can create a model from a std::vector like this:

    And in QML, you can use required properties in the delegate to bind to the model roles in a type-safe way:

    This pattern eliminates the need for manual role handling or context properties, and works seamlessly with compiled QML. This makes it easy way to bridge modern C++ with QML, without any boilerplate implementation of QAbstractItemModel.

    For all the details about QRangeModel, read my blog post and the API reference documentation.

    Write changes back to the model with delegateModelAccess

    So far, in order to write the model from a delegate, you had to either require the model object and write through that, or use context properties rather than required ones.

    While this works, it does not compose well with the recommendation to use required properties in order to transfer model data to delegates. In Qt 6.10 you can write through required properties into the model if you set the view's new delegateModelAccess property to DelegateModel.ReadWrite.

    This works with all views provided by Qt: Instantiator, Repeater, ListView, GridView, TableView, TreeView, MapItemView, and Repeater3D.

    Two-way Bindings with Synchronizer

    Two-way or multi-sync bindings have often been requested. In Qt 6.10, the Synchronizer element was introduced. With a Synchronizer, you can make sure that multiple properties hold the same value as far as possible, while still not breaking bindings in either of them. Before Synchronizer you generally had to have a binding and a signal handler to synchronize a control to a model value, and this only worked for controls implemented in C++.

    With Synchronizer, you only need one element to perform the synchronization, it works for any number of properties to be synchronized, and the targets can be implemented in C++ or QML.

    Synchronizer is in Tech Preview for now. You can find it in the Qt.labs.synchronizer module.

    QML TreeModel

    Making tree data available to Qt Quick UIs has so far required the implementation of a QAbstractItemModel. With QRangeModel it is now easier to expose tree data structures from C++ to Qt Quick UIs without implementing the entire model from scratch, but implementing such a data structure in C++ is still a bit of work. For many use cases, smaller data sets, and UI prototyping, it is sufficient to declare the tree data structure directly in QML.

    With the new TreeModel QML type in Qt 6.10 it is easy to declare a tree data structure directly as a QML document inline in Qt, with arrays and dictionary syntax familiar from JSON, and key-value pairs for the item data.

    SortFilterProxyModel

    With all these ways to get and update data into QML and the Qt Quick UIs, one missing piece was to sort and filter this data directly from within QML. On the C++ side, QSortFilterProxyModel has been around since the early days of the model/view framework. With Qt 6.10 we are bringing much of that sorting and filtering goodness to QML, with a declarative and bindings-friendly API.

    Read more about the QML SortFilterProxyModel in Santhosh's blog post.

    Keep Your Product Modern

    Operating systems evolve, and users expect that they can run their favorite software on an updated device and latest versions of their systems software.

    Improvements for Android Developers

    Qt 6.10 includes a number of enhancements that make targeting the Android platform more developer-friendly, adds support for latest Android versions, and makes it easier to create a good first impressions for your app.

    Android 15 & 16 Support

    With Qt 6.10 we official support Android 15 and 16. This includes updates to the build system and support for 16K pages, allowing you to to target the most up-to-date Android devices. The support ensures that Qt applications remain stable and performant across the evolving Android ecosystem.

    Qt Jenny 1.0

    Qt Jenny 1.0 is a new tool that simplifies the integration of Android Java APIs into Qt applications. It acts as a code generator for JNI glue code, allowing developers to automatically generate Qt C++ APIs from annotated Java classes. Qt Jenny consists of a compiler and an annotation processor, enabling access to Android native services like BatteryManager, PowerManager, and AudioManager from Qt code. The generated code utilizes QJniObject, and also supports notifications, which are quite complex to implement via JNI. Qt Jenny is available via Maven Central, and examples are included in Qt Creator and online documentation to help developers get started quickly.

    Improved Splash Screen Handling

    Since Android 12 introduced a default splash screen API, Qt apps had to take care of not ending up with double splashs — first Android’s, then Qt’s. With Qt 6.10 we provide examples and guidance for creating a smooth transition from the Android to the Qt splash screen. This involves using a dedicated SplashActivity, customizing themes for translucency, and launching the Qt activity only after Android is ready. The result is a more polished and consistent startup experience, especially for cross-platform applications.

    macOS & iOS 26

    Qt 6.10 is the first minor release of Qt since macOS 26 "Tahoe" left beta just a few weeks ago. For the last few months since the announcement in June we have been working on making sure that Qt applications look good on the latest versions of macOS and iOS.

    The new Liquid Glass design system, and changes to the underlying rendering architecture on macOS, provided us with a few challenges, and we're happy to list macOS 26 as a fully supported platform in Qt. Many improvements will find their way into upcoming patch releases of LTS branches as well, and macOS 26 will also be supported by the releases of Qt 6.8 and Qt 6.5.

    Qt WebView with WebView2 Support on Windows

    On Windows, Qt 6.10 adds a WebView2 based implementation to the Qt WebView module. Qt's WebView module makes it easy to embed UI elements built using web technologies into the native Qt application, using the native browser engine rather than the Chromium based Qt WebEngine. With the WebView2 plugin, Qt WebView can now use Microsoft Edge as the rendering engine, making it possible to deploy such applications to Windows without shipping Qt WebEngine.

    Better Audio with Qt Multimedia

    On Linux systems, PipeWire is a modern Multimedia framework and provides improved performance and latency, better control and handling of content processing and hardware, and support for containerized applications. Qt Multimedia now provides a backend for this system. In addition, we implemented audio pitch compensation, giving end users better audio when playing accelerated or slowed-down tracks.

    Embedded Target Hardware Update

    Device creators will find that Boot to Qt now supports Yocto 5.2 "Walnascar", and that we have added hardware adaptations for a range of Ezurio Nitrogen boards.

    All the Other Goodness

    With Qt Quick 3D in you can now easily bake lightmaps for higher quality rendering at high performance, and make particle effects run in reverse to create the effect of rain or snow colliding with your models. Qt Graphs adds a filled surface type, better support for multiple axis and customizable z-ordering in 2D, and rendering of a slice of a 3D graphs into a printable image. Qt Widgets makes it easier to implement custom delegates and to control drag'n'drop support in item views, and the size constraints of layouts can now be configured individually. Qt 6.10's virtual keyboard includes Latvian keyboard layout, and Qt Core has a number of improvements for working with locales, XML documents, and continuation chains.

    You can find a complete list of new APIs and features in our documentation.

    Thanks

    I’d like to thank all the contributors who have helped with making Qt 6.10 a reality. You can find a full list of all community members that landed a patch to the Qt source code at the end of the release notes.

    A special Thanks goes to all of you who have helped making Qt better by reporting bugs, sending us your feedback, or by telling us about your use cases. And last but not least, I'd like to thank everyone involved in getting the release out of the door!

    Upgrade Today

    As always, the new release is available through the Qt installer. You can also get the release from our download site or your Qt Account page.

    Original source
  • Apr 2, 2025
    • Date parsed from source:
      Apr 2, 2025
    • First seen by Releasebot:
      Nov 8, 2026
    Qt logo

    Qt Framework by Qt

    Qt 6.9 Released

    Qt Framework releases Qt 6.9 with broad upgrades for graphics, emoji rendering, OAuth2 connectivity, performance, and Qt Quick development. New capabilities include order-independent transparency, expanded safe areas, animated SVGs, and improved tools for building responsive applications across platforms.

    Qt 6.9 is now available, with new features and improvements for application developers and device creators! As some of the highlights, upgrading to Qt 6.9 brings emoji rendering in existing applications up to the latest standards, order independent transparency for Qt Quick 3D, significant enhancements to address modern OAuth2 requirements, and multiple new performance features across all platforms and devices.

    Otherwise, API additions and new features across the board bring increased flexibility and productivity.

    Check out the highlights here:

    More Visualizations with Qt Graphs

    Rendering of 3D graphs has become more powerful, with support for transparency in Surface3D, a QSpline3DSeries to render data in 3D splines, and more customization options for charts, axis, and labels. Injecting a graph into a View3D from Qt Quick 3D is now easy and allows for very expressive visualization of data in a 3D context.

    Input handling in 2D charts can now be easily customized, and QGraphsView can be configured with a plotArea for granular positioning of the rectangle the graph will be rendered into.

    Read more about the improvements in Qt Graphs in Owais' blog post about What's New in Qt Graphs 6.9.

    Improved Emoji-Handling

    Emoji is one of the world's most popular writing systems, and it's also an evolving domain. A few things have happened since we added support for color fonts in Qt 5.2, and with Qt 6.9 we are catching up.

    Qt now detects emoji sequences in text, and uses the correct color font as needed, according to the Unicode specification. Application developers have control over this process: the parsing can be disabled, the emoji segmenter can be completely left out when building Qt from source, and QFontDatabase has new API to select a specific font family for emoji. The font formats supported for emoji now include CBDT and COLRv1, which provide scalable rendering at high quality across platforms.

    Read Eskil's blog post for a detailed tour through the history of emoji and support in Qt 6.9.

    Expanded Client Areas and Safe Areas

    A staple of modern application design on desktop and mobile is that the content is front and center — with application and system UI elements seamlessly blending into the content in non-intrusive ways. In Qt 6.9 we've introduced new APIs to support this use-case, via the Qt.ExpandedClientAreaHint window flag, and the SafeArea attached property in Qt Quick. In conjunction, these APIs enable the application content to occupy the entire window or screen edge-to-edge, while simultaneously being mindful of crucial system UI elements.

    Read Tor Arne's blog post for additional details about this new feature.

    SVG CSS animations

    Qt's SVG support now includes a first implementation of CSS animations for color, fill, stroke, and transform properties. This is supported in the Qt SVG module when rasterizing an SVG into a sequence of pixmaps, and in the VectorImage element that was introduced in Qt 6.8. With VectorImage, animated SVGs can now be rendered directly into the Qt Quick scene graph.

    Performance features

    With each Qt release we focus on making it easier to build performant applications across all platforms and devices. This includes making improvements to our code, but also adding support for new features that have become available from the platforms or graphics subsystems.

    Many modern CPU architectures include both performance and efficiency cores, and QThread can now set a preference for the kind of CPU core the work should be executed on.

    Users of QQuickPaintedItem on OpenGL platforms can use FramebufferObject as a rendering mode again, benefiting from hardware accelerated, imperative painting.

    The OpenGL ES RHI backend now utilizes extensions for multisampled rendering when available, boosting the rendering performance for Qt Quick and Qt Quick 3D HMIs on modern GPU architectures.

    On Windows, the Direct 3D RHI backend drives updates through a dedicated vblank watcher thread, which reduces CPU load and latency. This gives interactive UIs a much better response, for example when dragging items by mouse or touch.

    On RHI backends except OpenGL, our RHI abstraction now supports variable rate shading, which enables dynamic foveation support with Qt Quick 3D XR on visionOS.

    The new RectangularShadow element for Qt Quick, and improved control over shadow map bounds in Qt Quick 3D, allow UI developers to optimise the use of shadow and glow effects and to avoid expensive calculations.

    Widget applications using Qt's item views can tune the performance when using models where a lot of data changes at once, and the memory usage of QHeaderView has been optimised dramatically as long as resizing and reordering of sections is disabled.

    Order Independent Transparency

    Qt Quick 3D now supports Order Independent Transparency, which allows rendering of transparent objects without needing to manually sort the geometry by depth before rendering them. While it comes with some computational and RAM cost, it removes visual errors caused by improper sorting, especially when objects overlap each other. We are already using this technique in Qt Graphs for rendering semi-transparent surface graphs, but it can be used with any model, including instancing.

    In Qt 6.9, we support the Weighted Blended technique, which provides a good tradeoff between cost, performance, and accuracy.

    Revitalized Connectivity

    In Qt 6.8, and now in Qt 6.9, the Qt Network Authorization module introduces significant enhancements to address modern OAuth2 requirements. Notably, it adds support for the Device Authorization Grant, facilitating user authentication on devices with limited input capabilities such as TVs and IoT devices. Additionally, it introduces basic functionality for retrieving ID tokens in OpenID Connect, enabling applications to access user identity information. The module now allows a use alternative browser user-agents, incl. the use of Qt WebEngine, for authentication, and so providing greater flexibility. To improve token management, a new signal alerts when an access token is nearing expiration, and automatic token refreshing can be enabled. Furthermore, the module distinguishes between requested and granted scopes, ensuring applications can accurately adjust their behavior based on the permissions granted by the user.

    Read Juha's blog post for all the details about what's new in Qt Network Authorization.

    Even though the Qt HTTP Server is provided to run in a trusted environment, we still spent some extra effort to harden it. The maximum number of incoming requests can now be configured through the QHttpServerConfiguration type, allowing protection against Denial-of-Service attacks, brute-force hacking, or scraping. HTTP/2 clients can control the maximum number of concurrent streams in the QHttp2Configuration.

    Qt Quick Developer Experience

    Developer using Qt Quick will benefit from better tooling and new features. The QML Language Server now offers an outline view, enabling IDEs and editors to display a hierarchical representation of a QML document’s structure. This includes objects, properties, and methods.

    A new ContextMenu component allows developers to easily attach context menus to items, which open on platform-specific events like right-clicks. Additionally, TextField and TextArea now provide a default context menu unless a custom one is specified.

    Finally, a Metal backend has been added for OpenXR, allowing applications to run in the Meta XR Simulator on macOS.

    Upgrade to Qt 6.9

    Qt 6.9 adds many improvements and new features on top of the current Qt 6.8 LTS release. Qt 6.9 provides binary and source compatibility with all previous Qt 6 releases. With the extensive testing of our beta packages and the feedback provided by many of you, we are confident that upgrading to Qt 6.9 to take advantage of these improvements will be seamless. For a complete list of new APIs, see our documentation. A big thank you goes out to all contributors! You can find a full list of all community members that landed a patch to the Qt source code at the end of the release notes.

    Still on Qt 5?

    Standard commercial support for Qt 5.15 will end after the 26th of May 2025. After the support period, the release will be in EoS (End of Support) state and will only be supported through additional services, including the Extended Security Maintenance for Qt 5.15 (ESM).

    Read more about Qt 5.15 End of Standard Support and ESM.

    Try Qt 6 online

    You can now try Qt 6 on your browser - no installation needed. Simply browse to try.qt.io and start exploring!

    Coming soon: Qt 6.9 for Python

    Looking for Qt for Python updates? There will be a separate blog post with news and highlights from this release. Qt for Python 6.9 is available now as well!

    Original source
  • Oct 8, 2024
    • Date parsed from source:
      Oct 8, 2024
    • First seen by Releasebot:
      Nov 8, 2026
    Qt logo

    Qt Framework by Qt

    Qt 6.8 LTS Released!

    Qt Framework releases Qt 6.8 LTS with more platform support, over 500 fixes and performance improvements, and major additions including a new XR module, scalable SVG support, and fully supported Graphs, HttpServer, and GRPC modules. The release also extends commercial support to five years.

    We are thrilled to announce the release of Qt 6.8 Long-Term Support (LTS) version, packed with support for new desktop, mobile, and embedded platforms, hundreds of improvements, and exciting new features to boost your development experience and meet the needs of demanding applications.

    Check out the highlights here:

    For this release we have focused on improving and stabilizing existing functionality. With over 500 bug fixes and performance improvements since Qt 6.7, your existing code will run better without changing a single line. On macOS, Qt Quick applications now integrate with the native menu bar, and for a native Windows 11 look they can use the new Fluent style. Resizing Quick windows is snappier on macOS with Qt 6.8, and on Windows the application start-up time has been improved by changing the default font database to DirectWrite.

    Several modules that were under technology preview have been completed: Qt Graphs, Qt HttpServer, and Qt GRPC are promoted to be fully supported from this release on. Thanks to the feedback from our users we were able to finish those modules with substantial improvements since their initial introduction as technology previews.

    For commercial users, Qt 6.8 is long-term supported, and with this release we are switching from 3 years to 5 years of support and maintenance. In addition, we support the creators of software products with the upcoming Cyber-Resilience Act regulations in the European Union by providing Software Bill of Material (SBOM) documents for Qt libraries in the SPDX v2.3 format, with information needed to improve software security.

    Deploy to new Platforms, Architectures, and Devices

    By upgrading to Qt 6.8, you can make your existing mobile application available to users running iOS 18 or Android 14.

    Developing for Windows on Arm is now fully supported, enabling users to target the new Microsoft CoPilot+ PCs launched this year. Your desktop application can be deployed to macOS 15, and also Linux desktops on Arm. This completes support in Qt for the Arm architecture across all device categories, from embedded to mobile and desktop.

    As a completely new category of devices, you can now create applications and user experiences for Apple Vision Pro and Meta Quest 3 XR headsets. For device creators we have added support for Raspberry Pi 5 and NVIDIA AGX Orin, as well as a number of SoCs from our technology partners at NXP, Toradex, and STM. With the StarFive VisionFive 2, Qt 6.8 supports a single-board computer based on the new and increasingly popular RISC-V platform.

    Build Smaller and Leaner Qt Applications

    With Qt 6.8's Configure Options, developers can fine-tune Qt for performance and efficiency, precisely catering to the specific of their applications. By removing unused features and components from the Qt framework, applications can reduce ROM usage by up to 77%, lower RAM consumption by 32%, and launch significantly faster.

    Read our walkthrough of reducing the binary size of the coffee-machine example, and the documentation about building an optimized Qt for more information.

    Qt Graphs: Fully Supported for 3D Data Visualization

    With Qt 6.8, Qt Graphs is now fully supported, offering developers a powerful toolkit for creating interactive and dynamic 2D and 3D visualizations. Whether you're working on scientific simulations, financial charts, or real-time data analysis, Qt Graphs provides the rendering capabilities and performance optimizations needed to bring your data to life. Qt Graphs 3D now supports transparency in Bars3D, and gives more control over label margins, title positions, and grid line rendering. Qt Graphs 2D can render custom bars using QML components, supports Stacked and StackedPercent bars, can display labels on bars and titles on axis, and has more data mapping APIs.

    We have unified the theming API for 2D and 3D graphs, and moved Qt Widgets specific APIs into a separate Qt Graphs Widgets module, so pure Qt Quick applications do not need to link against Qt Widgets anymore. For more details on the changes we made to Qt Graphs while it was under technology preview, see Sami's blog post.

    Users wanting to migrate from Qt Charts or Qt DataVisualization can find migration guides in our documentation.

    Qt Multimedia: Custom data and audio post-processing

    Qt Multimedia has been a cornerstone for building media-rich applications, and in Qt 6.8, we've made it even better. With QVideoFrameInput, QAbstractVideoBuffer, and QAudioBufferInput, applications can send custom media data into a recording session, and with QAudioBufferOutput, decoded audio data can be received for post-processing.

    On Linux desktops, QScreenCapture now supports the Wayland compositor, using the ScreenCast service via the XDG Desktop Portal.

    Qt Quick: More Effects and Scalable Vector Graphics

    Qt Quick continues to be a go-to module for building fast and fluid user interfaces. In Qt 6.8, we've made several performance optimizations to enhance rendering speed, especially for complex scenes. The Qt Quick Effect Maker learned about glow and masked blur, can animate sprites, and bend items into a circle or arc. This means smoother animations and better responsiveness in resource-intensive applications.

    A key addition in this release is the Qt Quick Vector Image module, which enables the seamless integration of SVG files as scalable vector graphics within Qt Quick scenes. This is a perfect option for developers looking to create resolution-independent and responsive UI elements, ensuring that your designs look sharp and consistent across different devices and screen sizes. In the Qt Quick Shapes module, the ShapePath element can now take any texture provider item to fill the shape, applying an arbitrary transform.

    Read more about the improvements in vector graphics in Qt 6.8 in Eskil's dedicated blog post.

    QQuickRenderTarget has gotten new APIs that give developers more control over texture handling, and make it easier to integrate Qt Quick 3D with external engines, frameworks, and APIs.

    TableView now allows programmers and end-users to move columns and rows, and Image and BorderImage types can retain the previous image until a newly set image is loaded asynchronously.

    Qt Quick Controls: Better integration into the desktop

    Qt 6.8 adds an implementation of the Fluent WinUI3 design system as a Qt Quick Controls style. That new style makes application look and feel native on Windows 11, but is implemented using Qt Quick primitives and is available on all platforms.

    On macOS, the Quick MenuBar and menus integrate by default with the native menubar of the system. Context menus and other popups can be made into top-level popup windows as well, which is now the default behavior for Qt Quick dialogs on desktop platforms. Applications can use the new popupType property to control this for each popup.

    New XR Module: Powering Immersive Experiences

    With the growing importance of virtual, augmented, and mixed reality applications, we are excited to introduce a new module in Qt 6.8 dedicated to supporting XR devices. The new Qt Quick 3D Xr module makes it easier for developers to build immersive experiences for virtual reality (VR) and augmented reality (AR) platforms, ensuring Qt remains a top choice for application developers no matter the target device.

    The new module implements support for spatial input via hand tracking and controllers, as well as for spatial anchors and locomotion. This allows users to interact with a Qt Quick 3D-built environment when using Apple VisionPro, or an OpenXR device such as the Meta Quest 2 and 3.

    For optimal rendering performance in a head-mounted display, we have completed the support for multi-view rendering in the Qt Quick scene graph, in our standard Quick items and materials, and in the Qt Shader Tools build system integration.

    Qt Quick 3D: Improved Shadows and Material enhancements

    Qt Quick 3D 6.8 renders better shadows by using cascaded shadow maps and percentage-closer filtering soft shadows.

    Technical artists can adjust the Fresnel through new properties of PrincipledMaterial, and apply masking based on the vertex color attribute. Custom materials now support the same properties as PrincipledMaterial.

    Networking with Qt Network, Qt Network Auth, Qt GRPC, and Qt HttpServer

    QNetworkAccessManager can now send HTTP requests over a local socket, and applications can use the QFormDataBuilder for easy creation of multi-part HTTP messages.

    In the Qt Network Auth module, we have made many improvements and addressed many issues based on input from users. In addition, the new QOAuthUriSchemeReplyHandler class allows handling of private/custom or https URI scheme redirects, and Proof of Key Code Exchange is supported by the QOAuth2AuthorizationCodeFlow class.

    QDnsLookup learned about TLS Association records, and can now send DNS over TLS, and informs the client whether the DNS server has performed any verification on data authenticity.

    The Qt GRPC and Qt Protobuf modules are now fully supported and have a stable API, with added support for streaming.

    Other Enhancements Across Modules

    In addition to the major additions above, we’ve made a series of enhancements across the framework to further streamline development. For a comprehensive list of all features, check our What's New in Qt 6.8 documentation page.

    Qt Core

    The new QChronoTimer integrates with std::chrono and improves the precision of time-based operations. In hot code paths, QString, QByteArray, and QList can now resize without data initialization.

    QHash now supports heterogenous lookups for some Qt types, notably QString and QStringView, and QDirListing provides an iterator-based API for directory entries:

    using F = QDirListing::IteratorFlag;
    QDirListing dirList(u"/sys"_s, QStringList{u"scaling_cur_freq"_s},
    F::FilesOnly | F::Recursive);
    for (const auto &dirEntry : dirList) {
    QFile f(dirEntry.filePath());
    if (f.open(QIODevice::ReadOnly))
    qDebug() << f.fileName() << f.readAll().trimmed().toDouble() / 1000 << "MHz";
    }
    

    Developers targeting the Android platform can use the QtJniTypes namespace to declare Java types with their JNI signature, and rely on compile-time signature generation when interfacing with JNI via QJniObject. The QJniArray type makes it easy to work with Java arrays from C++ code.

    Q_DECLARE_JNI_CLASS(TimeZone, "java/util/TimeZone");
    using namespace QtJniTypes;
    
    const QJniArray availableIDs = TimeZone::callStaticMethod<String[]>("getAvailableIDs");
    for (const auto &availableID : availableIDs) {
    // ~~~
    }
    

    And we have continued to add support for the C++20 space-ship operator<=>() to Qt value types, and floating-point geometry types such as QPointF and QMarginsF now support fuzzy comparison and null-checks.

    Qt GUI

    Applications developed with Qt 6.8 can now explicitly request a color scheme to override the system setting with an explicit Dark or Light appearance.

    Applications can also override the context menu trigger to provide consistent application behavior across platforms.

    We have made several additions to our color space support, and added more APIs for fine-grained control over the merging and styling strategy of fonts.

    The accessibility framework now supports the reporting of attributes, and allows applications to raise announcement events that are picked up by assistive technologies.

    Qt Sql

    Users of the Qt Sql module can now specify the numerical precision policy, and a QSqlDatabase can change the thread affinity of the database connection. The PostgreSQL and MySQL/MariaDB drivers now correctly handle date and time data when the server is in a different time zone than the client.

    Qt Test

    Test authors can now make failing or skipped tests throw an exception, making it easier to write tests that use sub-routines. The timeout-macros now accept std::chrono literals, resulting in more readable test code.

    Qt WebEngine

    The new QWebEngineFrame class adds frame-specific APIs, such as printing or running JavaScript on specific frames. QWebEngineClientHints gives applications more control over the browser identifications, and QWebEnginePermission makes it easy to manage new and existing website permissions.

    Qt Widgets

    We have made several improvements to our rendering code for high-DPI displays so that widget-based applications look crisp on all screen types.

    Tools

    Our documentation generator QDoc, which interfaces with Clang, now requires minimum Clang 17. It has moved from the C-based to the C++-based APIs. This improves our ability to implement support for new C++ language features in QDoc. In addition, QDoc has been extended with a range of new commands. Check out the release notes for the specific details.

    The QML Language Server now provides semantic syntax highlighting, has improved support for the JavaScript language, can generate snippets for Quick types, and give documentation hints.

    Upgrade Today

    With these powerful new features and performance improvements, Qt 6.8 continues to empower developers to build responsive, visually engaging, and media-rich applications across a wide range of platforms. I’d like to thank all the contributors who have helped with making Qt 6.8 a reality. You can find a full list of all community members that landed a patch to the Qt source code at the end of the release notes. A special Thanks 💚 goes to all of you who have helped making Qt better by reporting bugs, sending us your feedback and contributions, or by telling us about your use cases. And last but not least, I'd like to thank everyone involved in getting the release out of the door!

    We can't wait to see how you'll leverage the latest version of Qt to create the next generation of apps. Upgrade to Qt 6.8 today and take your projects to the next level!

    Original source
  • Similar to Qt Framework with recent updates:

This is the end. You've seen all the release notes in this feed!

Releasebot

Curated by the Releasebot team

Releasebot is an aggregator of official product update announcements from hundreds of software vendors and thousands of sources.

Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.