diff options
| author | MohammadHossein Qanbari <mohammad.qanbari@qt.io> | 2024-09-09 12:05:51 +0200 |
|---|---|---|
| committer | MohammadHossein Qanbari <mohammad.qanbari@qt.io> | 2024-09-10 15:49:10 +0200 |
| commit | c2ff06f90efc00ae9b256f025d218f98c249a797 (patch) | |
| tree | f761c427a5f2e17a997c3b2aaa4c6ce6b687f4ff /examples/quickcontrols/spreadsheets/Spreadsheets/spreadcell.cpp | |
| parent | 0007adef5b4fc1d21f719a3d1b2d6aa965b746e0 (diff) | |
Spreadsheets Example: Remove circular dependency
The example fails to compile on some platforms due to an existing
circular dependency. To fix this issue, the inclusion of
`spreadformula.h` has been moved to the related .cpp files, and a
forward declaration is used in the `spreadmodel.h` file instead.
Fixes: QTBUG-128272
Pick-to: 6.8
Change-Id: Ic2c589f9126e0ba0eed6ffe5150bacd4afa6d239
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Diffstat (limited to 'examples/quickcontrols/spreadsheets/Spreadsheets/spreadcell.cpp')
| -rw-r--r-- | examples/quickcontrols/spreadsheets/Spreadsheets/spreadcell.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quickcontrols/spreadsheets/Spreadsheets/spreadcell.cpp b/examples/quickcontrols/spreadsheets/Spreadsheets/spreadcell.cpp index b15818a426..f1b742abb8 100644 --- a/examples/quickcontrols/spreadsheets/Spreadsheets/spreadcell.cpp +++ b/examples/quickcontrols/spreadsheets/Spreadsheets/spreadcell.cpp @@ -1,6 +1,7 @@ // Copyright (C) 2024 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause +#include "spreadformula.h" #include "spreadcell.h" #include "spreadrole.h" #include "spreadmodel.h" |
