projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e400726
)
qmlglsink: fix compilation with Qt >= 5.5 on Windows
author
Benjamin Sigonneau
<b.sigonneau@mediadone.fr>
Thu, 18 Apr 2019 15:14:18 +0000
(17:14 +0200)
committer
Benjamin Sigonneau
<b.sigonneau@mediadone.fr>
Thu, 18 Apr 2019 15:14:18 +0000
(17:14 +0200)
As of Qt >= 5.5, qmake do not link to opengl32 by default anymore. This commit adds opengl32.lib to the .pro
file so that the plugin can be build using QtCreator on Windows.
ext/qt/qtplugin.pro
patch
|
blob
|
history
diff --git
a/ext/qt/qtplugin.pro
b/ext/qt/qtplugin.pro
index c84e46535d2aa527937681302f5f9d92dd6f8dd0..a4a63d5c03303e489a11fc7d3cd1568231f87505 100644
(file)
--- a/
ext/qt/qtplugin.pro
+++ b/
ext/qt/qtplugin.pro
@@
-21,6
+21,8
@@
android:DEFINES += HAVE_QT_ANDROID
win32:DEFINES += HAVE_QT_WIN32
macx:DEFINES += HAVE_QT_MAC
+versionAtLeast(QT_VERSION, "5.5"):win32-msvc: LIBS += opengl32.lib
+
SOURCES += \
gstplugin.cc \
gstqtglutility.cc \