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); };