Qt for MCUs 2.2LTS新技術與生態合作

Qt for MCUs 2.2LTS新技術與生態合作的圖1

回顧歷史版本

Since 1.0
26 new major features
9 new reference MCUs
1 new reference target OS
1 new compiler support
1 new host platform
163 bug fixes
Qt for MCUs 2.2LTS新技術與生態合作的圖2

Qt for MCUs 2.2LTS長周期支持

? Qt for MCUs 2.2 is the first LTS release
? QML APIs aligned and compatible with Qt 6.2 LTS
? 1 patch release every 6-8 weeks for 18 months, starting August 2022
Qt for MCUs 2.2LTS新技術與生態合作的圖3
支持的MCU平臺

Qt for MCUs 2.2LTS新技術與生態合作的圖4

Qt for MCUs 2.2LTS新技術與生態合作的圖5
Qt for MCUs 2.2LTS新技術
文字處理
Qt for MCUs處理文字
-支持Glyph位圖字體
? 編譯時TTF自動轉換為位圖
? 極低的CPU占用
-支持Monotype Spark?字體引擎
? 專門為MCU環境設計
? 低CPU和內存占用
? 高性能矢量字體運行時繪制引擎
? 提供字體編輯工具
Qt for MCUs 2.2LTS新技術與生態合作的圖6
Monotype Spark Font Engine (TP)
Qt for MCUs 2.2LTS新技術與生態合作的圖7
Qt for MCUs 2.2LTS新技術與生態合作的圖8
國際化語言顯示文本
Qt for MCUs 2.2LTS新技術與生態合作的圖9
文本溢出處理
? What is it and why is it important?
Display dynamic text and translations that are too long to fit in limited screen space. Must-have for dynamic UIs.
? What’s new?
QML property: Text.elide
Enum values: Text.ElideNone (default), Text.ElideLeft, Text.ElideMiddle, Text.ElideRight
? What should I know?
-Behavior aligned with Qt
-Text width (or right and left anchors) must be set
-Works with multiline text if Text has an explicit height
? Learn more
https://doc-snapshots.qt.io/qtformcus-dev/qml-qtquick-text.html#elide-prop

Qt for MCUs 2.2LTS新技術與生態合作的圖10

Qt for MCUs 2.2LTS新技術與生態合作的圖11
文本自動變形
? What is it and why is it important?
Automatically wrap text when it’s wider than the available space. Must-have for dynamic UIs and multi-language applications.
? What’s new?
QML property: Text.wrapMode
Enum values: Text.NoWrap(default), Text.WordWrap, Text.WrapAnywhere, Text.Wrap
? What should I know?
-Behavior aligned with Qt
-Text width (or right and left anchors) must be set.
-Not available for StaticText
? Learn more
https://doc-snapshots.qt.io/qtformcus-dev/qml-qtquick-text.html#wrapMode-prop
Qt for MCUs 2.2LTS新技術與生態合作的圖12
圖片優化及資源管理
Qt for MCUs處理圖片
-未壓縮的RGB格式速度很快,但閃存成本非常高。
-PNG格式高壓縮率閃存占用空間低,但需要更多的RAM來保存解壓縮的數據。
-RLE壓縮,輕量級,低閃存和低RAM,并且提供足夠快的解壓縮時間。

Qt for MCUs 2.2LTS新技術與生態合作的圖13

Qt for MCUs 2.2LTS新技術與生態合作的圖14
Qt for MCUs 2.2LTS新技術與生態合作的圖15
RLE壓縮
Qt for MCUs 2.2LTS新技術與生態合作的圖16
OPTIMAL USE OF HARDWARE:Improved management of graphical resources
? Why is this valuable?
Achieve UX goals while keeping hardware costs to a minimum
? What’s new?
-New CMake APIs for graphical resource configuration
-Fine-grained placement of individual resources
? Why is it important?
Reaching the desired frame rate and fitting the GUI in memory often requires an optimized placement of resources
? Learn more
https://doc-snapshots.qt.io/qtformcus-dev/qtul-resources.html#resource-placement-in-memory
Qt for MCUs 2.2LTS新技術與生態合作的圖17
OTA GUI UPDATES:Replaceable resources in deployed applications
? Why is this valuable?
-Cheaper device firmware update process for specific use cases
-Full software recertification is not needed
? What are the use cases?
-GUI style update
-Device (re-)branding
-Downloadable GUI skins
? What’s new?
-Image resources can be replaced without re-flashing the complete application
-CMake build target to compile resource binaries
? Learn more
https://doc-snapshots.qt.io/qtformcus-dev/qtul-resources.html#ota-resources-update

Qt for MCUs 2.2LTS新技術與生態合作的圖18

