Qt Quick 例題 - ローカルストレージ
QMLのローカルストレージの例です。

{日付、説明、距離を示す旅行エントリを持つ活動記録}。
Local StorageはQt Quick のローカルストレージ機能に関連する小さな QML の例集です。
例の実行
例題を実行するには Qt Creatorから実行するには、Welcome モードを開き、Examples から例を選択します。詳しくはQt Creator: Tutorialを参照してください:ビルドして実行する。
アクティビティトラッカー
アクティビティ・トラッカーは、散歩、ハイキング、自転車旅行の記録をつけることができる。
すべてのデータベース・トランザクションはDatabase.jsで処理されます。データベースは起動時にチェックされ、存在しない場合は作成される。LocalStorageはSQLiteを使用しています。SQLiteは自己完結型のサーバーレスでパブリックドメインのデータベースです。データベースへの接続は、データを操作したり取得したりする各関数の最初に処理されます。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.