qmlglsink: fix compilation with Qt >= 5.5 on Windows

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.
This commit is contained in:
Benjamin Sigonneau 2019-04-18 17:14:18 +02:00
parent e40072630c
commit 0375e53225

View file

@ -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 \