diff options
author | Benjamin Sigonneau <b.sigonneau@mediadone.fr> | 2019-04-18 17:14:18 +0200 |
---|---|---|
committer | Benjamin Sigonneau <b.sigonneau@mediadone.fr> | 2019-04-18 17:14:18 +0200 |
commit | 0375e532250ef08f7e4f24debb3d448c7632abcc (patch) | |
tree | 56c75ca661c86e947e561b35df3d55d3b677b07a | |
parent | e40072630c9014bed224f0e4dadba09d1e1ccfbf (diff) | |
download | gstreamer-plugins-good-0375e532250ef08f7e4f24debb3d448c7632abcc.tar.gz |
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.
-rw-r--r-- | ext/qt/qtplugin.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/qt/qtplugin.pro b/ext/qt/qtplugin.pro index c84e46535..a4a63d5c0 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 \ |