aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4executablecompilationunit.cpp
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2023-05-11 10:27:08 +0800
committerMitch Curtis <mitch.curtis@qt.io>2023-05-24 10:29:05 +0800
commitcd61b622f410cde6c81966cbdbef9f11dc90fdfa (patch)
treee38764fdc7c4252ffd76d22fe0fb44b4add2ab7d /src/qml/jsruntime/qv4executablecompilationunit.cpp
parentc504227e235885199717129e7c05addd728361fa (diff)
Improve wearable example
- Move all (non-icon) images into one directory for simplicity. - Add explicit qrc prefix to image paths to make them absolute and ensure they're found, fixing some errors. - Fix "XMLHttpRequest: Using GET on a local file is disabled by default" warning by setting QML_XHR_ALLOW_FILE_READ to 1. - Fix "Parameter "page" is not declared" warning. - Replace qt6_add_resources with qt_standard_project_setup and qt_add_qml_module. - Remove unnecessary quotes from CMake file paths. - Replace local settings instance that was accessed via the root context through several files with a singleton. - Make the custom Controls style a proper QML module. - Make the settings singleton its own module to avoid cyclic imports. - Adapt documentation to new paths. - Some ids (in Main.qml) are unused by QML, but used by the documentation, so those are left alone. - Fix qmake build files after these changes. Fixes: QTBUG-112618 Pick-to: 6.5 Change-Id: I10f6e1f2013fe35eaf4e1e0f4aaa98e6a1ab9c15 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4executablecompilationunit.cpp')
0 files changed, 0 insertions, 0 deletions