From dc904a1f1354afedbc742dea56251e5cc89898aa Mon Sep 17 00:00:00 2001 From: Svetlana Kulikova Date: Thu, 2 Oct 2025 12:55:32 +0300 Subject: [PATCH] Fix build --- DesktopEditor/graphics/pro/js/qt/nativegraphics.pro | 1 - DesktopEditor/raster/PICT/PICFile.cpp | 2 ++ DesktopEditor/raster/PICT/PICFile.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DesktopEditor/graphics/pro/js/qt/nativegraphics.pro b/DesktopEditor/graphics/pro/js/qt/nativegraphics.pro index 3447f18ae9..3e36e1605b 100644 --- a/DesktopEditor/graphics/pro/js/qt/nativegraphics.pro +++ b/DesktopEditor/graphics/pro/js/qt/nativegraphics.pro @@ -113,7 +113,6 @@ SOURCES += \ ../../../../raster/ImageFileFormatChecker.cpp \ ../../../../raster/Metafile/MetaFile.cpp \ ../../../../raster/PICT/PICFile.cpp \ - ../../../../raster/PICT/pic.cpp \ \ ../../../ArrowHead.cpp \ ../../../Brush.cpp \ diff --git a/DesktopEditor/raster/PICT/PICFile.cpp b/DesktopEditor/raster/PICT/PICFile.cpp index 4a2dabadac..43c1257c57 100644 --- a/DesktopEditor/raster/PICT/PICFile.cpp +++ b/DesktopEditor/raster/PICT/PICFile.cpp @@ -33,7 +33,9 @@ #include "../../common/File.h" #include +#ifndef _WIN32 #include +#endif CPictFile::CPictFile() { diff --git a/DesktopEditor/raster/PICT/PICFile.h b/DesktopEditor/raster/PICT/PICFile.h index df2855318a..d426868baf 100644 --- a/DesktopEditor/raster/PICT/PICFile.h +++ b/DesktopEditor/raster/PICT/PICFile.h @@ -32,7 +32,7 @@ #ifndef PICFILE_H #define PICFILE_H -#include "../pro/Graphics.h" +#include "../../graphics/pro/Graphics.h" enum PixelTrait {