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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
diff --git a/mythplugins/mytharchive/mytharchive/mytharchive.pro b/mythplugins/mytharchive/mytharchive/mytharchive.pro
index bf7f717..d20e0f7 100644
--- mythplugins/mytharchive/mytharchive/mytharchive.pro
+++ mythplugins/mytharchive/mytharchive/mytharchive.pro
@@ -14,7 +14,7 @@ LIBS += -lmythavcodec-$$LIBVERSION
LIBS += -lmythavformat-$$LIBVERSION
LIBS += -lmythswscale-$$LIBVERSION
-TEMPLATE = lib opengl
+TEMPLATE = lib
CONFIG += plugin thread
TARGET = mytharchive
target.path = $${LIBDIR}/mythtv/plugins
@@ -61,6 +61,7 @@ INSTALLS += profilefiles burnuifiles
INSTALLS += nativeuifiles
#The following line was inserted by qt3to4
-QT += xml sql opengl
+QT += xml sql
+using_opengl:QT += opengl
include ( ../../libs-targetfix.pro )
diff --git a/mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.pro b/mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.pro
index ae073c1..90e413e 100644
--- mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.pro
+++ mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.pro
@@ -9,7 +9,8 @@ INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/libswscale
DEPENDPATH *= $${INCLUDEPATH}
TEMPLATE = app
-CONFIG += thread opengl
+CONFIG += thread
+using_opengl:CONFIG += opengl
target.path = $${PREFIX}/bin
@@ -27,4 +28,5 @@ LIBS += -lmythavcodec-$$LIBVERSION
LIBS += -lmythavformat-$$LIBVERSION
LIBS += -lmythswscale-$$LIBVERSION
-QT += xml sql opengl
+QT += xml sql
+using_opengl:QT += opengl
diff --git a/mythplugins/mythbrowser/mythbrowser/mythbrowser.pro b/mythplugins/mythbrowser/mythbrowser/mythbrowser.pro
index 98a8a9d..f689c0c 100644
--- mythplugins/mythbrowser/mythbrowser/mythbrowser.pro
+++ mythplugins/mythbrowser/mythbrowser/mythbrowser.pro
@@ -2,10 +2,12 @@ include (../../mythconfig.mak )
include (../../settings.pro )
include (../../programs-libs.pro )
-QT += network xml sql opengl webkit
+QT += network xml sql webkit
+using_opengl:QT += opengl
TEMPLATE = lib
-CONFIG += thread opengl plugin warn_on
+CONFIG += thread plugin warn_on
+using_opengl:CONFIG += opengl
TARGET = mythbrowser
target.path = $${LIBDIR}/mythtv/plugins
INSTALLS += target
diff --git a/mythplugins/mythflix/mythflix/mythflix.pro b/mythplugins/mythflix/mythflix/mythflix.pro
index 5ffa22e..4359f77 100644
--- mythplugins/mythflix/mythflix/mythflix.pro
+++ mythplugins/mythflix/mythflix/mythflix.pro
@@ -25,6 +25,7 @@ SOURCES += newsengine.cpp dbcheck.cpp flixutil.cpp
#The following line was inserted by qt3to4
-QT += network xml sql opengl qt3support
+QT += network xml sql qt3support
+using_opengl:QT += opengl
include ( ../../libs-targetfix.pro )
diff --git a/mythplugins/mythgallery/mythgallery/mythgallery.pro b/mythplugins/mythgallery/mythgallery/mythgallery.pro
index cf8219a..4542477 100644
--- mythplugins/mythgallery/mythgallery/mythgallery.pro
+++ mythplugins/mythgallery/mythgallery/mythgallery.pro
@@ -37,6 +37,7 @@ opengl {
#The following line was inserted by qt3to4
-QT += network opengl sql xml
+QT += network sql xml
+using_opengl:QT += opengl
include ( ../../libs-targetfix.pro )
diff --git a/mythplugins/mythgame/mythgame/mythgame.pro b/mythplugins/mythgame/mythgame/mythgame.pro
index b1f371a..39e7847 100644
--- mythplugins/mythgame/mythgame/mythgame.pro
+++ mythplugins/mythgame/mythgame/mythgame.pro
@@ -23,6 +23,7 @@ use_hidesyms {
LIBS += -lz
#The following line was inserted by qt3to4
-QT += xml sql opengl qt3support
+QT += xml sql qt3support
+using_opengl:QT += opengl
include ( ../../libs-targetfix.pro )
diff --git a/mythplugins/mythmusic/mythmusic/mythmusic.pro b/mythplugins/mythmusic/mythmusic/mythmusic.pro
index 177a5bc..1153405 100644
--- mythplugins/mythmusic/mythmusic/mythmusic.pro
+++ mythplugins/mythmusic/mythmusic/mythmusic.pro
@@ -3,7 +3,8 @@ include ( ../../settings.pro )
include ( ../../programs-libs.pro )
include (config.pro)
-QT += xml sql opengl qt3support network
+QT += xml sql qt3support network
+using_opengl:QT += opengl
!exists( config.pro ) {
error(Missing config.pro: please run the configure script)
diff --git a/mythplugins/mythvideo/mtd/mtd.pro b/mythplugins/mythvideo/mtd/mtd.pro
index 7c3c357..d63d170 100644
--- mythplugins/mythvideo/mtd/mtd.pro
+++ mythplugins/mythvideo/mtd/mtd.pro
@@ -5,7 +5,8 @@ include ( ../../programs-libs.pro )
QT += sql xml network
TEMPLATE = app
-CONFIG += thread opengl
+CONFIG += thread
+using_opengl:CONFIG += opengl
TARGET = mtd
target.path = $${PREFIX}/bin
INSTALLS += target
|