From 6fbd403fe7597f457e669bbb6551509c2097fc2d Mon Sep 17 00:00:00 2001 From: Oleksii Zbykovskyi Date: Tue, 5 Aug 2025 15:08:38 +0200 Subject: Relocate files from separate CMake files to the main one Removed useless CMakefiles and move their contents to the main CMakeLists file. Task-number: QTBUG-137566 Change-Id: Ibeb162ce43243d9af7732f39935325cbb52ecdec Reviewed-by: Volker Hilsheimer --- src/widgets/doc/snippets/graphicsview/graphicsview.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/widgets/doc/snippets/graphicsview/graphicsview.cpp') diff --git a/src/widgets/doc/snippets/graphicsview/graphicsview.cpp b/src/widgets/doc/snippets/graphicsview/graphicsview.cpp index e66d2d84fb2..2d76f671b1b 100644 --- a/src/widgets/doc/snippets/graphicsview/graphicsview.cpp +++ b/src/widgets/doc/snippets/graphicsview/graphicsview.cpp @@ -1,5 +1,12 @@ // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +#include + +#include + +#if QT_CONFIG(printdialog) + #include #include #include @@ -101,3 +108,5 @@ gl->setFormat(format); view.setViewport(gl); //! [6] } + +#endif // QT_CONFIG(printdialog) -- cgit v1.2.3