summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/visit/0001-fix-missing-header-includes-for-QSurfaceFormat.patch
blob: f7c6ebf432d92d3bd3404bbfe43e8c4436ae6017 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
From a9f33beccc72e113d95e97b9461e39e87e356d97 Mon Sep 17 00:00:00 2001
From: Ben Wibking <ben@wibking.com>
Date: Sun, 10 Dec 2023 16:42:49 -0500
Subject: [PATCH] fix missing header includes for QSurfaceFormat

---
 src/tools/examples/avtexamples/qtviswinExample.C   | 1 +
 src/tools/examples/avtexamples/qtvtkExample.C      | 1 +
 src/tools/examples/avtexamples/qvtkopenglExample.C | 1 +
 src/tools/examples/mcurvit/main.C                  | 1 +
 src/viewer/main/viewer.C                           | 1 +
 5 files changed, 5 insertions(+)

diff --git a/src/tools/examples/avtexamples/qtviswinExample.C b/src/tools/examples/avtexamples/qtviswinExample.C
index 27c54fcd18..1b8d651c1d 100644
--- a/src/tools/examples/avtexamples/qtviswinExample.C
+++ b/src/tools/examples/avtexamples/qtviswinExample.C
@@ -5,6 +5,7 @@
 #include <QtVisWindow.h>
 
 #include <QApplication>
+#include <QSurfaceFormat>
 
 #include <visit-config.h> // For LIB_VERSION_LE
 #if LIB_VERSION_LE(VTK, 8,1,0)
diff --git a/src/tools/examples/avtexamples/qtvtkExample.C b/src/tools/examples/avtexamples/qtvtkExample.C
index 478e9842a9..41e19ff305 100644
--- a/src/tools/examples/avtexamples/qtvtkExample.C
+++ b/src/tools/examples/avtexamples/qtvtkExample.C
@@ -5,6 +5,7 @@
 #include <GUIWindow2.h>
 
 #include <QApplication>
+#include <QSurfaceFormat>
 
 #include <visit-config.h> // For LIB_VERSION_LE
 #if LIB_VERSION_LE(VTK,8,1,0)
diff --git a/src/tools/examples/avtexamples/qvtkopenglExample.C b/src/tools/examples/avtexamples/qvtkopenglExample.C
index f25cad6ed2..180c760fca 100644
--- a/src/tools/examples/avtexamples/qvtkopenglExample.C
+++ b/src/tools/examples/avtexamples/qvtkopenglExample.C
@@ -5,6 +5,7 @@
 #include <GUIWindow.h>
 
 #include <QApplication>
+#include <QSurfaceFormat>
 
 #include <visit-config.h> // For LIB_VERSION_LE
 #if LIB_VERSION_LE(VTK, 8,1,0)
diff --git a/src/tools/examples/mcurvit/main.C b/src/tools/examples/mcurvit/main.C
index bc5a54ed73..e877cc0099 100644
--- a/src/tools/examples/mcurvit/main.C
+++ b/src/tools/examples/mcurvit/main.C
@@ -4,6 +4,7 @@
 
 #include <QApplication>
 #include <QDir>
+#include <QSurfaceFormat>
 
 #include <visit-config.h> // For LIB_VERSION_LE
 #if LIB_VERSION_LE(VTK, 8,1,0)
diff --git a/src/viewer/main/viewer.C b/src/viewer/main/viewer.C
index ea7e1f3768..7b0b209f46 100644
--- a/src/viewer/main/viewer.C
+++ b/src/viewer/main/viewer.C
@@ -12,6 +12,7 @@
 
 #include <qapplication.h>
 #include <QStringList>
+#include <QSurfaceFormat>
 
 #include <VisItViewer.h>
 #include <AppearanceAttributes.h>
-- 
2.43.0