From: Benjamin Sigonneau Date: Thu, 18 Apr 2019 15:14:18 +0000 (+0200) Subject: qmlglsink: fix compilation with Qt >= 5.5 on Windows X-Git-Tag: 1.19.3~509^2~1066 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0375e532250ef08f7e4f24debb3d448c7632abcc;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/ext/qt/qtplugin.pro b/ext/qt/qtplugin.pro index c84e465..a4a63d5 100644 --- 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 \