From fb84d8b32d6f8549a62dd63ba0dc360da9c97a4f Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 30 Jul 2023 12:51:01 +0200 Subject: [PATCH] Fixed non-Qt builds --- src/img/img/imgObject.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/img/img/imgObject.h b/src/img/img/imgObject.h index 846f7b4b6..be81a3e54 100644 --- a/src/img/img/imgObject.h +++ b/src/img/img/imgObject.h @@ -1028,7 +1028,9 @@ private: void validate_pixel_data () const; void allocate (bool color); void read_file (); +#if defined(HAVE_QT) void create_from_qimage (const QImage &qimage); +#endif void create_from_pixel_buffer (const tl::PixelBuffer &img); };