From ebbcc7a86e5438577a4668159d78555995611938 Mon Sep 17 00:00:00 2001 From: Sakaria Pouke Date: Mon, 14 Jul 2025 14:10:19 +0300 Subject: [PATCH] Add "Example" surface gallery import statements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes SurfaceOscilloscope import error related to commit 96578b3b00e4287459bb7bb255e3829662ec0773 Fixes: QTBUG-138470 Pick-to: 6.8 Change-Id: I9201afdd85e57ef4fdaef0d721d124a9a79edc68 Reviewed-by: Tomi Korpipää (cherry picked from commit 9e9d4192771739061e0653f4a58e2090d0286dfd) Reviewed-by: Qt Cherry-pick Bot (cherry picked from commit c5e2d791ea20843e9e58e787696f8e4ebaeee4ef) --- .../surfacegallery/qml/surfacegallery/SurfaceOscilloscope.qml | 2 +- examples/graphs/3d/surfacegallery/surfacegallery.pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/graphs/3d/surfacegallery/qml/surfacegallery/SurfaceOscilloscope.qml b/examples/graphs/3d/surfacegallery/qml/surfacegallery/SurfaceOscilloscope.qml index 59de7372..3570253d 100644 --- a/examples/graphs/3d/surfacegallery/qml/surfacegallery/SurfaceOscilloscope.qml +++ b/examples/graphs/3d/surfacegallery/qml/surfacegallery/SurfaceOscilloscope.qml @@ -5,7 +5,7 @@ import QtQuick import QtQuick.Controls.Basic import QtGraphs //! [0] -import SurfaceGallery +import SurfaceGalleryExample //! [0] Item { diff --git a/examples/graphs/3d/surfacegallery/surfacegallery.pro b/examples/graphs/3d/surfacegallery/surfacegallery.pro index 620bb52e..7bb34f82 100644 --- a/examples/graphs/3d/surfacegallery/surfacegallery.pro +++ b/examples/graphs/3d/surfacegallery/surfacegallery.pro @@ -3,7 +3,7 @@ } CONFIG += qmltypes -QML_IMPORT_NAME = SurfaceGallery +QML_IMPORT_NAME = SurfaceGalleryExample QML_IMPORT_MAJOR_VERSION = 1 QT += graphs