Mercurial > octave
diff scripts/plot/util/hgsave.m @ 31751:e863066429f1
assume QOffscreenSurface is available
QOffscreenSurface was introduced in Qt 5.1.
* acinclude.m4 (OCTAVE_CHECK_QT_OPENGL_OFFSCREEN_OK): Delete.
(OCTAVE_CHECK_QT_VERSION): Delete use.
* configure.ac, geometryimages.m, interpimages.m, module.mk,
plotimages.m, sparseimages.m, splineimages.m, GLCanvas.cc, GLCanvas.h,
getframe.m, __check_rendering_capability__.m, copyobj.m, hgsave.m,
jupyter-notebook.tst, publish.tst: Eliminate checks for Qt
OffscreenSurface feature. Assume it is always available.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 17 Jan 2023 13:11:02 -0500 |
parents | 597f3ee61a48 |
children | 2e484f9f1f18 |
line wrap: on
line diff
--- a/scripts/plot/util/hgsave.m Tue Jan 17 10:27:03 2023 -0500 +++ b/scripts/plot/util/hgsave.m Tue Jan 17 13:11:02 2023 -0500 @@ -90,7 +90,7 @@ endfunction -%!testif HAVE_MAGICK; (have_window_system () && __have_feature__ ("QT_OFFSCREEN") && any (strcmp ("qt", available_graphics_toolkits ()))); +%!testif HAVE_MAGICK; (have_window_system () && any (strcmp ("qt", available_graphics_toolkits ()))); %! toolkit = graphics_toolkit (); %! graphics_toolkit ("qt"); %! h1 = figure ("visible", "off", "paperposition", [0.25, 2.5, 8.0, 6.0]);