# A stand-in for Qt.labs.settings, which Qt 6 still ships but deprecates.
#
# Qt 6 moved this type to QtCore and made the labs module print a deprecation
# warning from every instance it constructs. Qt 5.15 has no QtCore QML module
# at all, so -- as with QtGraphicalEffects next door -- the import cannot be
# written to suit both versions and the QML keeps upstream's import.
#
# This module is added to the import path on Qt 6 only, where it is found
# before the real one because QQmlEngine::addImportPath prepends. On Qt 5 the
# path is never added and the real labs module is used.
#
# The two are storage-compatible: a shimmed Settings reads back the keys the
# labs type wrote, under the same category in the same file. That was measured
# with a probe running one type after the other, which is a thing the suite
# cannot do -- it only ever has one of them.
#
# What tests/qml/tst_settings_shim.qml does guard is the property that makes
# this a stand-in at all: that properties the *caller* declares are persisted.
# It asserts the same behaviour on both Qt versions, so the shim is checked
# against the type it is standing in for.
module Qt.labs.settings

Settings 1.0 Settings.qml