新的錯誤處理機制
錯誤處理
? What is it and why is it important?
APIs to be notified of errors in GUI code and react appropriately. Enables robust and traceable applications.
? What are the use cases?
Some examples:
-detailed logging for debugging or device diagnostic
-restart the device on memory allocation failure in QUL
? What’s new?
C++ API: Qul::setErrorHandler(), QUL_ASSERT()
Enum: QulError
? What should I know?
-The default error handler prints an error message in the console.
-Custom handlers can be implemented for custom logging or mitigation actions.
? Learn more
https://doc-snapshots.qt.io/qtformcus-dev/qtul-error-handling.html
Qt for MCUs 2.2LTS新技術與生態合作的圖19
代碼生成工具qmlprojectexporter
技術預覽: qmlprojectexporter
? What is it and why is it important?
New ways to generate C++ code from a QML project, enabling new and better workflows. Possibility to build QUL applications in any IDE or build system.
? What’s new?
New project file format: .qmlproject
New command-line tools: qmlprojectexporter, platform exporter
? What should I know?
-Optional feature, users can still use the old way of building QUL applications for compatibility reasons
-Available as Tech Preview, APIs can change in v2.3
? Learn more
https://doc-snapshots.qt.io/qtformcus-dev/qtul-qmlproject-qmlprojectexporter.html
https://doc-snapshots.qt.io/qtformcus-dev/qtul-qmlproject-qmlprojectexportercmd-qmlprojectfile.html
https://doc-snapshots.qt.io/qtformcus-dev/qtul-platform-exporter.html
Qt for MCUs 2.2LTS新技術與生態合作的圖20
構建APP靜態庫
Static Library Build
Qt for MCUs 2.2LTS新技術與生態合作的圖21
Example:https://doc-snapshots.qt.io/qtformcus/quickultralite-static-library-example.html
Qt for MCUs 2.2LTS新技術與生態合作的圖22
性能優化指南
Performance and footprint guide
-Achieving good performance with a low memory footprint is challenging
-New documentation with guidelines, tips, and tricks to help get the best results faster
-Instructions on how to collect performance data from the device
? Learn more
https://doc.qt.io/QtForMCUs-2.2/qtul-performance-guide.html
https://doc.qt.io/QtForMCUs-2.2/qtul-performance-logging.html
Qt for MCUs 2.2LTS新技術與生態合作的圖23

生態合作

Qt for MCUs on 杰發 ac8015:透明alpha圖片顯示
Qt for MCUs 2.2LTS新技術與生態合作的圖24
Qt完成芯馳最新車規級芯片適配,助力車載HMI創新加速
Qt for MCUs 2.2LTS新技術與生態合作的圖25
Qt for MCUs on SemiDrive – E3
Qt for MCUs 2.2LTS新技術與生態合作的圖26
Qt for MCUs on 樂鑫 Espressif ESp32-S3-BOX
Qt for MCUs 2.2LTS新技術與生態合作的圖27
Qt for MCUs on OneOS 國產思澈芯片
中國移動OneOS是為物聯網行業打造的可裁剪、跨平臺、低功耗、輕量級實時操作系統。中移物聯與Qt共同推出了Qt for MCUs-OneOS,通過OneOS的芯片適配能力,針對硬件底層進行GUI適配,可廣泛應用于表計、穿戴、家居、工業控制等行業。
“Qt for MCUs-OneOS擁有極致性能,讓我們可以快速開發、上線新應用,大大提升了生產效率。中國移動作為一家全球領先的通信運營商,擁有大量中小型企業客戶,”OneOS產品總監孫靖評價,“我們與Qt合作,一方面提升了OneOS的GUI組件平臺能力,同時也讓更多企業用戶獲得了Qt的商業軟件價值,希望未來有更多的用戶能和我們一起來共建國產物聯網操作系統的生態圈。”
Qt for MCUs 2.2LTS新技術與生態合作的圖28
Qt for MCUs助力延鋒偉世通打造單芯片車載儀表平臺
HMI及圖形渲染專家來自汽車儀表解決方案的知名供應商延鋒偉世通,團隊專注于圖形渲染、車載儀表以及智能座艙項目的研發工作。
隨著車載儀表的顯示日益復雜,越來越多的OEM或車企更愿意使用單芯片平臺來實現全液晶儀表盤的功能。在評估了市面上多個主流的GUI框架后,延鋒偉世通最終選定Qt for MCUs來開發這個基于低成本芯片的車載儀表HMI平臺:
- Qt for MCUs有非常強大的開發團隊;
- Qt for MCUs支持跨平臺方案,在開發過程中無需考慮平臺遷移的問題,極大節約了開發成本。
Qt for MCUs 2.2LTS新技術與生態合作的圖29
Qt for MCUs on AUTOSAR CLASSIC
Qt for MCUs 2.2LTS新技術與生態合作的圖30
關于Qt
Qt是一套業界領先的產品開發框架,可供前端設計師和開發人員適用于各種設備和操作系統的先進的UI/UX。
Qt被廣泛應用于70多個行業,并在全球范圍內建立了完善的生態系統——每年下載量達數百萬次。
Qt擁有強大的合作伙伴生態——全球有超過100家軟件服務公司和SoC方案供應商具備Qt開發能力。

Qt for MCUs 2.2LTS新技術與生態合作的圖31




深圳市優飛迪科技有限公司成立于2010年,是一家專注于產品開發平臺解決方案與物聯網技術開發的國家級高新技術企業。

十多年來,優飛迪科技在數字孿生、工業軟件尤其仿真技術、物聯網技術開發等領域積累了豐富的經驗,并在這些領域擁有數十項獨立自主的知識產權。同時,優飛迪科技也與國際和國內的主要頭部工業軟件廠商建立了戰略合作關系,能夠為客戶提供完整的產品開發平臺解決方案。

優飛迪科技技術團隊實力雄厚,主要成員均來自于國內外頂尖學府、并在相關領域有豐富的工作經驗,能為客戶提供“全心U+端到端服務”。

Qt for MCUs 2.2LTS新技術與生態合作的圖32

登錄后免費查看全文
立即登錄
App下載
技術鄰APP
工程師必備
  • 項目客服
  • 培訓客服
  • 平臺客服

TOP